govuk_publishing_components 23.3.0 → 23.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/components/copy-to-clipboard.js +16 -14
  3. data/app/assets/javascripts/govuk_publishing_components/components/details.js +38 -34
  4. data/app/assets/javascripts/govuk_publishing_components/components/print-link.js +8 -7
  5. data/app/assets/javascripts/govuk_publishing_components/lib/govspeak/magna-charta.js +10 -9
  6. data/app/assets/javascripts/govuk_publishing_components/lib/initial-focus.js +13 -0
  7. data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +1 -0
  8. data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-sidebar.scss +2 -0
  9. data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +1 -0
  10. data/app/assets/stylesheets/govuk_publishing_components/components/_input.scss +0 -46
  11. data/app/assets/stylesheets/govuk_publishing_components/components/_transition-countdown.scss +125 -0
  12. data/app/views/govuk_publishing_components/component_guide/show.html.erb +1 -2
  13. data/app/views/govuk_publishing_components/components/_attachment.html.erb +5 -4
  14. data/app/views/govuk_publishing_components/components/_contextual_sidebar.html.erb +14 -1
  15. data/app/views/govuk_publishing_components/components/_input.html.erb +6 -6
  16. data/app/views/govuk_publishing_components/components/_transition_countdown.html.erb +34 -0
  17. data/app/views/govuk_publishing_components/components/contextual_sidebar/_brexit_cta.html.erb +5 -3
  18. data/app/views/govuk_publishing_components/components/docs/attachment.yml +10 -0
  19. data/app/views/govuk_publishing_components/components/docs/contextual_sidebar.yml +0 -1
  20. data/app/views/govuk_publishing_components/components/docs/govspeak.yml +55 -0
  21. data/app/views/govuk_publishing_components/components/docs/transition_countdown.yml +17 -0
  22. data/config/locales/cy.yml +9 -1
  23. data/config/locales/en.yml +7 -0
  24. data/lib/govuk_publishing_components.rb +1 -0
  25. data/lib/govuk_publishing_components/app_helpers/countdown_helper.rb +33 -0
  26. data/lib/govuk_publishing_components/version.rb +1 -1
  27. data/node_modules/govuk-frontend/govuk/all.js +31 -37
  28. data/node_modules/govuk-frontend/govuk/components/accordion/README.md +1 -1
  29. data/node_modules/govuk-frontend/govuk/components/accordion/_index.scss +0 -1
  30. data/node_modules/govuk-frontend/govuk/components/accordion/fixtures.json +235 -0
  31. data/node_modules/govuk-frontend/govuk/components/back-link/_index.scss +0 -2
  32. data/node_modules/govuk-frontend/govuk/components/back-link/fixtures.json +56 -0
  33. data/node_modules/govuk-frontend/govuk/components/breadcrumbs/_index.scss +0 -1
  34. data/node_modules/govuk-frontend/govuk/components/breadcrumbs/fixtures.json +172 -0
  35. data/node_modules/govuk-frontend/govuk/components/button/_index.scss +3 -3
  36. data/node_modules/govuk-frontend/govuk/components/button/fixtures.json +275 -0
  37. data/node_modules/govuk-frontend/govuk/components/character-count/fixtures.json +170 -0
  38. data/node_modules/govuk-frontend/govuk/components/checkboxes/_index.scss +13 -13
  39. data/node_modules/govuk-frontend/govuk/components/checkboxes/fixtures.json +1015 -0
  40. data/node_modules/govuk-frontend/govuk/components/date-input/fixtures.json +499 -0
  41. data/node_modules/govuk-frontend/govuk/components/details/_index.scss +0 -1
  42. data/node_modules/govuk-frontend/govuk/components/details/fixtures.json +83 -0
  43. data/node_modules/govuk-frontend/govuk/components/error-message/fixtures.json +66 -0
  44. data/node_modules/govuk-frontend/govuk/components/error-summary/_index.scss +0 -2
  45. data/node_modules/govuk-frontend/govuk/components/error-summary/fixtures.json +181 -0
  46. data/node_modules/govuk-frontend/govuk/components/fieldset/_index.scss +1 -1
  47. data/node_modules/govuk-frontend/govuk/components/fieldset/fixtures.json +93 -0
  48. data/node_modules/govuk-frontend/govuk/components/fieldset/macro-options.json +6 -0
  49. data/node_modules/govuk-frontend/govuk/components/fieldset/template.njk +5 -1
  50. data/node_modules/govuk-frontend/govuk/components/file-upload/fixtures.json +151 -0
  51. data/node_modules/govuk-frontend/govuk/components/footer/_index.scss +0 -1
  52. data/node_modules/govuk-frontend/govuk/components/footer/fixtures.json +482 -0
  53. data/node_modules/govuk-frontend/govuk/components/header/_index.scss +2 -5
  54. data/node_modules/govuk-frontend/govuk/components/header/fixtures.json +360 -0
  55. data/node_modules/govuk-frontend/govuk/components/header/header.js +665 -316
  56. data/node_modules/govuk-frontend/govuk/components/header/macro-options.json +13 -1
  57. data/node_modules/govuk-frontend/govuk/components/header/template.njk +9 -5
  58. data/node_modules/govuk-frontend/govuk/components/hint/_index.scss +0 -2
  59. data/node_modules/govuk-frontend/govuk/components/hint/fixtures.json +50 -0
  60. data/node_modules/govuk-frontend/govuk/components/hint/macro-options.json +1 -1
  61. data/node_modules/govuk-frontend/govuk/components/input/_index.scss +91 -0
  62. data/node_modules/govuk-frontend/govuk/components/input/fixtures.json +538 -0
  63. data/node_modules/govuk-frontend/govuk/components/input/macro-options.json +64 -0
  64. data/node_modules/govuk-frontend/govuk/components/input/template.njk +17 -0
  65. data/node_modules/govuk-frontend/govuk/components/inset-text/fixtures.json +49 -0
  66. data/node_modules/govuk-frontend/govuk/components/label/fixtures.json +75 -0
  67. data/node_modules/govuk-frontend/govuk/components/panel/_index.scss +6 -2
  68. data/node_modules/govuk-frontend/govuk/components/panel/fixtures.json +74 -0
  69. data/node_modules/govuk-frontend/govuk/components/phase-banner/fixtures.json +65 -0
  70. data/node_modules/govuk-frontend/govuk/components/radios/_index.scss +13 -13
  71. data/node_modules/govuk-frontend/govuk/components/radios/fixtures.json +1066 -0
  72. data/node_modules/govuk-frontend/govuk/components/radios/macro-options.json +2 -2
  73. data/node_modules/govuk-frontend/govuk/components/select/_index.scss +0 -1
  74. data/node_modules/govuk-frontend/govuk/components/select/fixtures.json +248 -0
  75. data/node_modules/govuk-frontend/govuk/components/skip-link/fixtures.json +72 -0
  76. data/node_modules/govuk-frontend/govuk/components/summary-list/README.md +1 -1
  77. data/node_modules/govuk-frontend/govuk/components/summary-list/_index.scss +2 -10
  78. data/node_modules/govuk-frontend/govuk/components/summary-list/fixtures.json +991 -0
  79. data/node_modules/govuk-frontend/govuk/components/table/fixtures.json +468 -0
  80. data/node_modules/govuk-frontend/govuk/components/tabs/_index.scss +3 -6
  81. data/node_modules/govuk-frontend/govuk/components/tabs/fixtures.json +229 -0
  82. data/node_modules/govuk-frontend/govuk/components/tag/_index.scss +0 -1
  83. data/node_modules/govuk-frontend/govuk/components/tag/fixtures.json +117 -0
  84. data/node_modules/govuk-frontend/govuk/components/textarea/_index.scss +0 -1
  85. data/node_modules/govuk-frontend/govuk/components/textarea/fixtures.json +199 -0
  86. data/node_modules/govuk-frontend/govuk/components/warning-text/_index.scss +0 -1
  87. data/node_modules/govuk-frontend/govuk/components/warning-text/fixtures.json +68 -0
  88. data/node_modules/govuk-frontend/govuk/helpers/_device-pixels.scss +3 -3
  89. data/node_modules/govuk-frontend/govuk/helpers/_font-faces.scss +9 -11
  90. data/node_modules/govuk-frontend/govuk/helpers/_links.scss +1 -3
  91. data/node_modules/govuk-frontend/govuk/helpers/_media-queries.scss +1 -5
  92. data/node_modules/govuk-frontend/govuk/helpers/_spacing.scss +2 -1
  93. data/node_modules/govuk-frontend/govuk/helpers/_typography.scss +7 -6
  94. data/node_modules/govuk-frontend/govuk/objects/_form-group.scss +0 -1
  95. data/node_modules/govuk-frontend/govuk/objects/_grid.scss +2 -3
  96. data/node_modules/govuk-frontend/govuk/objects/_main-wrapper.scss +0 -1
  97. data/node_modules/govuk-frontend/govuk/overrides/_display.scss +1 -1
  98. data/node_modules/govuk-frontend/govuk/overrides/_width.scss +1 -0
  99. data/node_modules/govuk-frontend/govuk/settings/_colours-applied.scss +0 -3
  100. data/node_modules/govuk-frontend/govuk/settings/_colours-organisations.scss +3 -0
  101. data/node_modules/govuk-frontend/govuk/settings/_colours-palette.scss +9 -2
  102. data/node_modules/govuk-frontend/govuk/settings/_compatibility.scss +0 -1
  103. data/node_modules/govuk-frontend/govuk/settings/_measurements.scss +0 -4
  104. data/node_modules/govuk-frontend/govuk/settings/_typography-font-families.scss +2 -2
  105. data/node_modules/govuk-frontend/govuk/settings/_typography-font.scss +11 -5
  106. data/node_modules/govuk-frontend/govuk/settings/_typography-responsive.scss +6 -2
  107. data/node_modules/govuk-frontend/govuk/tools/_font-url.scss +0 -3
  108. data/node_modules/govuk-frontend/govuk/tools/_image-url.scss +0 -3
  109. data/node_modules/govuk-frontend/govuk/utilities/_visually-hidden.scss +0 -1
  110. data/node_modules/govuk-frontend/govuk/vendor/_sass-mq.scss +0 -4
  111. data/node_modules/govuk-frontend/package.json +1 -1
  112. metadata +36 -3
  113. data/app/assets/javascripts/govuk_publishing_components/components/initial-focus.js +0 -12
@@ -55,6 +55,12 @@
55
55
  "required": false,
56
56
  "description": "HTML attributes (for example data attributes) to add to the fieldset container."
57
57
  },
58
+ {
59
+ "name": "html",
60
+ "type": "string",
61
+ "required": false,
62
+ "description": "HTML to use/render within the fieldset element."
63
+ },
58
64
  {
59
65
  "name": "caller",
60
66
  "type": "nunjucks-block",
@@ -14,5 +14,9 @@
14
14
  {% endif %}
15
15
  </legend>
16
16
  {% endif %}
17
- {{ caller() if caller }} {#- if statement allows usage of `call` to be optional -#}
17
+ {% if caller %} {#- if statement allows usage of `call` to be optional -#}
18
+ {{ caller() }}
19
+ {% elseif params.html %}
20
+ {{ params.html | safe }}
21
+ {% endif %}
18
22
  </fieldset>
@@ -0,0 +1,151 @@
1
+ {
2
+ "component": "file-upload",
3
+ "fixtures": [
4
+ {
5
+ "name": "default",
6
+ "options": {
7
+ "id": "file-upload-1",
8
+ "name": "file-upload-1",
9
+ "label": {
10
+ "text": "Upload a file"
11
+ }
12
+ },
13
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"file-upload-1\">\n Upload a file\n </label>\n\n\n <input class=\"govuk-file-upload\" id=\"file-upload-1\" name=\"file-upload-1\" type=\"file\">\n</div>"
14
+ },
15
+ {
16
+ "name": "with hint text",
17
+ "options": {
18
+ "id": "file-upload-2",
19
+ "name": "file-upload-2",
20
+ "label": {
21
+ "text": "Upload your photo"
22
+ },
23
+ "hint": {
24
+ "text": "Your photo may be in your Pictures, Photos, Downloads or Desktop folder. Or in an app like iPhoto."
25
+ }
26
+ },
27
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"file-upload-2\">\n Upload your photo\n </label>\n\n \n \n <div id=\"file-upload-2-hint\" class=\"govuk-hint\">\n Your photo may be in your Pictures, Photos, Downloads or Desktop folder. Or in an app like iPhoto.\n </div>\n\n\n <input class=\"govuk-file-upload\" id=\"file-upload-2\" name=\"file-upload-2\" type=\"file\" aria-describedby=\"file-upload-2-hint\">\n</div>"
28
+ },
29
+ {
30
+ "name": "with error message and hint",
31
+ "options": {
32
+ "id": "file-upload-3",
33
+ "name": "file-upload-3",
34
+ "label": {
35
+ "text": "Upload a file"
36
+ },
37
+ "hint": {
38
+ "text": "Your photo may be in your Pictures, Photos, Downloads or Desktop folder. Or in an app like iPhoto."
39
+ },
40
+ "errorMessage": {
41
+ "text": "Error message goes here"
42
+ }
43
+ },
44
+ "html": "<div class=\"govuk-form-group govuk-form-group--error\">\n <label class=\"govuk-label\" for=\"file-upload-3\">\n Upload a file\n </label>\n\n \n \n <div id=\"file-upload-3-hint\" class=\"govuk-hint\">\n Your photo may be in your Pictures, Photos, Downloads or Desktop folder. Or in an app like iPhoto.\n </div>\n\n\n \n \n <span id=\"file-upload-3-error\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error:</span> Error message goes here\n </span>\n\n <input class=\"govuk-file-upload govuk-file-upload--error\" id=\"file-upload-3\" name=\"file-upload-3\" type=\"file\" aria-describedby=\"file-upload-3-hint file-upload-3-error\">\n</div>"
45
+ },
46
+ {
47
+ "name": "with value",
48
+ "options": {
49
+ "id": "file-upload-4",
50
+ "name": "file-upload-4",
51
+ "value": "C:\\fakepath\\myphoto.jpg",
52
+ "label": {
53
+ "text": "Upload a photo"
54
+ }
55
+ },
56
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"file-upload-4\">\n Upload a photo\n </label>\n\n\n <input class=\"govuk-file-upload\" id=\"file-upload-4\" name=\"file-upload-4\" type=\"file\" value=\"C:\\fakepath\\myphoto.jpg\">\n</div>"
57
+ },
58
+ {
59
+ "name": "with label as page heading",
60
+ "options": {
61
+ "id": "file-upload-1",
62
+ "name": "file-upload-1",
63
+ "label": {
64
+ "text": "Upload a file",
65
+ "isPageHeading": true
66
+ }
67
+ },
68
+ "html": "<div class=\"govuk-form-group\">\n <h1 class=\"govuk-label-wrapper\">\n <label class=\"govuk-label\" for=\"file-upload-1\">\n Upload a file\n </label>\n </h1>\n\n\n <input class=\"govuk-file-upload\" id=\"file-upload-1\" name=\"file-upload-1\" type=\"file\">\n</div>"
69
+ },
70
+ {
71
+ "name": "with optional form-group classes",
72
+ "options": {
73
+ "id": "file-upload-1",
74
+ "name": "file-upload-1",
75
+ "label": {
76
+ "text": "Upload a file"
77
+ },
78
+ "formGroup": {
79
+ "classes": "extra-class"
80
+ }
81
+ },
82
+ "html": "<div class=\"govuk-form-group extra-class\">\n <label class=\"govuk-label\" for=\"file-upload-1\">\n Upload a file\n </label>\n\n\n <input class=\"govuk-file-upload\" id=\"file-upload-1\" name=\"file-upload-1\" type=\"file\">\n</div>"
83
+ },
84
+ {
85
+ "name": "attributes",
86
+ "options": {
87
+ "attributes": {
88
+ "accept": ".jpg, .jpeg, .png"
89
+ }
90
+ },
91
+ "html": "<div class=\"govuk-form-group\">\n \n\n\n <input class=\"govuk-file-upload\" id=\"\" name=\"\" type=\"file\" accept=\".jpg, .jpeg, .png\">\n</div>"
92
+ },
93
+ {
94
+ "name": "classes",
95
+ "options": {
96
+ "classes": "app-file-upload--custom-modifier"
97
+ },
98
+ "html": "<div class=\"govuk-form-group\">\n \n\n\n <input class=\"govuk-file-upload app-file-upload--custom-modifier\" id=\"\" name=\"\" type=\"file\">\n</div>"
99
+ },
100
+ {
101
+ "name": "with describedBy",
102
+ "options": {
103
+ "describedBy": "some-id"
104
+ },
105
+ "html": "<div class=\"govuk-form-group\">\n \n\n\n <input class=\"govuk-file-upload\" id=\"\" name=\"\" type=\"file\" aria-describedby=\"some-id\">\n</div>"
106
+ },
107
+ {
108
+ "name": "with hint and describedBy",
109
+ "options": {
110
+ "describedBy": "some-id",
111
+ "hint": {
112
+ "text": "Your photo may be in your Pictures, Photos, Downloads or Desktop folder. Or in an app like iPhoto."
113
+ }
114
+ },
115
+ "html": "<div class=\"govuk-form-group\">\n \n\n \n \n <div id=\"undefined-hint\" class=\"govuk-hint\">\n Your photo may be in your Pictures, Photos, Downloads or Desktop folder. Or in an app like iPhoto.\n </div>\n\n\n <input class=\"govuk-file-upload\" id=\"\" name=\"\" type=\"file\" aria-describedby=\"some-id undefined-hint\">\n</div>"
116
+ },
117
+ {
118
+ "name": "error",
119
+ "options": {
120
+ "id": "file-upload-with-error",
121
+ "errorMessage": {
122
+ "text": "Error message"
123
+ }
124
+ },
125
+ "html": "<div class=\"govuk-form-group govuk-form-group--error\">\n \n\n\n \n \n <span id=\"file-upload-with-error-error\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error:</span> Error message\n </span>\n\n <input class=\"govuk-file-upload govuk-file-upload--error\" id=\"file-upload-with-error\" name=\"\" type=\"file\" aria-describedby=\"file-upload-with-error-error\">\n</div>"
126
+ },
127
+ {
128
+ "name": "with error and describedBy",
129
+ "options": {
130
+ "describedBy": "some-id",
131
+ "errorMessage": {
132
+ "text": "Error message"
133
+ }
134
+ },
135
+ "html": "<div class=\"govuk-form-group govuk-form-group--error\">\n \n\n\n \n \n <span id=\"undefined-error\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error:</span> Error message\n </span>\n\n <input class=\"govuk-file-upload govuk-file-upload--error\" id=\"\" name=\"\" type=\"file\" aria-describedby=\"some-id undefined-error\">\n</div>"
136
+ },
137
+ {
138
+ "name": "with error, describedBy and hint",
139
+ "options": {
140
+ "describedBy": "some-id",
141
+ "errorMessage": {
142
+ "text": "Error message"
143
+ },
144
+ "hint": {
145
+ "text": "hint"
146
+ }
147
+ },
148
+ "html": "<div class=\"govuk-form-group govuk-form-group--error\">\n \n\n \n \n <div id=\"undefined-hint\" class=\"govuk-hint\">\n hint\n </div>\n\n\n \n \n <span id=\"undefined-error\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error:</span> Error message\n </span>\n\n <input class=\"govuk-file-upload govuk-file-upload--error\" id=\"\" name=\"\" type=\"file\" aria-describedby=\"some-id undefined-hint undefined-error\">\n</div>"
149
+ }
150
+ ]
151
+ }
@@ -10,7 +10,6 @@
10
10
  $govuk-footer-link-hover: false;
11
11
 
12
12
  @if ($govuk-use-legacy-palette) {
13
- // sass-lint:disable no-color-literals
14
13
  $govuk-footer-border-top: #a1acb2;
15
14
  $govuk-footer-border: govuk-colour("grey-2");
16
15
  $govuk-footer-text: #454a4c;
@@ -0,0 +1,482 @@
1
+ {
2
+ "component": "footer",
3
+ "fixtures": [
4
+ {
5
+ "name": "default",
6
+ "options": {},
7
+ "html": "<footer class=\"govuk-footer \" role=\"contentinfo\">\n <div class=\"govuk-width-container \">\n \n <div class=\"govuk-footer__meta\">\n <div class=\"govuk-footer__meta-item govuk-footer__meta-item--grow\">\n \n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n class=\"govuk-footer__licence-logo\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 483.2 195.7\"\n height=\"17\"\n width=\"41\"\n >\n <path\n fill=\"currentColor\"\n d=\"M421.5 142.8V.1l-50.7 32.3v161.1h112.4v-50.7zm-122.3-9.6A47.12 47.12 0 0 1 221 97.8c0-26 21.1-47.1 47.1-47.1 16.7 0 31.4 8.7 39.7 21.8l42.7-27.2A97.63 97.63 0 0 0 268.1 0c-36.5 0-68.3 20.1-85.1 49.7A98 98 0 0 0 97.8 0C43.9 0 0 43.9 0 97.8s43.9 97.8 97.8 97.8c36.5 0 68.3-20.1 85.1-49.7a97.76 97.76 0 0 0 149.6 25.4l19.4 22.2h3v-87.8h-80l24.3 27.5zM97.8 145c-26 0-47.1-21.1-47.1-47.1s21.1-47.1 47.1-47.1 47.2 21 47.2 47S123.8 145 97.8 145\"\n />\n </svg>\n <span class=\"govuk-footer__licence-description\">\n All content is available under the\n <a\n class=\"govuk-footer__link\"\n href=\"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/\"\n rel=\"license\"\n >Open Government Licence v3.0</a>, except where otherwise stated\n </span>\n </div>\n <div class=\"govuk-footer__meta-item\">\n <a\n class=\"govuk-footer__link govuk-footer__copyright-logo\"\n href=\"https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/\"\n >© Crown copyright</a>\n </div>\n </div>\n </div>\n</footer>"
8
+ },
9
+ {
10
+ "name": "with meta",
11
+ "options": {
12
+ "meta": {
13
+ "visuallyHiddenTitle": "Items",
14
+ "items": [
15
+ {
16
+ "href": "#1",
17
+ "text": "Item 1"
18
+ },
19
+ {
20
+ "href": "#2",
21
+ "text": "Item 2"
22
+ },
23
+ {
24
+ "href": "#3",
25
+ "text": "Item 3"
26
+ }
27
+ ]
28
+ }
29
+ },
30
+ "html": "<footer class=\"govuk-footer \" role=\"contentinfo\">\n <div class=\"govuk-width-container \">\n \n <div class=\"govuk-footer__meta\">\n <div class=\"govuk-footer__meta-item govuk-footer__meta-item--grow\">\n \n <h2 class=\"govuk-visually-hidden\">Items</h2>\n \n <ul class=\"govuk-footer__inline-list\">\n \n <li class=\"govuk-footer__inline-list-item\">\n <a class=\"govuk-footer__link\" href=\"#1\">\n Item 1\n </a>\n </li>\n \n <li class=\"govuk-footer__inline-list-item\">\n <a class=\"govuk-footer__link\" href=\"#2\">\n Item 2\n </a>\n </li>\n \n <li class=\"govuk-footer__inline-list-item\">\n <a class=\"govuk-footer__link\" href=\"#3\">\n Item 3\n </a>\n </li>\n \n </ul>\n \n \n \n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n class=\"govuk-footer__licence-logo\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 483.2 195.7\"\n height=\"17\"\n width=\"41\"\n >\n <path\n fill=\"currentColor\"\n d=\"M421.5 142.8V.1l-50.7 32.3v161.1h112.4v-50.7zm-122.3-9.6A47.12 47.12 0 0 1 221 97.8c0-26 21.1-47.1 47.1-47.1 16.7 0 31.4 8.7 39.7 21.8l42.7-27.2A97.63 97.63 0 0 0 268.1 0c-36.5 0-68.3 20.1-85.1 49.7A98 98 0 0 0 97.8 0C43.9 0 0 43.9 0 97.8s43.9 97.8 97.8 97.8c36.5 0 68.3-20.1 85.1-49.7a97.76 97.76 0 0 0 149.6 25.4l19.4 22.2h3v-87.8h-80l24.3 27.5zM97.8 145c-26 0-47.1-21.1-47.1-47.1s21.1-47.1 47.1-47.1 47.2 21 47.2 47S123.8 145 97.8 145\"\n />\n </svg>\n <span class=\"govuk-footer__licence-description\">\n All content is available under the\n <a\n class=\"govuk-footer__link\"\n href=\"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/\"\n rel=\"license\"\n >Open Government Licence v3.0</a>, except where otherwise stated\n </span>\n </div>\n <div class=\"govuk-footer__meta-item\">\n <a\n class=\"govuk-footer__link govuk-footer__copyright-logo\"\n href=\"https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/\"\n >© Crown copyright</a>\n </div>\n </div>\n </div>\n</footer>"
31
+ },
32
+ {
33
+ "name": "with custom meta",
34
+ "options": {
35
+ "meta": {
36
+ "text": "GOV.UK Prototype Kit v7.0.1"
37
+ }
38
+ },
39
+ "html": "<footer class=\"govuk-footer \" role=\"contentinfo\">\n <div class=\"govuk-width-container \">\n \n <div class=\"govuk-footer__meta\">\n <div class=\"govuk-footer__meta-item govuk-footer__meta-item--grow\">\n \n <h2 class=\"govuk-visually-hidden\">Support links</h2>\n \n \n <div class=\"govuk-footer__meta-custom\">\n GOV.UK Prototype Kit v7.0.1\n </div>\n \n \n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n class=\"govuk-footer__licence-logo\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 483.2 195.7\"\n height=\"17\"\n width=\"41\"\n >\n <path\n fill=\"currentColor\"\n d=\"M421.5 142.8V.1l-50.7 32.3v161.1h112.4v-50.7zm-122.3-9.6A47.12 47.12 0 0 1 221 97.8c0-26 21.1-47.1 47.1-47.1 16.7 0 31.4 8.7 39.7 21.8l42.7-27.2A97.63 97.63 0 0 0 268.1 0c-36.5 0-68.3 20.1-85.1 49.7A98 98 0 0 0 97.8 0C43.9 0 0 43.9 0 97.8s43.9 97.8 97.8 97.8c36.5 0 68.3-20.1 85.1-49.7a97.76 97.76 0 0 0 149.6 25.4l19.4 22.2h3v-87.8h-80l24.3 27.5zM97.8 145c-26 0-47.1-21.1-47.1-47.1s21.1-47.1 47.1-47.1 47.2 21 47.2 47S123.8 145 97.8 145\"\n />\n </svg>\n <span class=\"govuk-footer__licence-description\">\n All content is available under the\n <a\n class=\"govuk-footer__link\"\n href=\"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/\"\n rel=\"license\"\n >Open Government Licence v3.0</a>, except where otherwise stated\n </span>\n </div>\n <div class=\"govuk-footer__meta-item\">\n <a\n class=\"govuk-footer__link govuk-footer__copyright-logo\"\n href=\"https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/\"\n >© Crown copyright</a>\n </div>\n </div>\n </div>\n</footer>"
40
+ },
41
+ {
42
+ "name": "with meta links and meta content",
43
+ "options": {
44
+ "meta": {
45
+ "items": [
46
+ {
47
+ "href": "#1",
48
+ "text": "Bibendum Ornare"
49
+ },
50
+ {
51
+ "href": "#2",
52
+ "text": "Nullam"
53
+ },
54
+ {
55
+ "href": "#3",
56
+ "text": "Tortor Fringilla"
57
+ },
58
+ {
59
+ "href": "#4",
60
+ "text": "Tellus"
61
+ },
62
+ {
63
+ "href": "#5",
64
+ "text": "Egestas Nullam"
65
+ },
66
+ {
67
+ "href": "#6",
68
+ "text": "Euismod Etiam"
69
+ },
70
+ {
71
+ "href": "#7",
72
+ "text": "Fusce Sollicitudin"
73
+ },
74
+ {
75
+ "href": "#8",
76
+ "text": "Ligula Nullam Ultricies"
77
+ }
78
+ ],
79
+ "html": "Built by the <a href=\"#\" class=\"govuk-footer__link\">Department of Magical Law Enforcement</a>"
80
+ }
81
+ },
82
+ "html": "<footer class=\"govuk-footer \" role=\"contentinfo\">\n <div class=\"govuk-width-container \">\n \n <div class=\"govuk-footer__meta\">\n <div class=\"govuk-footer__meta-item govuk-footer__meta-item--grow\">\n \n <h2 class=\"govuk-visually-hidden\">Support links</h2>\n \n <ul class=\"govuk-footer__inline-list\">\n \n <li class=\"govuk-footer__inline-list-item\">\n <a class=\"govuk-footer__link\" href=\"#1\">\n Bibendum Ornare\n </a>\n </li>\n \n <li class=\"govuk-footer__inline-list-item\">\n <a class=\"govuk-footer__link\" href=\"#2\">\n Nullam\n </a>\n </li>\n \n <li class=\"govuk-footer__inline-list-item\">\n <a class=\"govuk-footer__link\" href=\"#3\">\n Tortor Fringilla\n </a>\n </li>\n \n <li class=\"govuk-footer__inline-list-item\">\n <a class=\"govuk-footer__link\" href=\"#4\">\n Tellus\n </a>\n </li>\n \n <li class=\"govuk-footer__inline-list-item\">\n <a class=\"govuk-footer__link\" href=\"#5\">\n Egestas Nullam\n </a>\n </li>\n \n <li class=\"govuk-footer__inline-list-item\">\n <a class=\"govuk-footer__link\" href=\"#6\">\n Euismod Etiam\n </a>\n </li>\n \n <li class=\"govuk-footer__inline-list-item\">\n <a class=\"govuk-footer__link\" href=\"#7\">\n Fusce Sollicitudin\n </a>\n </li>\n \n <li class=\"govuk-footer__inline-list-item\">\n <a class=\"govuk-footer__link\" href=\"#8\">\n Ligula Nullam Ultricies\n </a>\n </li>\n \n </ul>\n \n \n <div class=\"govuk-footer__meta-custom\">\n Built by the <a href=\"#\" class=\"govuk-footer__link\">Department of Magical Law Enforcement</a>\n </div>\n \n \n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n class=\"govuk-footer__licence-logo\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 483.2 195.7\"\n height=\"17\"\n width=\"41\"\n >\n <path\n fill=\"currentColor\"\n d=\"M421.5 142.8V.1l-50.7 32.3v161.1h112.4v-50.7zm-122.3-9.6A47.12 47.12 0 0 1 221 97.8c0-26 21.1-47.1 47.1-47.1 16.7 0 31.4 8.7 39.7 21.8l42.7-27.2A97.63 97.63 0 0 0 268.1 0c-36.5 0-68.3 20.1-85.1 49.7A98 98 0 0 0 97.8 0C43.9 0 0 43.9 0 97.8s43.9 97.8 97.8 97.8c36.5 0 68.3-20.1 85.1-49.7a97.76 97.76 0 0 0 149.6 25.4l19.4 22.2h3v-87.8h-80l24.3 27.5zM97.8 145c-26 0-47.1-21.1-47.1-47.1s21.1-47.1 47.1-47.1 47.2 21 47.2 47S123.8 145 97.8 145\"\n />\n </svg>\n <span class=\"govuk-footer__licence-description\">\n All content is available under the\n <a\n class=\"govuk-footer__link\"\n href=\"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/\"\n rel=\"license\"\n >Open Government Licence v3.0</a>, except where otherwise stated\n </span>\n </div>\n <div class=\"govuk-footer__meta-item\">\n <a\n class=\"govuk-footer__link govuk-footer__copyright-logo\"\n href=\"https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/\"\n >© Crown copyright</a>\n </div>\n </div>\n </div>\n</footer>"
83
+ },
84
+ {
85
+ "name": "with custom meta",
86
+ "options": {
87
+ "meta": {
88
+ "text": "GOV.UK Prototype Kit v7.0.1"
89
+ }
90
+ },
91
+ "html": "<footer class=\"govuk-footer \" role=\"contentinfo\">\n <div class=\"govuk-width-container \">\n \n <div class=\"govuk-footer__meta\">\n <div class=\"govuk-footer__meta-item govuk-footer__meta-item--grow\">\n \n <h2 class=\"govuk-visually-hidden\">Support links</h2>\n \n \n <div class=\"govuk-footer__meta-custom\">\n GOV.UK Prototype Kit v7.0.1\n </div>\n \n \n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n class=\"govuk-footer__licence-logo\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 483.2 195.7\"\n height=\"17\"\n width=\"41\"\n >\n <path\n fill=\"currentColor\"\n d=\"M421.5 142.8V.1l-50.7 32.3v161.1h112.4v-50.7zm-122.3-9.6A47.12 47.12 0 0 1 221 97.8c0-26 21.1-47.1 47.1-47.1 16.7 0 31.4 8.7 39.7 21.8l42.7-27.2A97.63 97.63 0 0 0 268.1 0c-36.5 0-68.3 20.1-85.1 49.7A98 98 0 0 0 97.8 0C43.9 0 0 43.9 0 97.8s43.9 97.8 97.8 97.8c36.5 0 68.3-20.1 85.1-49.7a97.76 97.76 0 0 0 149.6 25.4l19.4 22.2h3v-87.8h-80l24.3 27.5zM97.8 145c-26 0-47.1-21.1-47.1-47.1s21.1-47.1 47.1-47.1 47.2 21 47.2 47S123.8 145 97.8 145\"\n />\n </svg>\n <span class=\"govuk-footer__licence-description\">\n All content is available under the\n <a\n class=\"govuk-footer__link\"\n href=\"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/\"\n rel=\"license\"\n >Open Government Licence v3.0</a>, except where otherwise stated\n </span>\n </div>\n <div class=\"govuk-footer__meta-item\">\n <a\n class=\"govuk-footer__link govuk-footer__copyright-logo\"\n href=\"https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/\"\n >© Crown copyright</a>\n </div>\n </div>\n </div>\n</footer>"
92
+ },
93
+ {
94
+ "name": "with navigation",
95
+ "options": {
96
+ "navigation": [
97
+ {
98
+ "title": "Two column list",
99
+ "columns": 2,
100
+ "items": [
101
+ {
102
+ "href": "#1",
103
+ "text": "Navigation item 1"
104
+ },
105
+ {
106
+ "href": "#2",
107
+ "text": "Navigation item 2"
108
+ },
109
+ {
110
+ "href": "#3",
111
+ "text": "Navigation item 3"
112
+ },
113
+ {
114
+ "href": "#4",
115
+ "text": "Navigation item 4"
116
+ },
117
+ {
118
+ "href": "#5",
119
+ "text": "Navigation item 5"
120
+ },
121
+ {
122
+ "href": "#6",
123
+ "text": "Navigation item 6"
124
+ }
125
+ ]
126
+ },
127
+ {
128
+ "title": "Single column list",
129
+ "items": [
130
+ {
131
+ "href": "#1",
132
+ "text": "Navigation item 1"
133
+ },
134
+ {
135
+ "href": "#2",
136
+ "text": "Navigation item 2"
137
+ },
138
+ {
139
+ "href": "#3",
140
+ "text": "Navigation item 3"
141
+ }
142
+ ]
143
+ }
144
+ ]
145
+ },
146
+ "html": "<footer class=\"govuk-footer \" role=\"contentinfo\">\n <div class=\"govuk-width-container \">\n \n <div class=\"govuk-footer__navigation\">\n \n <div class=\"govuk-footer__section\">\n <h2 class=\"govuk-footer__heading govuk-heading-m\">Two column list</h2>\n \n \n <ul class=\"govuk-footer__list govuk-footer__list--columns-2\">\n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#1\">\n Navigation item 1\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#2\">\n Navigation item 2\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#3\">\n Navigation item 3\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#4\">\n Navigation item 4\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#5\">\n Navigation item 5\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#6\">\n Navigation item 6\n </a>\n </li>\n \n \n </ul>\n \n </div>\n \n <div class=\"govuk-footer__section\">\n <h2 class=\"govuk-footer__heading govuk-heading-m\">Single column list</h2>\n \n \n <ul class=\"govuk-footer__list \">\n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#1\">\n Navigation item 1\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#2\">\n Navigation item 2\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#3\">\n Navigation item 3\n </a>\n </li>\n \n \n </ul>\n \n </div>\n \n </div>\n <hr class=\"govuk-footer__section-break\">\n \n <div class=\"govuk-footer__meta\">\n <div class=\"govuk-footer__meta-item govuk-footer__meta-item--grow\">\n \n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n class=\"govuk-footer__licence-logo\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 483.2 195.7\"\n height=\"17\"\n width=\"41\"\n >\n <path\n fill=\"currentColor\"\n d=\"M421.5 142.8V.1l-50.7 32.3v161.1h112.4v-50.7zm-122.3-9.6A47.12 47.12 0 0 1 221 97.8c0-26 21.1-47.1 47.1-47.1 16.7 0 31.4 8.7 39.7 21.8l42.7-27.2A97.63 97.63 0 0 0 268.1 0c-36.5 0-68.3 20.1-85.1 49.7A98 98 0 0 0 97.8 0C43.9 0 0 43.9 0 97.8s43.9 97.8 97.8 97.8c36.5 0 68.3-20.1 85.1-49.7a97.76 97.76 0 0 0 149.6 25.4l19.4 22.2h3v-87.8h-80l24.3 27.5zM97.8 145c-26 0-47.1-21.1-47.1-47.1s21.1-47.1 47.1-47.1 47.2 21 47.2 47S123.8 145 97.8 145\"\n />\n </svg>\n <span class=\"govuk-footer__licence-description\">\n All content is available under the\n <a\n class=\"govuk-footer__link\"\n href=\"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/\"\n rel=\"license\"\n >Open Government Licence v3.0</a>, except where otherwise stated\n </span>\n </div>\n <div class=\"govuk-footer__meta-item\">\n <a\n class=\"govuk-footer__link govuk-footer__copyright-logo\"\n href=\"https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/\"\n >© Crown copyright</a>\n </div>\n </div>\n </div>\n</footer>"
147
+ },
148
+ {
149
+ "name": "GOV.UK",
150
+ "options": {
151
+ "navigation": [
152
+ {
153
+ "title": "Services and information",
154
+ "columns": 2,
155
+ "items": [
156
+ {
157
+ "href": "/browse/benefits",
158
+ "text": "Benefits"
159
+ },
160
+ {
161
+ "href": "/browse/births-deaths-marriages",
162
+ "text": "Births, deaths, marriages and care"
163
+ },
164
+ {
165
+ "href": "/browse/business",
166
+ "text": "Business and self-employed"
167
+ },
168
+ {
169
+ "href": "/browse/childcare-parenting",
170
+ "text": "Childcare and parenting"
171
+ },
172
+ {
173
+ "href": "/browse/citizenship",
174
+ "text": "Citizenship and living in the UK"
175
+ },
176
+ {
177
+ "href": "/browse/justice",
178
+ "text": "Crime, justice and the law"
179
+ },
180
+ {
181
+ "href": "/browse/disabilities",
182
+ "text": "Disabled people"
183
+ },
184
+ {
185
+ "href": "/browse/driving",
186
+ "text": "Driving and transport"
187
+ },
188
+ {
189
+ "href": "/browse/education",
190
+ "text": "Education and learning"
191
+ },
192
+ {
193
+ "href": "/browse/employing-people",
194
+ "text": "Employing people"
195
+ },
196
+ {
197
+ "href": "/browse/environment-countryside",
198
+ "text": "Environment and countryside"
199
+ },
200
+ {
201
+ "href": "/browse/housing-local-services",
202
+ "text": "Housing and local services"
203
+ },
204
+ {
205
+ "href": "/browse/tax",
206
+ "text": "Money and tax"
207
+ },
208
+ {
209
+ "href": "/browse/abroad",
210
+ "text": "Passports, travel and living abroad"
211
+ },
212
+ {
213
+ "href": "/browse/visas-immigration",
214
+ "text": "Visas and immigration"
215
+ },
216
+ {
217
+ "href": "/browse/working",
218
+ "text": "Working, jobs and pensions"
219
+ }
220
+ ]
221
+ },
222
+ {
223
+ "title": "Departments and policy",
224
+ "items": [
225
+ {
226
+ "href": "/government/how-government-works",
227
+ "text": "How government works"
228
+ },
229
+ {
230
+ "href": "/government/organisations",
231
+ "text": "Departments"
232
+ },
233
+ {
234
+ "href": "/world",
235
+ "text": "Worldwide"
236
+ },
237
+ {
238
+ "href": "/government/policies",
239
+ "text": "Policies"
240
+ },
241
+ {
242
+ "href": "/government/publications",
243
+ "text": "Publications"
244
+ },
245
+ {
246
+ "href": "/government/announcements",
247
+ "text": "Announcements"
248
+ }
249
+ ]
250
+ }
251
+ ],
252
+ "meta": {
253
+ "items": [
254
+ {
255
+ "href": "/help",
256
+ "text": "Help"
257
+ },
258
+ {
259
+ "href": "/help/cookies",
260
+ "text": "Cookies"
261
+ },
262
+ {
263
+ "href": "/contact",
264
+ "text": "Contact"
265
+ },
266
+ {
267
+ "href": "/help/terms-conditions",
268
+ "text": "Terms and conditions"
269
+ },
270
+ {
271
+ "href": "/cymraeg",
272
+ "text": "Rhestr o Wasanaethau Cymraeg"
273
+ }
274
+ ],
275
+ "html": "Built by the <a class=\"govuk-footer__link\" href=\"#\">Government Digital Service</a>"
276
+ }
277
+ },
278
+ "html": "<footer class=\"govuk-footer \" role=\"contentinfo\">\n <div class=\"govuk-width-container \">\n \n <div class=\"govuk-footer__navigation\">\n \n <div class=\"govuk-footer__section\">\n <h2 class=\"govuk-footer__heading govuk-heading-m\">Services and information</h2>\n \n \n <ul class=\"govuk-footer__list govuk-footer__list--columns-2\">\n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"/browse/benefits\">\n Benefits\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"/browse/births-deaths-marriages\">\n Births, deaths, marriages and care\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"/browse/business\">\n Business and self-employed\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"/browse/childcare-parenting\">\n Childcare and parenting\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"/browse/citizenship\">\n Citizenship and living in the UK\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"/browse/justice\">\n Crime, justice and the law\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"/browse/disabilities\">\n Disabled people\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"/browse/driving\">\n Driving and transport\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"/browse/education\">\n Education and learning\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"/browse/employing-people\">\n Employing people\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"/browse/environment-countryside\">\n Environment and countryside\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"/browse/housing-local-services\">\n Housing and local services\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"/browse/tax\">\n Money and tax\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"/browse/abroad\">\n Passports, travel and living abroad\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"/browse/visas-immigration\">\n Visas and immigration\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"/browse/working\">\n Working, jobs and pensions\n </a>\n </li>\n \n \n </ul>\n \n </div>\n \n <div class=\"govuk-footer__section\">\n <h2 class=\"govuk-footer__heading govuk-heading-m\">Departments and policy</h2>\n \n \n <ul class=\"govuk-footer__list \">\n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"/government/how-government-works\">\n How government works\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"/government/organisations\">\n Departments\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"/world\">\n Worldwide\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"/government/policies\">\n Policies\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"/government/publications\">\n Publications\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"/government/announcements\">\n Announcements\n </a>\n </li>\n \n \n </ul>\n \n </div>\n \n </div>\n <hr class=\"govuk-footer__section-break\">\n \n <div class=\"govuk-footer__meta\">\n <div class=\"govuk-footer__meta-item govuk-footer__meta-item--grow\">\n \n <h2 class=\"govuk-visually-hidden\">Support links</h2>\n \n <ul class=\"govuk-footer__inline-list\">\n \n <li class=\"govuk-footer__inline-list-item\">\n <a class=\"govuk-footer__link\" href=\"/help\">\n Help\n </a>\n </li>\n \n <li class=\"govuk-footer__inline-list-item\">\n <a class=\"govuk-footer__link\" href=\"/help/cookies\">\n Cookies\n </a>\n </li>\n \n <li class=\"govuk-footer__inline-list-item\">\n <a class=\"govuk-footer__link\" href=\"/contact\">\n Contact\n </a>\n </li>\n \n <li class=\"govuk-footer__inline-list-item\">\n <a class=\"govuk-footer__link\" href=\"/help/terms-conditions\">\n Terms and conditions\n </a>\n </li>\n \n <li class=\"govuk-footer__inline-list-item\">\n <a class=\"govuk-footer__link\" href=\"/cymraeg\">\n Rhestr o Wasanaethau Cymraeg\n </a>\n </li>\n \n </ul>\n \n \n <div class=\"govuk-footer__meta-custom\">\n Built by the <a class=\"govuk-footer__link\" href=\"#\">Government Digital Service</a>\n </div>\n \n \n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n class=\"govuk-footer__licence-logo\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 483.2 195.7\"\n height=\"17\"\n width=\"41\"\n >\n <path\n fill=\"currentColor\"\n d=\"M421.5 142.8V.1l-50.7 32.3v161.1h112.4v-50.7zm-122.3-9.6A47.12 47.12 0 0 1 221 97.8c0-26 21.1-47.1 47.1-47.1 16.7 0 31.4 8.7 39.7 21.8l42.7-27.2A97.63 97.63 0 0 0 268.1 0c-36.5 0-68.3 20.1-85.1 49.7A98 98 0 0 0 97.8 0C43.9 0 0 43.9 0 97.8s43.9 97.8 97.8 97.8c36.5 0 68.3-20.1 85.1-49.7a97.76 97.76 0 0 0 149.6 25.4l19.4 22.2h3v-87.8h-80l24.3 27.5zM97.8 145c-26 0-47.1-21.1-47.1-47.1s21.1-47.1 47.1-47.1 47.2 21 47.2 47S123.8 145 97.8 145\"\n />\n </svg>\n <span class=\"govuk-footer__licence-description\">\n All content is available under the\n <a\n class=\"govuk-footer__link\"\n href=\"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/\"\n rel=\"license\"\n >Open Government Licence v3.0</a>, except where otherwise stated\n </span>\n </div>\n <div class=\"govuk-footer__meta-item\">\n <a\n class=\"govuk-footer__link govuk-footer__copyright-logo\"\n href=\"https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/\"\n >© Crown copyright</a>\n </div>\n </div>\n </div>\n</footer>"
279
+ },
280
+ {
281
+ "name": "Three equal columns",
282
+ "options": {
283
+ "navigation": [
284
+ {
285
+ "title": "Single column list 1",
286
+ "columns": 1,
287
+ "items": [
288
+ {
289
+ "href": "#1",
290
+ "text": "Navigation item 1"
291
+ },
292
+ {
293
+ "href": "#2",
294
+ "text": "Navigation item 2"
295
+ },
296
+ {
297
+ "href": "#3",
298
+ "text": "Navigation item 3"
299
+ },
300
+ {
301
+ "href": "#4",
302
+ "text": "Navigation item 4"
303
+ },
304
+ {
305
+ "href": "#5",
306
+ "text": "Navigation item 5"
307
+ },
308
+ {
309
+ "href": "#6",
310
+ "text": "Navigation item 6"
311
+ }
312
+ ]
313
+ },
314
+ {
315
+ "title": "Single column list 2",
316
+ "columns": 1,
317
+ "items": [
318
+ {
319
+ "href": "#1",
320
+ "text": "Navigation item 1"
321
+ },
322
+ {
323
+ "href": "#2",
324
+ "text": "Navigation item 2"
325
+ },
326
+ {
327
+ "href": "#3",
328
+ "text": "Navigation item 3"
329
+ },
330
+ {
331
+ "href": "#4",
332
+ "text": "Navigation item 4"
333
+ },
334
+ {
335
+ "href": "#5",
336
+ "text": "Navigation item 5"
337
+ },
338
+ {
339
+ "href": "#6",
340
+ "text": "Navigation item 6"
341
+ }
342
+ ]
343
+ },
344
+ {
345
+ "title": "Single column list 3",
346
+ "columns": 1,
347
+ "items": [
348
+ {
349
+ "href": "#1",
350
+ "text": "Navigation item 1"
351
+ },
352
+ {
353
+ "href": "#2",
354
+ "text": "Navigation item 2"
355
+ },
356
+ {
357
+ "href": "#3",
358
+ "text": "Navigation item 3"
359
+ },
360
+ {
361
+ "href": "#4",
362
+ "text": "Navigation item 4"
363
+ },
364
+ {
365
+ "href": "#5",
366
+ "text": "Navigation item 5"
367
+ },
368
+ {
369
+ "href": "#6",
370
+ "text": "Navigation item 6"
371
+ }
372
+ ]
373
+ }
374
+ ]
375
+ },
376
+ "html": "<footer class=\"govuk-footer \" role=\"contentinfo\">\n <div class=\"govuk-width-container \">\n \n <div class=\"govuk-footer__navigation\">\n \n <div class=\"govuk-footer__section\">\n <h2 class=\"govuk-footer__heading govuk-heading-m\">Single column list 1</h2>\n \n \n <ul class=\"govuk-footer__list govuk-footer__list--columns-1\">\n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#1\">\n Navigation item 1\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#2\">\n Navigation item 2\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#3\">\n Navigation item 3\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#4\">\n Navigation item 4\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#5\">\n Navigation item 5\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#6\">\n Navigation item 6\n </a>\n </li>\n \n \n </ul>\n \n </div>\n \n <div class=\"govuk-footer__section\">\n <h2 class=\"govuk-footer__heading govuk-heading-m\">Single column list 2</h2>\n \n \n <ul class=\"govuk-footer__list govuk-footer__list--columns-1\">\n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#1\">\n Navigation item 1\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#2\">\n Navigation item 2\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#3\">\n Navigation item 3\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#4\">\n Navigation item 4\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#5\">\n Navigation item 5\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#6\">\n Navigation item 6\n </a>\n </li>\n \n \n </ul>\n \n </div>\n \n <div class=\"govuk-footer__section\">\n <h2 class=\"govuk-footer__heading govuk-heading-m\">Single column list 3</h2>\n \n \n <ul class=\"govuk-footer__list govuk-footer__list--columns-1\">\n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#1\">\n Navigation item 1\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#2\">\n Navigation item 2\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#3\">\n Navigation item 3\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#4\">\n Navigation item 4\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#5\">\n Navigation item 5\n </a>\n </li>\n \n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#6\">\n Navigation item 6\n </a>\n </li>\n \n \n </ul>\n \n </div>\n \n </div>\n <hr class=\"govuk-footer__section-break\">\n \n <div class=\"govuk-footer__meta\">\n <div class=\"govuk-footer__meta-item govuk-footer__meta-item--grow\">\n \n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n class=\"govuk-footer__licence-logo\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 483.2 195.7\"\n height=\"17\"\n width=\"41\"\n >\n <path\n fill=\"currentColor\"\n d=\"M421.5 142.8V.1l-50.7 32.3v161.1h112.4v-50.7zm-122.3-9.6A47.12 47.12 0 0 1 221 97.8c0-26 21.1-47.1 47.1-47.1 16.7 0 31.4 8.7 39.7 21.8l42.7-27.2A97.63 97.63 0 0 0 268.1 0c-36.5 0-68.3 20.1-85.1 49.7A98 98 0 0 0 97.8 0C43.9 0 0 43.9 0 97.8s43.9 97.8 97.8 97.8c36.5 0 68.3-20.1 85.1-49.7a97.76 97.76 0 0 0 149.6 25.4l19.4 22.2h3v-87.8h-80l24.3 27.5zM97.8 145c-26 0-47.1-21.1-47.1-47.1s21.1-47.1 47.1-47.1 47.2 21 47.2 47S123.8 145 97.8 145\"\n />\n </svg>\n <span class=\"govuk-footer__licence-description\">\n All content is available under the\n <a\n class=\"govuk-footer__link\"\n href=\"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/\"\n rel=\"license\"\n >Open Government Licence v3.0</a>, except where otherwise stated\n </span>\n </div>\n <div class=\"govuk-footer__meta-item\">\n <a\n class=\"govuk-footer__link govuk-footer__copyright-logo\"\n href=\"https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/\"\n >© Crown copyright</a>\n </div>\n </div>\n </div>\n</footer>"
377
+ },
378
+ {
379
+ "name": "attributes",
380
+ "options": {
381
+ "attributes": {
382
+ "data-test-attribute": "value",
383
+ "data-test-attribute-2": "value-2"
384
+ }
385
+ },
386
+ "html": "<footer class=\"govuk-footer \" role=\"contentinfo\" data-test-attribute=\"value\" data-test-attribute-2=\"value-2\">\n <div class=\"govuk-width-container \">\n \n <div class=\"govuk-footer__meta\">\n <div class=\"govuk-footer__meta-item govuk-footer__meta-item--grow\">\n \n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n class=\"govuk-footer__licence-logo\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 483.2 195.7\"\n height=\"17\"\n width=\"41\"\n >\n <path\n fill=\"currentColor\"\n d=\"M421.5 142.8V.1l-50.7 32.3v161.1h112.4v-50.7zm-122.3-9.6A47.12 47.12 0 0 1 221 97.8c0-26 21.1-47.1 47.1-47.1 16.7 0 31.4 8.7 39.7 21.8l42.7-27.2A97.63 97.63 0 0 0 268.1 0c-36.5 0-68.3 20.1-85.1 49.7A98 98 0 0 0 97.8 0C43.9 0 0 43.9 0 97.8s43.9 97.8 97.8 97.8c36.5 0 68.3-20.1 85.1-49.7a97.76 97.76 0 0 0 149.6 25.4l19.4 22.2h3v-87.8h-80l24.3 27.5zM97.8 145c-26 0-47.1-21.1-47.1-47.1s21.1-47.1 47.1-47.1 47.2 21 47.2 47S123.8 145 97.8 145\"\n />\n </svg>\n <span class=\"govuk-footer__licence-description\">\n All content is available under the\n <a\n class=\"govuk-footer__link\"\n href=\"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/\"\n rel=\"license\"\n >Open Government Licence v3.0</a>, except where otherwise stated\n </span>\n </div>\n <div class=\"govuk-footer__meta-item\">\n <a\n class=\"govuk-footer__link govuk-footer__copyright-logo\"\n href=\"https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/\"\n >© Crown copyright</a>\n </div>\n </div>\n </div>\n</footer>"
387
+ },
388
+ {
389
+ "name": "classes",
390
+ "options": {
391
+ "classes": "app-footer--custom-modifier"
392
+ },
393
+ "html": "<footer class=\"govuk-footer app-footer--custom-modifier\" role=\"contentinfo\">\n <div class=\"govuk-width-container \">\n \n <div class=\"govuk-footer__meta\">\n <div class=\"govuk-footer__meta-item govuk-footer__meta-item--grow\">\n \n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n class=\"govuk-footer__licence-logo\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 483.2 195.7\"\n height=\"17\"\n width=\"41\"\n >\n <path\n fill=\"currentColor\"\n d=\"M421.5 142.8V.1l-50.7 32.3v161.1h112.4v-50.7zm-122.3-9.6A47.12 47.12 0 0 1 221 97.8c0-26 21.1-47.1 47.1-47.1 16.7 0 31.4 8.7 39.7 21.8l42.7-27.2A97.63 97.63 0 0 0 268.1 0c-36.5 0-68.3 20.1-85.1 49.7A98 98 0 0 0 97.8 0C43.9 0 0 43.9 0 97.8s43.9 97.8 97.8 97.8c36.5 0 68.3-20.1 85.1-49.7a97.76 97.76 0 0 0 149.6 25.4l19.4 22.2h3v-87.8h-80l24.3 27.5zM97.8 145c-26 0-47.1-21.1-47.1-47.1s21.1-47.1 47.1-47.1 47.2 21 47.2 47S123.8 145 97.8 145\"\n />\n </svg>\n <span class=\"govuk-footer__licence-description\">\n All content is available under the\n <a\n class=\"govuk-footer__link\"\n href=\"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/\"\n rel=\"license\"\n >Open Government Licence v3.0</a>, except where otherwise stated\n </span>\n </div>\n <div class=\"govuk-footer__meta-item\">\n <a\n class=\"govuk-footer__link govuk-footer__copyright-logo\"\n href=\"https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/\"\n >© Crown copyright</a>\n </div>\n </div>\n </div>\n</footer>"
394
+ },
395
+ {
396
+ "name": "with container classes",
397
+ "options": {
398
+ "containerClasses": "app-width-container"
399
+ },
400
+ "html": "<footer class=\"govuk-footer \" role=\"contentinfo\">\n <div class=\"govuk-width-container app-width-container\">\n \n <div class=\"govuk-footer__meta\">\n <div class=\"govuk-footer__meta-item govuk-footer__meta-item--grow\">\n \n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n class=\"govuk-footer__licence-logo\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 483.2 195.7\"\n height=\"17\"\n width=\"41\"\n >\n <path\n fill=\"currentColor\"\n d=\"M421.5 142.8V.1l-50.7 32.3v161.1h112.4v-50.7zm-122.3-9.6A47.12 47.12 0 0 1 221 97.8c0-26 21.1-47.1 47.1-47.1 16.7 0 31.4 8.7 39.7 21.8l42.7-27.2A97.63 97.63 0 0 0 268.1 0c-36.5 0-68.3 20.1-85.1 49.7A98 98 0 0 0 97.8 0C43.9 0 0 43.9 0 97.8s43.9 97.8 97.8 97.8c36.5 0 68.3-20.1 85.1-49.7a97.76 97.76 0 0 0 149.6 25.4l19.4 22.2h3v-87.8h-80l24.3 27.5zM97.8 145c-26 0-47.1-21.1-47.1-47.1s21.1-47.1 47.1-47.1 47.2 21 47.2 47S123.8 145 97.8 145\"\n />\n </svg>\n <span class=\"govuk-footer__licence-description\">\n All content is available under the\n <a\n class=\"govuk-footer__link\"\n href=\"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/\"\n rel=\"license\"\n >Open Government Licence v3.0</a>, except where otherwise stated\n </span>\n </div>\n <div class=\"govuk-footer__meta-item\">\n <a\n class=\"govuk-footer__link govuk-footer__copyright-logo\"\n href=\"https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/\"\n >© Crown copyright</a>\n </div>\n </div>\n </div>\n</footer>"
401
+ },
402
+ {
403
+ "name": "with empty meta",
404
+ "options": {
405
+ "meta": {}
406
+ },
407
+ "html": "<footer class=\"govuk-footer \" role=\"contentinfo\">\n <div class=\"govuk-width-container \">\n \n <div class=\"govuk-footer__meta\">\n <div class=\"govuk-footer__meta-item govuk-footer__meta-item--grow\">\n \n <h2 class=\"govuk-visually-hidden\">Support links</h2>\n \n \n \n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n class=\"govuk-footer__licence-logo\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 483.2 195.7\"\n height=\"17\"\n width=\"41\"\n >\n <path\n fill=\"currentColor\"\n d=\"M421.5 142.8V.1l-50.7 32.3v161.1h112.4v-50.7zm-122.3-9.6A47.12 47.12 0 0 1 221 97.8c0-26 21.1-47.1 47.1-47.1 16.7 0 31.4 8.7 39.7 21.8l42.7-27.2A97.63 97.63 0 0 0 268.1 0c-36.5 0-68.3 20.1-85.1 49.7A98 98 0 0 0 97.8 0C43.9 0 0 43.9 0 97.8s43.9 97.8 97.8 97.8c36.5 0 68.3-20.1 85.1-49.7a97.76 97.76 0 0 0 149.6 25.4l19.4 22.2h3v-87.8h-80l24.3 27.5zM97.8 145c-26 0-47.1-21.1-47.1-47.1s21.1-47.1 47.1-47.1 47.2 21 47.2 47S123.8 145 97.8 145\"\n />\n </svg>\n <span class=\"govuk-footer__licence-description\">\n All content is available under the\n <a\n class=\"govuk-footer__link\"\n href=\"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/\"\n rel=\"license\"\n >Open Government Licence v3.0</a>, except where otherwise stated\n </span>\n </div>\n <div class=\"govuk-footer__meta-item\">\n <a\n class=\"govuk-footer__link govuk-footer__copyright-logo\"\n href=\"https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/\"\n >© Crown copyright</a>\n </div>\n </div>\n </div>\n</footer>"
408
+ },
409
+ {
410
+ "name": "with empty meta items",
411
+ "options": {
412
+ "meta": {
413
+ "items": []
414
+ }
415
+ },
416
+ "html": "<footer class=\"govuk-footer \" role=\"contentinfo\">\n <div class=\"govuk-width-container \">\n \n <div class=\"govuk-footer__meta\">\n <div class=\"govuk-footer__meta-item govuk-footer__meta-item--grow\">\n \n <h2 class=\"govuk-visually-hidden\">Support links</h2>\n \n \n \n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n class=\"govuk-footer__licence-logo\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 483.2 195.7\"\n height=\"17\"\n width=\"41\"\n >\n <path\n fill=\"currentColor\"\n d=\"M421.5 142.8V.1l-50.7 32.3v161.1h112.4v-50.7zm-122.3-9.6A47.12 47.12 0 0 1 221 97.8c0-26 21.1-47.1 47.1-47.1 16.7 0 31.4 8.7 39.7 21.8l42.7-27.2A97.63 97.63 0 0 0 268.1 0c-36.5 0-68.3 20.1-85.1 49.7A98 98 0 0 0 97.8 0C43.9 0 0 43.9 0 97.8s43.9 97.8 97.8 97.8c36.5 0 68.3-20.1 85.1-49.7a97.76 97.76 0 0 0 149.6 25.4l19.4 22.2h3v-87.8h-80l24.3 27.5zM97.8 145c-26 0-47.1-21.1-47.1-47.1s21.1-47.1 47.1-47.1 47.2 21 47.2 47S123.8 145 97.8 145\"\n />\n </svg>\n <span class=\"govuk-footer__licence-description\">\n All content is available under the\n <a\n class=\"govuk-footer__link\"\n href=\"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/\"\n rel=\"license\"\n >Open Government Licence v3.0</a>, except where otherwise stated\n </span>\n </div>\n <div class=\"govuk-footer__meta-item\">\n <a\n class=\"govuk-footer__link govuk-footer__copyright-logo\"\n href=\"https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/\"\n >© Crown copyright</a>\n </div>\n </div>\n </div>\n</footer>"
417
+ },
418
+ {
419
+ "name": "meta html as text",
420
+ "options": {
421
+ "meta": {
422
+ "text": "GOV.UK Prototype Kit <strong>v7.0.1</strong>"
423
+ }
424
+ },
425
+ "html": "<footer class=\"govuk-footer \" role=\"contentinfo\">\n <div class=\"govuk-width-container \">\n \n <div class=\"govuk-footer__meta\">\n <div class=\"govuk-footer__meta-item govuk-footer__meta-item--grow\">\n \n <h2 class=\"govuk-visually-hidden\">Support links</h2>\n \n \n <div class=\"govuk-footer__meta-custom\">\n GOV.UK Prototype Kit &lt;strong&gt;v7.0.1&lt;/strong&gt;\n </div>\n \n \n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n class=\"govuk-footer__licence-logo\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 483.2 195.7\"\n height=\"17\"\n width=\"41\"\n >\n <path\n fill=\"currentColor\"\n d=\"M421.5 142.8V.1l-50.7 32.3v161.1h112.4v-50.7zm-122.3-9.6A47.12 47.12 0 0 1 221 97.8c0-26 21.1-47.1 47.1-47.1 16.7 0 31.4 8.7 39.7 21.8l42.7-27.2A97.63 97.63 0 0 0 268.1 0c-36.5 0-68.3 20.1-85.1 49.7A98 98 0 0 0 97.8 0C43.9 0 0 43.9 0 97.8s43.9 97.8 97.8 97.8c36.5 0 68.3-20.1 85.1-49.7a97.76 97.76 0 0 0 149.6 25.4l19.4 22.2h3v-87.8h-80l24.3 27.5zM97.8 145c-26 0-47.1-21.1-47.1-47.1s21.1-47.1 47.1-47.1 47.2 21 47.2 47S123.8 145 97.8 145\"\n />\n </svg>\n <span class=\"govuk-footer__licence-description\">\n All content is available under the\n <a\n class=\"govuk-footer__link\"\n href=\"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/\"\n rel=\"license\"\n >Open Government Licence v3.0</a>, except where otherwise stated\n </span>\n </div>\n <div class=\"govuk-footer__meta-item\">\n <a\n class=\"govuk-footer__link govuk-footer__copyright-logo\"\n href=\"https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/\"\n >© Crown copyright</a>\n </div>\n </div>\n </div>\n</footer>"
426
+ },
427
+ {
428
+ "name": "with meta html",
429
+ "options": {
430
+ "meta": {
431
+ "html": "GOV.UK Prototype Kit <strong>v7.0.1</strong>"
432
+ }
433
+ },
434
+ "html": "<footer class=\"govuk-footer \" role=\"contentinfo\">\n <div class=\"govuk-width-container \">\n \n <div class=\"govuk-footer__meta\">\n <div class=\"govuk-footer__meta-item govuk-footer__meta-item--grow\">\n \n <h2 class=\"govuk-visually-hidden\">Support links</h2>\n \n \n <div class=\"govuk-footer__meta-custom\">\n GOV.UK Prototype Kit <strong>v7.0.1</strong>\n </div>\n \n \n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n class=\"govuk-footer__licence-logo\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 483.2 195.7\"\n height=\"17\"\n width=\"41\"\n >\n <path\n fill=\"currentColor\"\n d=\"M421.5 142.8V.1l-50.7 32.3v161.1h112.4v-50.7zm-122.3-9.6A47.12 47.12 0 0 1 221 97.8c0-26 21.1-47.1 47.1-47.1 16.7 0 31.4 8.7 39.7 21.8l42.7-27.2A97.63 97.63 0 0 0 268.1 0c-36.5 0-68.3 20.1-85.1 49.7A98 98 0 0 0 97.8 0C43.9 0 0 43.9 0 97.8s43.9 97.8 97.8 97.8c36.5 0 68.3-20.1 85.1-49.7a97.76 97.76 0 0 0 149.6 25.4l19.4 22.2h3v-87.8h-80l24.3 27.5zM97.8 145c-26 0-47.1-21.1-47.1-47.1s21.1-47.1 47.1-47.1 47.2 21 47.2 47S123.8 145 97.8 145\"\n />\n </svg>\n <span class=\"govuk-footer__licence-description\">\n All content is available under the\n <a\n class=\"govuk-footer__link\"\n href=\"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/\"\n rel=\"license\"\n >Open Government Licence v3.0</a>, except where otherwise stated\n </span>\n </div>\n <div class=\"govuk-footer__meta-item\">\n <a\n class=\"govuk-footer__link govuk-footer__copyright-logo\"\n href=\"https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/\"\n >© Crown copyright</a>\n </div>\n </div>\n </div>\n</footer>"
435
+ },
436
+ {
437
+ "name": "with meta item attributes",
438
+ "options": {
439
+ "meta": {
440
+ "items": [
441
+ {
442
+ "href": "#1",
443
+ "text": "meta item 1",
444
+ "attributes": {
445
+ "data-attribute": "my-attribute",
446
+ "data-attribute-2": "my-attribute-2"
447
+ }
448
+ }
449
+ ]
450
+ }
451
+ },
452
+ "html": "<footer class=\"govuk-footer \" role=\"contentinfo\">\n <div class=\"govuk-width-container \">\n \n <div class=\"govuk-footer__meta\">\n <div class=\"govuk-footer__meta-item govuk-footer__meta-item--grow\">\n \n <h2 class=\"govuk-visually-hidden\">Support links</h2>\n \n <ul class=\"govuk-footer__inline-list\">\n \n <li class=\"govuk-footer__inline-list-item\">\n <a class=\"govuk-footer__link\" href=\"#1\" data-attribute=\"my-attribute\" data-attribute-2=\"my-attribute-2\">\n meta item 1\n </a>\n </li>\n \n </ul>\n \n \n \n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n class=\"govuk-footer__licence-logo\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 483.2 195.7\"\n height=\"17\"\n width=\"41\"\n >\n <path\n fill=\"currentColor\"\n d=\"M421.5 142.8V.1l-50.7 32.3v161.1h112.4v-50.7zm-122.3-9.6A47.12 47.12 0 0 1 221 97.8c0-26 21.1-47.1 47.1-47.1 16.7 0 31.4 8.7 39.7 21.8l42.7-27.2A97.63 97.63 0 0 0 268.1 0c-36.5 0-68.3 20.1-85.1 49.7A98 98 0 0 0 97.8 0C43.9 0 0 43.9 0 97.8s43.9 97.8 97.8 97.8c36.5 0 68.3-20.1 85.1-49.7a97.76 97.76 0 0 0 149.6 25.4l19.4 22.2h3v-87.8h-80l24.3 27.5zM97.8 145c-26 0-47.1-21.1-47.1-47.1s21.1-47.1 47.1-47.1 47.2 21 47.2 47S123.8 145 97.8 145\"\n />\n </svg>\n <span class=\"govuk-footer__licence-description\">\n All content is available under the\n <a\n class=\"govuk-footer__link\"\n href=\"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/\"\n rel=\"license\"\n >Open Government Licence v3.0</a>, except where otherwise stated\n </span>\n </div>\n <div class=\"govuk-footer__meta-item\">\n <a\n class=\"govuk-footer__link govuk-footer__copyright-logo\"\n href=\"https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/\"\n >© Crown copyright</a>\n </div>\n </div>\n </div>\n</footer>"
453
+ },
454
+ {
455
+ "name": "with empty navigation",
456
+ "options": {
457
+ "navigation": []
458
+ },
459
+ "html": "<footer class=\"govuk-footer \" role=\"contentinfo\">\n <div class=\"govuk-width-container \">\n \n <div class=\"govuk-footer__meta\">\n <div class=\"govuk-footer__meta-item govuk-footer__meta-item--grow\">\n \n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n class=\"govuk-footer__licence-logo\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 483.2 195.7\"\n height=\"17\"\n width=\"41\"\n >\n <path\n fill=\"currentColor\"\n d=\"M421.5 142.8V.1l-50.7 32.3v161.1h112.4v-50.7zm-122.3-9.6A47.12 47.12 0 0 1 221 97.8c0-26 21.1-47.1 47.1-47.1 16.7 0 31.4 8.7 39.7 21.8l42.7-27.2A97.63 97.63 0 0 0 268.1 0c-36.5 0-68.3 20.1-85.1 49.7A98 98 0 0 0 97.8 0C43.9 0 0 43.9 0 97.8s43.9 97.8 97.8 97.8c36.5 0 68.3-20.1 85.1-49.7a97.76 97.76 0 0 0 149.6 25.4l19.4 22.2h3v-87.8h-80l24.3 27.5zM97.8 145c-26 0-47.1-21.1-47.1-47.1s21.1-47.1 47.1-47.1 47.2 21 47.2 47S123.8 145 97.8 145\"\n />\n </svg>\n <span class=\"govuk-footer__licence-description\">\n All content is available under the\n <a\n class=\"govuk-footer__link\"\n href=\"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/\"\n rel=\"license\"\n >Open Government Licence v3.0</a>, except where otherwise stated\n </span>\n </div>\n <div class=\"govuk-footer__meta-item\">\n <a\n class=\"govuk-footer__link govuk-footer__copyright-logo\"\n href=\"https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/\"\n >© Crown copyright</a>\n </div>\n </div>\n </div>\n</footer>"
460
+ },
461
+ {
462
+ "name": "with navigation item attributes",
463
+ "options": {
464
+ "navigation": [
465
+ {
466
+ "items": [
467
+ {
468
+ "href": "#1",
469
+ "text": "Navigation item 1",
470
+ "attributes": {
471
+ "data-attribute": "my-attribute",
472
+ "data-attribute-2": "my-attribute-2"
473
+ }
474
+ }
475
+ ]
476
+ }
477
+ ]
478
+ },
479
+ "html": "<footer class=\"govuk-footer \" role=\"contentinfo\">\n <div class=\"govuk-width-container \">\n \n <div class=\"govuk-footer__navigation\">\n \n <div class=\"govuk-footer__section\">\n <h2 class=\"govuk-footer__heading govuk-heading-m\"></h2>\n \n \n <ul class=\"govuk-footer__list \">\n \n \n <li class=\"govuk-footer__list-item\">\n <a class=\"govuk-footer__link\" href=\"#1\" data-attribute=\"my-attribute\" data-attribute-2=\"my-attribute-2\">\n Navigation item 1\n </a>\n </li>\n \n \n </ul>\n \n </div>\n \n </div>\n <hr class=\"govuk-footer__section-break\">\n \n <div class=\"govuk-footer__meta\">\n <div class=\"govuk-footer__meta-item govuk-footer__meta-item--grow\">\n \n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n class=\"govuk-footer__licence-logo\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 483.2 195.7\"\n height=\"17\"\n width=\"41\"\n >\n <path\n fill=\"currentColor\"\n d=\"M421.5 142.8V.1l-50.7 32.3v161.1h112.4v-50.7zm-122.3-9.6A47.12 47.12 0 0 1 221 97.8c0-26 21.1-47.1 47.1-47.1 16.7 0 31.4 8.7 39.7 21.8l42.7-27.2A97.63 97.63 0 0 0 268.1 0c-36.5 0-68.3 20.1-85.1 49.7A98 98 0 0 0 97.8 0C43.9 0 0 43.9 0 97.8s43.9 97.8 97.8 97.8c36.5 0 68.3-20.1 85.1-49.7a97.76 97.76 0 0 0 149.6 25.4l19.4 22.2h3v-87.8h-80l24.3 27.5zM97.8 145c-26 0-47.1-21.1-47.1-47.1s21.1-47.1 47.1-47.1 47.2 21 47.2 47S123.8 145 97.8 145\"\n />\n </svg>\n <span class=\"govuk-footer__licence-description\">\n All content is available under the\n <a\n class=\"govuk-footer__link\"\n href=\"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/\"\n rel=\"license\"\n >Open Government Licence v3.0</a>, except where otherwise stated\n </span>\n </div>\n <div class=\"govuk-footer__meta-item\">\n <a\n class=\"govuk-footer__link govuk-footer__copyright-logo\"\n href=\"https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/\"\n >© Crown copyright</a>\n </div>\n </div>\n </div>\n</footer>"
480
+ }
481
+ ]
482
+ }