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
82.56 KiB (bundled)
40.39 KiB (minified)

Accordion

File name
accordion.mjs
File size
26.58 KiB (bundled)
13.41 KiB (minified)

Button

File name
button.mjs
File size
9.09 KiB (bundled)
3.78 KiB (minified)

Character count

File size
25.39 KiB (bundled)
10.9 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
10.99 KiB (bundled)
4.54 KiB (minified)

Exit this page

File name
exit-this-page.mjs
File size
20.2 KiB (bundled)
10.34 KiB (minified)

Header

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

Notification banner

File size
9.35 KiB (bundled)
3.7 KiB (minified)

Password input

File name
password-input.mjs
File size
18.24 KiB (bundled)
8.33 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)