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
85.04 KiB (bundled)
40.63 KiB (minified)

Accordion

File name
accordion.mjs
File size
28.93 KiB (bundled)
13.64 KiB (minified)

Button

File name
button.mjs
File size
11.44 KiB (bundled)
4.01 KiB (minified)

Character count

File size
27.91 KiB (bundled)
11.17 KiB (minified)

Checkboxes

File name
checkboxes.mjs
File size
13.75 KiB (bundled)
5.12 KiB (minified)

Error summary

File name
error-summary.mjs
File size
13.34 KiB (bundled)
4.77 KiB (minified)

Exit this page

File name
exit-this-page.mjs
File size
22.55 KiB (bundled)
10.57 KiB (minified)

Header

File name
header.mjs
File size
12.41 KiB (bundled)
4.91 KiB (minified)

Notification banner

File size
11.7 KiB (bundled)
3.93 KiB (minified)

Password input

File name
password-input.mjs
File size
20.6 KiB (bundled)
8.56 KiB (minified)

Radios

File name
radios.mjs
File size
12.75 KiB (bundled)
4.67 KiB (minified)

Service navigation

File size
12.39 KiB (bundled)
4.95 KiB (minified)

Skip link

File name
skip-link.mjs
File size
12.34 KiB (bundled)
4.46 KiB (minified)

Tabs

File name
tabs.mjs
File size
17.98 KiB (bundled)
8.36 KiB (minified)