GOV.UK Frontend


Documentation

Sass API reference

JavaScript API reference


JavaScript modules

Entry file name
all.mjs
Total file size
72.32 KiB (bundled)
37.64 KiB (minified)

Accordion

File name
accordion.mjs
File size
22.71 KiB (bundled)
12.85 KiB (minified)

Button

File name
button.mjs
File size
5.98 KiB (bundled)
2.69 KiB (minified)

Character count

File size
22.49 KiB (bundled)
9.96 KiB (minified)

Checkboxes

File name
checkboxes.mjs
File size
5.83 KiB (bundled)
2.83 KiB (minified)

Error summary

File name
error-summary.mjs
File size
7.89 KiB (bundled)
3.46 KiB (minified)

Exit this page

File name
exit-this-page.mjs
File size
17.1 KiB (bundled)
9.26 KiB (minified)

Header

File name
header.mjs
File size
4.46 KiB (bundled)
2.6 KiB (minified)

Notification banner

File size
6.26 KiB (bundled)
2.62 KiB (minified)

Radios

File name
radios.mjs
File size
4.83 KiB (bundled)
2.38 KiB (minified)

Skip link

File name
skip-link.mjs
File size
4.39 KiB (bundled)
2.18 KiB (minified)

Tabs

File name
tabs.mjs
File size
10.13 KiB (bundled)
6.11 KiB (minified)