# alphagov/govuk-frontend

GOV.UK Frontend contains the code you need to start building a user interface for government platforms and services.

Repository: https://github.com/alphagov/govuk-frontend
Canonical: https://ross.abutalabs.com/products/govuk-frontend
Homepage: https://frontend.design-system.service.gov.uk/
Language: JavaScript
License: MIT
License Family: permissive
Topics: govuk-frontend, govuk-design-system, govuk-design-system-team
Last push: 2026-08-26T16:51:59+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 93, longevity 100
- inputs: {"age_days": 3640, "days_push": 7, "days_rel": 48, "gap_med": 22.5, "n_releases_24m": 21}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1443, forks 372 (observed 2026-08-28T04:04:44.921182+00:00)

## What it is
GOV.UK Frontend is a design system framework providing CSS, JavaScript, Nunjucks macros, and assets for building consistent, accessible UK government digital services. It is maintained by the Government Digital Service and helps services meet WCAG 2.2 level AA.

## Use cases
- build a user interface for a UK government service
- make my service meet WCAG 2.2 AA accessibility
- get GOV.UK styled components like buttons and accordions
- create a consistent design system for public sector websites
- replace the old GOV.UK Template or GOV.UK Elements
- use Nunjucks macros to render government form components

## When to choose
- building a service on the GOV.UK platform or a UK public sector service
- you need accessible, tested UI components with broad browser and assistive technology support
- you want to comply with the GOV.UK Design System and Service Manual

## When to avoid
- building a non-government product with its own brand identity
- you need a full JavaScript application framework rather than CSS/HTML components
- your project relies on LibSass or Ruby Sass with version 6+

## Facets
- artifact type: framework
- maturity: stable
- function: ui-components, css-framework, frontend-framework, templating, accessibility
- domain: web-development, frontend, web-design, e-government, accessibility
- platform: cross-platform
- tags: govuk, design-system, nunjucks, sass, government-services, wcag, nodejs, web-server

## Member repositories
- alphagov/govuk-frontend (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:44.921182+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:36:20.171034+00:00, confidence not recorded.
  - readme: https://github.com/alphagov/govuk-frontend (fetched 2026-08-28T04:04:44.921182+00:00, sha 8a569fd26547)
  - homepage: https://frontend.design-system.service.gov.uk/ (fetched 2026-08-29T11:46:48.013146+00:00, sha fe45cc8ab0a5)
  - site_page: https://frontend.design-system.service.gov.uk/installing-with-npm (fetched 2026-08-29T11:46:48.025473+00:00, sha d171c2acb689)
  - site_page: https://frontend.design-system.service.gov.uk/install-using-precompiled-files (fetched 2026-08-29T11:46:48.028783+00:00, sha 2a8f057eccf7)
  - site_page: https://frontend.design-system.service.gov.uk/v4/installing-with-npm (fetched 2026-08-29T11:46:48.031066+00:00, sha cf8013b52306)
  - registry_npm: https://registry.npmjs.org/govuk-frontend (fetched 2026-08-29T11:46:48.033155+00:00, sha e90a278b0c85)
- Data as of 2026-08-30T08:39:29.467469+00:00.
