Numbers in table headers show column totals. Numbers in table cells show number of lines in files. Note that component test files cannot currently be detected in applications that use minitest instead of Rspec.
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 (49)
- action link, big number, breadcrumbs, button, cards, chart, contents list, contextual breadcrumbs, contextual footer, contextual sidebar, details, document list, error message, error summary, govspeak, heading, hint, image card, input, inset text, intervention, inverse header, label, lead paragraph, list, machine readable metadata, meta tags, metadata, notice, organisation logo, panel, phase banner, radio, related navigation, search, select, share links, skip link, step by step nav, step by step nav header, step by step nav related, subscription links, success alert, summary list, table, tabs, title, translation nav, warning text
- In stylesheets (0)
- Uses per page component asset loading
- In javascripts (9)
- chart, error summary, govspeak, image card, intervention, radio, step by step nav, table, tabs
- In ruby (0)
- None
Component references (4)
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.
- app/assets/stylesheets/application.scss
- app/assets/stylesheets/views/_homepage.scss
- app/assets/stylesheets/views/_landing_page.scss
- app/assets/stylesheets/views/_popular_links.scss
Application components (4)
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.
Numbers in table headers show column totals. Numbers in table cells show number of lines in files. Note that component test files cannot currently be detected in applications that use minitest instead of Rspec.
Component | Template 4 | CSS 4 | Print CSS 1 | JS 0 | JS test 0 | GF CSS 0 | GF JS 0 | Test 4 | Helper 1 |
---|---|---|---|---|---|---|---|---|---|
calendar | 29 lines of code in calendar template | 27 lines of code in calendar stylesheet | 47 lines of code in calendar test | 15 lines of code in calendar helper | |||||
figure | 25 lines of code in figure template | 47 lines of code in figure stylesheet | 47 lines of code in figure test | ||||||
published dates | 46 lines of code in published dates template | 53 lines of code in published dates stylesheet | Yes | 112 lines of code in published dates test | |||||
subscribe | 9 lines of code in subscribe template | 20 lines of code in subscribe stylesheet | 34 lines of code in subscribe test |
- attachment
- details
- character count
- error message, hint, label, textarea
- chart
- details, heading, skip link
- 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, 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, label, layout footer, layout header, layout super navigation header, phase banner, search, skip link, textarea
- layout header
- search
- metadata
- heading
- notice
- govspeak
- option select
- checkboxes
- password input
- hint, label
- radio
- error message, hint, label
- reorderable list
- button, error message, hint, input, label
- search with autocomplete
- search
- 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 7 components
- Component wrapper helper
-
Used by 33 components
- accordion
- action link
- back link
- breadcrumbs
- cards
- chart
- chat entry
- checkboxes
- contents list
- contextual guidance
- cookie banner
- details
- devolved nations
- document list
- emergency banner
- error alert
- error message
- error summary
- feedback
- govspeak
- heading
- hint
- image card
- inset text
- inverse header
- layout footer
- layout header
- option select
- password input
- radio
- secondary navigation
- single page notification button
- tabs
- Shared helper
-
Used by 42 components
- accordion
- action link
- attachment
- big number
- button
- cards
- chart
- chat entry
- contents list
- contextual sidebar
- details
- devolved nations
- document list
- fieldset
- file upload
- govspeak
- heading
- hint
- image card
- input
- inset text
- label
- lead paragraph
- list
- metadata
- notice
- panel
- password input
- 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