# NHS.UK frontend

Frontend code, with CSS, JavaScript and assets, for building user interfaces for NHS websites and services.


Source: https://findsoftware.frbit.cloud/nhsuk-frontend/
Last reviewed: 2026-10-27
Updated: 2026-10-28
Listed since: 2026-10-27

## Record

### Links

- home: https://nhsuk.github.io/nhsuk-frontend/
- repository: https://github.com/nhsuk/nhsuk-frontend
- docs: https://github.com/nhsuk/nhsuk-frontend/tree/main/docs

### Identity

- status: active
- maintainer: NHS England
- maintainerType: unknown
- parent: unknown
- firstRelease: 2018
- hqCountry: unknown

### Kind

- category: css-framework, ui-library
- hosting: not applicable
- language: javascript
- runtime: unknown
- runtimeMin: not applicable
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: nunjucks
- i18n: not applicable

### Rendering and deploy

- runsAs: browser
- renderingModes: not applicable
- installMethod: npm

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 10
- latestReleaseDate: 2026-10-27

### Adoption

- githubStargazers: 688
- packagistDownloads: not applicable
- npmWeeklyDownloads: 38145
- contributors: 60
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 244
- dependentPackages: 14

### Sources

- urls: https://nhsuk.github.io/nhsuk-frontend/ (read 2026-10-27)
- urls: https://github.com/nhsuk/nhsuk-frontend (read 2026-10-27)
- urls: https://github.com/nhsuk/nhsuk-frontend/blob/main/README.md (read 2026-10-27)
- firstRelease: https://github.com/nhsuk/nhsuk-frontend/releases/tag/0.1.4 (read 2026-10-27)
- maintainer: https://github.com/nhsuk/nhsuk-frontend/blob/main/LICENSE (read 2026-10-27)
- language: https://github.com/nhsuk/nhsuk-frontend (read 2026-10-27)
- category: https://github.com/nhsuk/nhsuk-frontend/blob/main/README.md (read 2026-10-27)
- installMethod: https://github.com/nhsuk/nhsuk-frontend/blob/main/docs/installation/installing-with-npm.md (read 2026-10-27)
- installMethod: https://github.com/nhsuk/nhsuk-frontend/blob/main/README.md (read 2026-10-27)
- templating: https://github.com/nhsuk/nhsuk-frontend/blob/main/docs/installation/installing-with-npm.md (read 2026-10-27)
- runsAs: https://github.com/nhsuk/nhsuk-frontend/blob/main/docs/installation/installing-compiled.md (read 2026-10-27)
- license: https://github.com/nhsuk/nhsuk-frontend (read 2026-10-27)
- license: https://github.com/nhsuk/nhsuk-frontend/blob/main/LICENSE (read 2026-10-27)
- license: https://github.com/nhsuk/nhsuk-frontend/blob/main/README.md (read 2026-10-27)
- licenseModel: https://github.com/nhsuk/nhsuk-frontend (read 2026-10-27)
- currentMajor: https://github.com/nhsuk/nhsuk-frontend/releases/tag/v10.7.0 (read 2026-10-27)
- latestReleaseDate: https://github.com/nhsuk/nhsuk-frontend/releases/tag/v10.7.0 (read 2026-10-27)
- githubStargazers: https://github.com/nhsuk/nhsuk-frontend (read 2026-10-27)
- contributors: https://github.com/nhsuk/nhsuk-frontend (read 2026-10-27)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-09-28:2026-10-04/nhsuk-frontend (read 2026-10-28)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/nhsuk-frontend (read 2026-10-27)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/nhsuk-frontend (read 2026-10-27)

## Notes

NHS.UK frontend is the code for building user interfaces for NHS websites and services, maintained by NHS England and published on npm as nhsuk-frontend. The npm route gives a project the Sass source, which it forwards into its own stylesheet, the JavaScript that starts all components with an initAll call, and Nunjucks macros for the components. The [installation guide](https://github.com/nhsuk/nhsuk-frontend/blob/main/docs/installation/installing-with-npm.md) describes that route, and the [precompiled-files guide](https://github.com/nhsuk/nhsuk-frontend/blob/main/docs/installation/installing-compiled.md) describes copying the built CSS, JavaScript and assets into a project instead.

## Worth knowing

The precompiled files cannot change the Sass settings, cannot use the Nunjucks macros and cannot import single components, so the guide points live applications to the npm route. The npm route needs Node.js and Dart Sass in the project's build. The README points to the NHS digital service manual for component examples and guidance.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
