GOV.UK frontend toolkit npm package
September 9, 2025 ยท View on GitHub
Warning
GOV.UK Frontend Toolkit is deprecated. To design your service using actively maintained and accessible styles, components and patterns, migrate to the GOV.UK Design System.
GOV.UK frontend toolkit npm package
This is an npm package for the GOV.UK frontend toolkit. It bundles up the toolkit and publishes govuk_frontend_toolkit on the npmjs registry so that you can install it as a dependency in your JavaScript application.
Installing
To include the toolkit in your project run:
npm install --save govuk_frontend_toolkit
This will install the toolkit inside your node_modules and will add the
package to your package.json.
Updating this package
All development of the toolkit should happen upstream and changes will then become available in this package.
When master is changed in the upstream repo Travis will trigger a build
of this repository, which will automatically build and publish the module if the
version in VERSION.txt is newer than the version published on NPM registry.