GOV.UK Frontend


Documentation

Sass API reference

JavaScript API reference


JavaScript modules

Entry file name
all.mjs
Total file size
70.21 KiB (bundled)
36.77 KiB (minified)

Accordion

File name
accordion.mjs
File size
21.67 KiB (bundled)
12.42 KiB (minified)

Button

File name
button.mjs
File size
4.67 KiB (bundled)
2.16 KiB (minified)

Character count

File size
21.24 KiB (bundled)
9.45 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
6.57 KiB (bundled)
2.92 KiB (minified)

Exit this page

File name
exit-this-page.mjs
File size
16.04 KiB (bundled)
8.86 KiB (minified)

Header

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

Notification banner

File size
4.93 KiB (bundled)
2.09 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)