Skip to content

v6.5.0

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Aug 14:21
fbf045a

To install this version with npm, run npm install govuk-frontend@6.5.0. You can also find more information about how to stay up to date in our documentation.

New features

We’ve introduced the ‘Trial’ status tag for new components or variants of components

We’ve introduced the ‘Trial’ status tag for new components or variants of components that might not meet all our contribution criteria. We release trial components to:

  • get feedback from the community
  • allow services to trial the components with users

See the guidance on Component lifecycles for more information on trial components.

Use the Language navigation component to let users switch between languages

We've added the Language navigation component to let users switch between languages your service offers.

This component is currently in trial status.

We made this change in pull request #7226: Add Language navigation component.

Thanks to @danacotoran for suggesting this component.

Use the Feedback component to collect feedback from users of your service

We've added the Feedback component to help services collect feedback from their users throughout their service.

This component is currently in trial status.

We made this change in pull request #7232: Add Feedback component.

Align content of Service navigation's end slot with navigation items

When enough space is available on a user’s screen, you can display content in the end slot in line with the navigation items to the right rather than underneath the navigation items.

This can be useful when inserting content users expect in that area, such as:

  • language navigation
  • authentication and account links

If you use Nunjucks, the end slot now accepts an object with the HTML to insert an align option:

{{ govukServiceNavigation({
  /* Other component options */
  slots: {
    end: {
      html: /* Content of the slot */,
      align: 'inline'
    }
  }
}) }}

If you do not use Nunjucks to generate your components' HTML, add the govuk-service-navigation__inlining-container class to the <div class="govuk-width-container"> inside your Service navigation.

We made this change in pull request #7349: Update how Service Navigation aligns the end slot.

Recommended changes

Update references to deprecated organisation colours

Following the July 2026 machinery of government changes, we've made the following updates to Frontend's list of organisation colours:

  • department-for-science-innovation-technology has been deprecated
  • department-for-business-trade has been deprecated - use department-for-business-innovation-science-trade instead
  • department-for-culture-media-sport has been deprecated – use department-for-digital-culture-media-sport instead

We’ll remove deprecated organisation names in a future major release of GOV.UK Frontend.

We made this change in the following pull requests:

Fixes

We've made fixes to GOV.UK Frontend in the following pull requests: