This is an internal development app.
To learn how to use the GOV.UK Design System in your project, see Get started.

Skip to main content

GOV.UK Frontend


Documentation

Sass API reference

JavaScript API reference


JavaScript modules

Entry file name
all.mjs
Total file size
81.79 KiB (bundled)
41.47 KiB (minified)

Accordion

File name
accordion.mjs
File size
23.5 KiB (bundled)
12.39 KiB (minified)

Button

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

Character count

File size
22.4 KiB (bundled)
9.92 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)

Password input

File name
password-input.mjs
File size
15.15 KiB (bundled)
7.25 KiB (minified)

Radios

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

Service navigation

File size
4.46 KiB (bundled)
2.69 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.05 KiB (bundled)
6.06 KiB (minified)