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.54 KiB (bundled)
40.36 KiB (minified)

Accordion

File name
accordion.mjs
File size
26.44 KiB (bundled)
13.33 KiB (minified)

Button

File name
button.mjs
File size
8.95 KiB (bundled)
3.71 KiB (minified)

Character count

File size
24.57 KiB (bundled)
10.6 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.85 KiB (bundled)
4.47 KiB (minified)

Exit this page

File name
exit-this-page.mjs
File size
20.06 KiB (bundled)
10.26 KiB (minified)

Header

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

Notification banner

File size
9.21 KiB (bundled)
3.63 KiB (minified)

Password input

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