FindSoftware

NHS.UK frontend

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

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 describes that route, and the precompiled-files guide 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.

Identity

Status
Active
Maintainer
NHS England5
First release
20184

Rendering and deploy

Runs as
In the browser7
Install with
npm36

Releases

Current major version
108
Last release
2026-10-278

Adoption

GitHub stars
6882
npm downloads a week
38,1459
Contributors
602
Dependent repositories
24410
Dependent packages
1410

Why these figures do not compare

Sources

  1. 2026-10-27: links
    nhsuk.github.io/nhsuk-frontend/
  2. 2026-10-27: links, Written in, License, License model, GitHub stars, Contributors
    github.com/nhsuk/nhsuk-frontend
  3. 2026-10-27: links, Categories, Install with, License
    github.com/nhsuk/nhsuk-frontend/blob/main/README.md
  4. 2026-10-27: First release
    github.com/nhsuk/nhsuk-frontend/releases/tag/0.1.4
  5. 2026-10-27: Maintainer, License
    github.com/nhsuk/nhsuk-frontend/blob/main/LICENSE
  6. 2026-10-27: Install with, Templating
    github.com/nhsuk/nhsuk-frontend/blob/main/docs/installation/installing-with-npm.md
  7. 2026-10-27: Runs as
    github.com/nhsuk/nhsuk-frontend/blob/main/docs/installation/installing-compiled.md
  8. 2026-10-27: Current major version, Last release
    github.com/nhsuk/nhsuk-frontend/releases/tag/v10.7.0
  9. 2026-10-28: npm downloads a week
    api.npmjs.org/downloads/range/2026-09-28:2026-10-04/nhsuk-frontend
  10. 2026-10-27: Dependent repositories, Dependent packages
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/nhsuk-frontend

Last reviewed · Updated · Listed since Edit on GitHubThis page as markdownas JSON