Components audit
Contents
This application
How to use this information
This page shows information about component use on GOV.UK. This information has been cross referenced with the components in the gem to produce warnings where e.g. JavaScript for a component exists but has not been included in an application.
Warnings should be investigated, although there may be a reason why the application has been configured as it is. Note that 'code' can refer to templates or ruby code.
More information about this application is available by viewing the component guide from a locally running instance of govuk_publishing_components.
Components used
- In templates (32)
- accordion, action link, big number, breadcrumbs, cards, contents list, details, document list, error message, govspeak, heading, hint, image card, input, intervention, inverse header, label, lead paragraph, list, machine readable metadata, meta tags, metadata, notice, organisation logo, phase banner, related navigation, share links, signup link, step by step nav, subscription links, title, translation nav
- In stylesheets (0)
- Uses per page component asset loading
- In javascripts (7)
- accordion, details, govspeak, image card, intervention, metadata, step by step nav
- In ruby (1)
- govspeak
Component references (2)
This shows instances of `gem-c-` classes found in the application. This could be a style override or hard coded component markup, which is a violation of our principle of component isolation.
Application components (2)
This is a list of components found in this application. Note that some components may appear to be missing files due to inconsistencies in directory structure and naming conventions.
Component | Template 2 | CSS 2 | Print styles 0 | JS 0 | Test 2 | JS test 0 | Helper 2 |
---|---|---|---|---|---|---|---|
document navigation list | 73 lines of code in document navigation list template | 20 lines of code in document navigation list stylesheet | 139 lines of code in document navigation list test | 44 lines of code in document navigation list helper | |||
taxon list | 41 lines of code in taxon list template | 15 lines of code in taxon list stylesheet | 94 lines of code in taxon list test | 18 lines of code in taxon list helper |
- attachment
- details
- character count
- error message, hint, label, textarea
- contextual breadcrumbs
- breadcrumbs, step by step nav header
- contextual footer
- related navigation
- contextual sidebar
- related navigation, step by step nav, step by step nav related
- cookie banner
- button
- copy to clipboard
- button, error message, hint, input, label
- date input
- error message, fieldset, hint, input, label
- feedback
- button, error message, hint, input, label, textarea
- fieldset
- error message
- file upload
- error message, hint, label
- govspeak html publication
- govspeak
- input
- error message, hint, label
- label
- hint
- layout for public
- button, cookie banner, cross service header, error message, feedback, hint, input, label, layout footer, layout header, layout super navigation header, phase banner, search, skip link, textarea
- layout header
- search
- notice
- govspeak
- option select
- checkboxes
- radio
- error message, hint, label
- reorderable list
- button, error message, hint, input, label
- select
- error message, hint
- subscription links
- error message, hint, input, label
- table
- error message, hint, input, label
- textarea
- error message, hint, label
- Brand helper
-
Used by 8 components
- Shared helper
-
Used by 37 components
- accordion
- action link
- attachment
- big number
- button
- cards
- contextual sidebar
- details
- devolved nations
- document list
- fieldset
- file upload
- heading
- hint
- image card
- input
- inset text
- label
- lead paragraph
- list
- metadata
- notice
- panel
- print link
- radio
- related navigation
- search
- select
- signup link
- single page notification button
- step by step nav header
- subscription links
- success alert
- summary list
- textarea
- title
- warning text