DWP Frontend contains the UI elements consumed by the DWP design system
It is maintained by the DWP Design System Team.
The team welcomes contributions.
Check the project changelog.
You can install dwp-frontend
using either the GitLab or NPM registry.
Once you've installed the package you will need to configure it.
Recent versions of the GOV.UK Prototype Kit add dwp-frontend as a plugin - so you can use the components/HTML without config.
If you are not using the prototype kit you will need to configure the SASS and your view engine to have context of the components.
- Install the dwp-frontend package:
npm i @dwp/dwp-frontend
.