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
84.05 KiB (bundled)
41.03 KiB (minified)

Accordion

File name
accordion.mjs
File size
27.17 KiB (bundled)
13.51 KiB (minified)

Button

File name
button.mjs
File size
9.69 KiB (bundled)
3.89 KiB (minified)

Character count

File size
26.13 KiB (bundled)
11.05 KiB (minified)

Checkboxes

File name
checkboxes.mjs
File size
7.81 KiB (bundled)
3.42 KiB (minified)

Error summary

File name
error-summary.mjs
File size
9.87 KiB (bundled)
4.07 KiB (minified)

Exit this page

File name
exit-this-page.mjs
File size
19.08 KiB (bundled)
9.86 KiB (minified)

Header

File name
header.mjs
File size
6.46 KiB (bundled)
3.22 KiB (minified)

Notification banner

File size
8.24 KiB (bundled)
3.23 KiB (minified)

Password input

File name
password-input.mjs
File size
17.13 KiB (bundled)
7.86 KiB (minified)

Radios

File name
radios.mjs
File size
6.81 KiB (bundled)
2.98 KiB (minified)

Service navigation

File size
6.44 KiB (bundled)
3.26 KiB (minified)

Skip link

File name
skip-link.mjs
File size
6.4 KiB (bundled)
2.76 KiB (minified)

Tabs

File name
tabs.mjs
File size
12.04 KiB (bundled)
6.67 KiB (minified)