History
DWP Frontend v2.6.0
23 February 2024
What's new in v2.6.0
This release:
- Refactors macro and header CSS
 - Deprecates 
Namein favour ofserviceNamevalue 
DWP Frontend v2.5.0
20 December 2023
What's new in v2.5.0
This release:
- Switches from using 
govuk-header__link--service-namein the header component (class removed as of GOV.UK Frontend 5.0.0) 
DWP Frontend v2.4.0
23 February 2023
What's new in v2.4.0
This release:
- Changes the 
max-widthproperty of the key details bar and header components to be set with a Sass variable instead of a dedicated class selector - Fixes a padding issue in the key details bar component
 
Why this change was made
Max-width property
The 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.
How to implement v2.4.0
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:
- Find out the latest version of 
dwp-frontendon npm:@dwp/dwp-frontend - Edit the version number in your project's 
package.jsonto match the latest version - Run 
npm i @dwp/frontend 
DWP Frontend v2.3.6
24 October 2022
What's new in v2.3.6
This release fixes the service name alignment issue so it sits inline with the rest of the content.
Why this alignment fix was needed
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.
How to implement v2.3.6
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:
- Find out the latest version of 
dwp-frontendon npm:@dwp/dwp-frontend - Edit the version number in your project's 
package.jsonto match the latest version - Run 
npm i @dwp/frontend 
Get support
Need help implementing this in a prototype or production build? Get support from the Design System team.
Give feedback
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.
Could we improve this page?
Send questions, comments or suggestions to the DWP Design System team.
Last updated: