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 (38)
attachment, attachment link, breadcrumbs, button, checkboxes, contextual guidance, copy to clipboard, date input, details, document list, error alert, error message, error summary, fieldset, file upload, google tag manager script, govspeak, hint, input, inset text, label, layout footer, layout for admin, layout header, modal dialogue, notice, panel, phase banner, previous and next navigation, radio, reorderable list, search, skip link, success alert, summary list, tabs, textarea, warning text
In stylesheets (1)
all
In javascripts (1)
all
In ruby (3)
back link, button, govspeak

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.

Application components (19)

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 18 CSS 19 Print CSS 0 JS 8 JS test 0 GF CSS 0 GF JS 0 Test 0 Helper 0
attachment meta 42 lines of code in attachment meta template 19 lines of code in attachment meta stylesheet
autocomplete 67 lines of code in autocomplete template 125 lines of code in autocomplete stylesheet 224 lines of code in autocomplete javascript
contact preview 18 lines of code in contact preview template 31 lines of code in contact preview stylesheet 95 lines of code in contact preview javascript
formatted text 4 lines of code in formatted text template 6 lines of code in formatted text stylesheet
image cropper 41 lines of code in image cropper template 95 lines of code in image cropper stylesheet 120 lines of code in image cropper javascript
image with metadata 28 lines of code in image with metadata template 21 lines of code in image with metadata stylesheet
input length suggester 13 lines of code in input length suggester template 7 lines of code in input length suggester stylesheet 58 lines of code in input length suggester javascript
inset prompt 34 lines of code in inset prompt template 61 lines of code in inset prompt stylesheet
loading spinner 7 lines of code in loading spinner template 105 lines of code in loading spinner stylesheet
markdown editor 133 lines of code in markdown editor template 144 lines of code in markdown editor stylesheet 186 lines of code in markdown editor javascript
markdown guidance 108 lines of code in markdown guidance template 57 lines of code in markdown guidance stylesheet
media with actions 31 lines of code in media with actions stylesheet
metadata 19 lines of code in metadata template 29 lines of code in metadata stylesheet
multi section viewer 19 lines of code in multi section viewer template 3 lines of code in multi section viewer stylesheet 48 lines of code in multi section viewer javascript
page preview 65 lines of code in page preview template 81 lines of code in page preview stylesheet
secondary navigation 19 lines of code in secondary navigation template 94 lines of code in secondary navigation stylesheet
side navigation 18 lines of code in side navigation template 25 lines of code in side navigation stylesheet
toolbar dropdown 38 lines of code in toolbar dropdown template 131 lines of code in toolbar dropdown stylesheet 70 lines of code in toolbar dropdown javascript
url preview 17 lines of code in url preview template 30 lines of code in url preview stylesheet 71 lines of code in url preview javascript

Component files

Lists what files each component has

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 CSS Print CSS JS JS test GF CSS GF JS Test Helper
accordion govuk_publishing_components 94 lines of code in accordion template 57 lines of code in accordion stylesheet Yes 106 lines of code in accordion javascript Yes Yes 38 lines of code in accordion helper
action link govuk_publishing_components 74 lines of code in action link template 199 lines of code in action link stylesheet Yes
attachment govuk_publishing_components 133 lines of code in attachment template 106 lines of code in attachment stylesheet Yes 200 lines of code in attachment helper
attachment link govuk_publishing_components 40 lines of code in attachment link template 19 lines of code in attachment link stylesheet Yes
attachment meta content-publisher 42 lines of code in attachment meta template 19 lines of code in attachment meta stylesheet
autocomplete content-publisher 67 lines of code in autocomplete template 125 lines of code in autocomplete stylesheet 224 lines of code in autocomplete javascript
back link govuk_publishing_components 22 lines of code in back link template 2 lines of code in back link stylesheet Yes
big number govuk_publishing_components 47 lines of code in big number template 60 lines of code in big number stylesheet 30 lines of code in big number helper
breadcrumbs govuk_publishing_components 44 lines of code in breadcrumbs template 76 lines of code in breadcrumbs stylesheet Yes Yes 75 lines of code in breadcrumbs helper
button govuk_publishing_components 36 lines of code in button template 114 lines of code in button stylesheet Yes 5 lines of code in button javascript Yes Yes 140 lines of code in button helper
cards govuk_publishing_components 53 lines of code in cards template 196 lines of code in cards stylesheet Yes
character count govuk_publishing_components 28 lines of code in character count template 2 lines of code in character count stylesheet 5 lines of code in character count javascript Yes Yes
chat entry govuk_publishing_components 58 lines of code in chat entry template 36 lines of code in chat entry stylesheet
checkboxes govuk_publishing_components 66 lines of code in checkboxes template 24 lines of code in checkboxes stylesheet 68 lines of code in checkboxes javascript Yes Yes 105 lines of code in checkboxes helper
contact preview content-publisher 18 lines of code in contact preview template 31 lines of code in contact preview stylesheet 95 lines of code in contact preview javascript
contents list govuk_publishing_components 83 lines of code in contents list template 97 lines of code in contents list stylesheet Yes 78 lines of code in contents list helper
contextual breadcrumbs govuk_publishing_components 20 lines of code in contextual breadcrumbs template
contextual footer govuk_publishing_components 12 lines of code in contextual footer template
contextual guidance govuk_publishing_components 28 lines of code in contextual guidance template 49 lines of code in contextual guidance stylesheet 31 lines of code in contextual guidance javascript
contextual sidebar govuk_publishing_components 40 lines of code in contextual sidebar template 49 lines of code in contextual sidebar stylesheet
cookie banner govuk_publishing_components 103 lines of code in cookie banner template 24 lines of code in cookie banner stylesheet Yes 141 lines of code in cookie banner javascript Yes
copy to clipboard govuk_publishing_components 21 lines of code in copy to clipboard template 1 lines of code in copy to clipboard stylesheet 26 lines of code in copy to clipboard javascript
cross service header govuk_publishing_components 19 lines of code in cross service header template 469 lines of code in cross service header stylesheet Yes 78 lines of code in cross service header javascript
date input govuk_publishing_components 86 lines of code in date input template 16 lines of code in date input stylesheet Yes
details govuk_publishing_components 42 lines of code in details template 2 lines of code in details stylesheet Yes
devolved nations govuk_publishing_components 39 lines of code in devolved nations template 35 lines of code in devolved nations stylesheet Yes 53 lines of code in devolved nations helper
document list govuk_publishing_components 141 lines of code in document list template 182 lines of code in document list stylesheet Yes
emergency banner govuk_publishing_components 68 lines of code in emergency banner template 84 lines of code in emergency banner stylesheet Yes 17 lines of code in emergency banner helper
error alert govuk_publishing_components 16 lines of code in error alert template 38 lines of code in error alert stylesheet
error message govuk_publishing_components 18 lines of code in error message template 2 lines of code in error message stylesheet Yes
error summary govuk_publishing_components 49 lines of code in error summary template 7 lines of code in error summary stylesheet 5 lines of code in error summary javascript Yes Yes
feedback govuk_publishing_components 22 lines of code in feedback template 260 lines of code in feedback stylesheet 226 lines of code in feedback javascript
fieldset govuk_publishing_components 50 lines of code in fieldset template 2 lines of code in fieldset stylesheet Yes
file upload govuk_publishing_components 78 lines of code in file upload template 2 lines of code in file upload stylesheet Yes
formatted text content-publisher 4 lines of code in formatted text template 6 lines of code in formatted text stylesheet
google tag manager script govuk_publishing_components 17 lines of code in google tag manager script template
govspeak govuk_publishing_components 39 lines of code in govspeak template 120 lines of code in govspeak stylesheet Yes 28 lines of code in govspeak javascript
govspeak html publication govuk_publishing_components 13 lines of code in govspeak html publication template 151 lines of code in govspeak html publication stylesheet Yes
heading govuk_publishing_components 24 lines of code in heading template 63 lines of code in heading stylesheet Yes 38 lines of code in heading helper
hint govuk_publishing_components 17 lines of code in hint template 2 lines of code in hint stylesheet Yes
image card govuk_publishing_components 78 lines of code in image card template 368 lines of code in image card stylesheet Yes 19 lines of code in image card javascript 147 lines of code in image card helper
image cropper content-publisher 41 lines of code in image cropper template 95 lines of code in image cropper stylesheet 120 lines of code in image cropper javascript
image with metadata content-publisher 28 lines of code in image with metadata template 21 lines of code in image with metadata stylesheet
input govuk_publishing_components 148 lines of code in input template 30 lines of code in input stylesheet Yes
input length suggester content-publisher 13 lines of code in input length suggester template 7 lines of code in input length suggester stylesheet 58 lines of code in input length suggester javascript
inset prompt content-publisher 34 lines of code in inset prompt template 61 lines of code in inset prompt stylesheet
inset text govuk_publishing_components 23 lines of code in inset text template 25 lines of code in inset text stylesheet Yes Yes
intervention govuk_publishing_components 90 lines of code in intervention template 52 lines of code in intervention stylesheet Yes 69 lines of code in intervention javascript 50 lines of code in intervention helper
inverse header govuk_publishing_components 13 lines of code in inverse header template 43 lines of code in inverse header stylesheet Yes
label govuk_publishing_components 35 lines of code in label template 2 lines of code in label stylesheet Yes
layout footer govuk_publishing_components 136 lines of code in layout footer template 59 lines of code in layout footer stylesheet Yes Yes 35 lines of code in layout footer helper
layout for admin govuk_publishing_components 38 lines of code in layout for admin template 1 lines of code in layout for admin stylesheet
layout for public govuk_publishing_components 190 lines of code in layout for public template 60 lines of code in layout for public stylesheet
layout header govuk_publishing_components 65 lines of code in layout header template 189 lines of code in layout header stylesheet Yes 5 lines of code in layout header javascript Yes Yes
layout super navigation header govuk_publishing_components 341 lines of code in layout super navigation header template 1017 lines of code in layout super navigation header stylesheet Yes 226 lines of code in layout super navigation header javascript
lead paragraph govuk_publishing_components 16 lines of code in lead paragraph template 20 lines of code in lead paragraph stylesheet Yes
list govuk_publishing_components 31 lines of code in list template
loading spinner content-publisher 7 lines of code in loading spinner template 105 lines of code in loading spinner stylesheet
machine readable metadata govuk_publishing_components 32 lines of code in machine readable metadata template
markdown editor content-publisher 133 lines of code in markdown editor template 144 lines of code in markdown editor stylesheet 186 lines of code in markdown editor javascript
markdown guidance content-publisher 108 lines of code in markdown guidance template 57 lines of code in markdown guidance stylesheet
media with actions content-publisher 31 lines of code in media with actions stylesheet
meta tags govuk_publishing_components 5 lines of code in meta tags template
metadata govuk_publishing_components 90 lines of code in metadata template 112 lines of code in metadata stylesheet Yes 27 lines of code in metadata javascript
metadata content-publisher 19 lines of code in metadata template 29 lines of code in metadata stylesheet
modal dialogue govuk_publishing_components 23 lines of code in modal dialogue template 150 lines of code in modal dialogue stylesheet 108 lines of code in modal dialogue javascript
multi section viewer content-publisher 19 lines of code in multi section viewer template 3 lines of code in multi section viewer stylesheet 48 lines of code in multi section viewer javascript
notice govuk_publishing_components 51 lines of code in notice template 25 lines of code in notice stylesheet Yes
option select govuk_publishing_components 74 lines of code in option select template 172 lines of code in option select stylesheet 319 lines of code in option select javascript
organisation logo govuk_publishing_components 39 lines of code in organisation logo template 154 lines of code in organisation logo stylesheet Yes 36 lines of code in organisation logo helper
page preview content-publisher 65 lines of code in page preview template 81 lines of code in page preview stylesheet
panel govuk_publishing_components 32 lines of code in panel template 21 lines of code in panel stylesheet Yes
password input govuk_publishing_components 93 lines of code in password input template 2 lines of code in password input stylesheet 5 lines of code in password input javascript Yes Yes
phase banner govuk_publishing_components 43 lines of code in phase banner template 49 lines of code in phase banner stylesheet Yes Yes
previous and next navigation govuk_publishing_components 77 lines of code in previous and next navigation template 10 lines of code in previous and next navigation stylesheet Yes Yes
print link govuk_publishing_components 44 lines of code in print link template 56 lines of code in print link stylesheet 16 lines of code in print link javascript
radio govuk_publishing_components 136 lines of code in radio template 6 lines of code in radio stylesheet 5 lines of code in radio javascript Yes Yes
related navigation govuk_publishing_components 48 lines of code in related navigation template 112 lines of code in related navigation stylesheet 211 lines of code in related navigation helper
reorderable list govuk_publishing_components 47 lines of code in reorderable list template 118 lines of code in reorderable list stylesheet 108 lines of code in reorderable list javascript
search govuk_publishing_components 85 lines of code in search template 321 lines of code in search stylesheet
secondary navigation govuk_publishing_components 29 lines of code in secondary navigation template 94 lines of code in secondary navigation stylesheet
secondary navigation content-publisher 19 lines of code in secondary navigation template 94 lines of code in secondary navigation stylesheet
select govuk_publishing_components 41 lines of code in select template 7 lines of code in select stylesheet Yes 81 lines of code in select helper
share links govuk_publishing_components 118 lines of code in share links template 85 lines of code in share links stylesheet
side navigation content-publisher 18 lines of code in side navigation template 25 lines of code in side navigation stylesheet
signup link govuk_publishing_components 32 lines of code in signup link template 36 lines of code in signup link stylesheet
single page notification button govuk_publishing_components 36 lines of code in single page notification button template 40 lines of code in single page notification button stylesheet 71 lines of code in single page notification button javascript 83 lines of code in single page notification button helper
skip link govuk_publishing_components 7 lines of code in skip link template 2 lines of code in skip link stylesheet 5 lines of code in skip link javascript Yes Yes
step by step nav govuk_publishing_components 119 lines of code in step by step nav template 546 lines of code in step by step nav stylesheet Yes 467 lines of code in step by step nav javascript 125 lines of code in step by step nav helper
step by step nav header govuk_publishing_components 51 lines of code in step by step nav header template 48 lines of code in step by step nav header stylesheet Yes
step by step nav related govuk_publishing_components 60 lines of code in step by step nav related template 70 lines of code in step by step nav related stylesheet Yes
subscription links govuk_publishing_components 80 lines of code in subscription links template 131 lines of code in subscription links stylesheet 48 lines of code in subscription links helper
success alert govuk_publishing_components 31 lines of code in success alert template 28 lines of code in success alert stylesheet Yes Yes
summary card govuk_publishing_components 62 lines of code in summary card template 16 lines of code in summary card stylesheet Yes
summary list govuk_publishing_components 137 lines of code in summary list template 53 lines of code in summary list stylesheet Yes
table govuk_publishing_components 80 lines of code in table template 167 lines of code in table stylesheet Yes 52 lines of code in table javascript Yes
tabs govuk_publishing_components 74 lines of code in tabs template 65 lines of code in tabs stylesheet Yes 5 lines of code in tabs javascript Yes Yes
textarea govuk_publishing_components 83 lines of code in textarea template 28 lines of code in textarea stylesheet Yes Yes
title govuk_publishing_components 42 lines of code in title template 50 lines of code in title stylesheet Yes
toolbar dropdown content-publisher 38 lines of code in toolbar dropdown template 131 lines of code in toolbar dropdown stylesheet 70 lines of code in toolbar dropdown javascript
translation nav govuk_publishing_components 31 lines of code in translation nav template 55 lines of code in translation nav stylesheet 33 lines of code in translation nav helper
url preview content-publisher 17 lines of code in url preview template 30 lines of code in url preview stylesheet 71 lines of code in url preview javascript
warning text govuk_publishing_components 36 lines of code in warning text template 34 lines of code in warning text stylesheet Yes Yes

Components containing other components

Shows which components contain other components
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, label, textarea
fieldset
error message
file upload
error message, hint, label
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
notice
govspeak
option select
checkboxes
password input
hint, label
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