--- url: "https://design-system.service.gov.uk/components/service-navigation" titulek: "Service navigation – GOV.UK Design System" h1: "Service navigation" popis: "Service navigation helps users understand that they’re using your service and lets them navigate around your service" jazyk: "en" kanonicka: "https://design-system.service.gov.uk/components/service-navigation/" drobecky: ["Home", "Components"] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-14 02:11:57" znaku: 4762 slov: 731 kodovani: "utf-8" sha256: "d1702b80c500bac539c8f571e6524c787f96bd412525a112291859f58d61f1e4" --- # Service navigation Service navigation helps users understand that they’re using your service and lets them navigate around your service. If you use the page template, you’ll also get the Service navigation without having to add it, as it’s included by default. However, if you want to customise the default Service navigation, read the [page template guidance about customising components](/styles/page-template/#changing-template-content). ## When to use this component Use the Service navigation to help users understand that they’re using your service. To decide when to use navigation links in your service, see the [Help users to navigate a service pattern](/patterns/navigate-a-service/). ## How it works Together, the [GOV.UK header component](/components/header/) and Service navigation component ensure users get a consistent experience on GOV.UK. This also assures users that they’re in the right place to use your service and to understand that GOV.UK functions as one website. For guidance on how to plan your header and navigation, see the [Help users navigate a service pattern](/patterns/navigate-a-service/). ### Showing your service name only Use the Service navigation component to show your service name. Show navigation links to let users navigate to different parts of your service and find useful links and tools. See when and how to show navigation links in the [Help users navigate a service pattern](/patterns/navigate-a-service/). ## Use ‘slots’ to add custom HTML code The Service navigation includes the option to use ‘slots’ to render custom HTML code at specific places inside the component. You must provide your own styles and JavaScript for the custom HTML code within a slot, particularly if you’re not adding an existing component. You’ll need to decide on the most appropriate layout and positioning. The Help users to navigate a service pattern includes some guidance on ‘[Adding other header and navigation elements](/patterns/navigate-a-service/#adding-other-header-and-navigation-elements)’. If you use the [trial Language navigation component](/components/language-navigation) and provide your whole service in more than one language, you can use the ‘end’ slot to show language options within the Service navigation and align it with navigation items. When enough space is available on screen, the Service navigation component can render custom HTML inline with navigation items, to their right, rather than underneath the navigation items. If you use HTML: 1. Place the custom HTML code in the end slot before the closing `` of the `
` element. 2. Add the `govuk-service-navigation__inlining-container` to the `
` element. If you use Nunjucks: 1. Place the custom HTML code in the `html` option of the `end` slot. 2. Set the `align` option of the `end` slot to `"inline"` . This can help save space when showing tools users expect to see in that area, like a [language navigation](/components/language-navigation), or authentication and account links. ### Make sure the ‘aria-label’ is accurate for users of assistive technology When a service name is shown, we let users know that there’s information about the service with a ‘region landmark’ using the `
` element. Depending on what you add in the slots, you might need to rename the `aria-label` to accurately describe what’s in the section. ### Test with each update of GOV.UK Frontend There’s a risk that slot contents may look or work differently in a future release of GOV.UK Frontend. You’ll need to ensure that slot content still works as intended after each update. In June 2025, we updated this component to support a wider refresh of the GOV.UK brand. You should now use the refreshed GOV.UK branding. If your service has updated to GOV.UK Frontend v6.0.0 or later, you no longer need to use the `govukRebrand` feature flag and should remove it. ## Research on this component See the [research section in the Help users navigate a service pattern](/patterns/navigate-a-service/#research-on-this-pattern) for a summary of our research on the GOV.UK header and Service navigation, and how you can share your feedback with us. ## Help improve this component To help make sure that this page is useful, relevant and up to date, you can: - take part in the [‘Service navigation’ discussion on GitHub](https://github.com/alphagov/govuk-design-system-backlog/issues/76) and share your research - [propose a change on GitHub](https://github.com/alphagov/govuk-design-system/edit/main/src/components/service-navigation/index.md) – read more about [how to propose changes in GitHub](/community/propose-a-content-change-using-github/) ## Need help? If you’ve got a question about the GOV.UK Design System, [contact the team](/contact/).