GOV.UK Frontend
freeThe GOV.UK Design System's HTML, Sass and JS: plain, accessible form and content components for public services.

Try these
U.S. Web Design System
The US government's design system: Sass, HTML and JS components, design tokens and the .gov banner.
Chakra UI
Accessible React components styled through style props and a token system, built on Ark UI.
Ant Design
Enterprise React design system: 70+ dense components for data-heavy back-office apps.
Flowbite
Tailwind component classes plus a small JS layer for dropdowns, modals and drawers; React, Vue and Svelte ports.
Looks that pick it
For your agent
Install
npm i govuk-frontendUse it for
- a UK government or public sector service built to the GOV.UK Service Standard
- a long government service form or eligibility checker, one question per page, with error summary and check-your-answers summary list
- plain, accessible, low-bandwidth forms that still work without JavaScript
Skip it when
- a US federal, state or local government site: use uswds
- a SaaS or consumer brand: the plain civic look is the point; use shadcn-ui or heroui
What's inside35 free
- Accordion
- Back link
- Breadcrumbs
- Button
- Character count
- Checkboxes
- Cookie banner
- Date input
- Details
- Error message
- Error summary
- Exit this page
- Fieldset
- File upload
- Footer
- Generic header
- GOV.UK header
- Inset text
- Notification banner
- Pagination
- Panel
- Password input
- Phase banner
- Radios
- Select
- Service navigation
- Skip link
- Summary list
- Table
- Tabs
- Tag
- Task list
- Text input
- Textarea
- Warning text
Facts
- Frameworks
- vanilla, react, vue, svelte, solid, angular
- Styling
- css
- Weight
- small
- Accessibility
- strong
- Maturity
- established
- License
- MIT
- Price
- Free
Alternatives
// styles.scss
@use "pkg:govuk-frontend" as *;
// app.js
import { initAll } from "govuk-frontend"
initAll()
<div class="govuk-form-group">
<label class="govuk-label" for="email">Email address</label>
<input class="govuk-input" id="email" name="email" type="email" autocomplete="email" spellcheck="false">
</div>
<button type="submit" class="govuk-button" data-module="govuk-button">Continue</button>https://design-system.service.gov.uk/components/
Loading website