Work in progress
This page is a design preview. It may not contain the latest guidance and may not behave as expected.
Current guidance can always be found at design-system.dwp.gov.uk.
23 February 2024
This release:
Name
in favour of serviceName
value20 December 2023
This release:
govuk-header__link--service-name
in the header component (class removed as of GOV.UK Frontend 5.0.0)23 February 2023
This release:
max-width
property of the key details bar and header components to be set with a Sass variable instead of a dedicated class selectorThe HAS Workflow applications are moving to use a wider (1100px) .govuk-width-container
and services that use the internal services header need to override the CSS for the .dwp-key-details-bar__key-details
class so as to align with the rest of the page.
The change means the max-width
property is set with a Sass variable (e.g. $dwp-key-details-max-width: 1100px
) rather than needing a dedicated class selector.
To update the component you will need to either update your dwp-frontend
npm package or copy the updated code example from the Design System website.
To update the npm package:
dwp-frontend
on npm: @dwp/dwp-frontend
package.json
to match the latest versionnpm i @dwp/frontend
24 October 2022
This release fixes the service name alignment issue so it sits inline with the rest of the content.
The service name in the internal service header was out of alignment with the rest of the content. We have removed extra padding to correct this.
To update the component you will need to either update your dwp-frontend
npm package or copy the updated code example from the Design System website.
To update the npm package:
dwp-frontend
on npm: @dwp/dwp-frontend
package.json
to match the latest versionnpm i @dwp/frontend
Need help implementing this in a prototype or production build? Get support from the Design System team.
We depend on insights from real projects to update and improve the design system. If you use something we made, tell us how it went.
Send questions, comments or suggestions to the DWP Design System team.
Last updated: