Components

Service navigation

Service navigation helps users understand that they’re using your service and lets them navigate around your service.

<div
  class="govuk-service-navigation"
  data-module="govuk-service_navigation"
>
  <div class="govuk-width-container">
    <div class="govuk-service-navigation__container">
      <nav
        class="govuk-service-navigation__wrapper"
        aria-label="Menu"
      >
        <button
          type="button"
          class="govuk-service-navigation__toggle govuk-js-service-navigation-toggle"
          aria-controls="navigation"
          hidden=""
        >
          Menu
        </button>
        <ul
          id="navigation"
          class="govuk-service-navigation__list"
        >
          <li
            class="govuk-service-navigation__list__item govuk-service-navigation__list__item--active"
          >
            <a
              aria-current="page"
              class="govuk-service-navigation__list__link govuk-service-navigation__list__link--active"
              href="/"
            >
              Navigation item 1
            </a>
          </li>
          <li
            class="govuk-service-navigation__list__item govuk-service-navigation__list__item--active"
          >
            <a
              class="govuk-service-navigation__list__link govuk-service-navigation__list__link--active"
              href="#active"
            >
              Navigation item 2
            </a>
          </li>
          <li
            class="govuk-service-navigation__list__item govuk-service-navigation__list__item--active"
          >
            <a
              aria-current="page"
              class="govuk-service-navigation__list__link govuk-service-navigation__list__link--active"
              href="/"
            >
              Navigation item 3
            </a>
          </li>
        </ul>
      </nav>
    </div>
  </div>
</div>
<ServiceNavigation
  items={[
    {
      href: "/#",
      text: "Navigation item 1",
    },
    {
      href: "#active",
      text: "Navigation item 2",
    },
    {
      href: "/#",
      text: "Navigation item 3",
    },
  ]}
/>
Props
NameTypeDefaultDescription
idother'id' attribute to place on the base HTML element
classBlockotherBlock name override in BEM style classes applied to all elements
classModifiersotherBEM style modifiers to apply to the base HTML element
classNameotherExtra classes to apply to the base HTML element
defaultCheckedother
defaultValueother
suppressContentEditableWarningother
suppressHydrationWarningother
accessKeyother
autoCapitalizeother
autoFocusother
contentEditableother
contextMenuother
dirother
draggableother
enterKeyHintother
hiddenother
langother
nonceother
slotother
spellCheckother
styleother
tabIndexother
titleother
translateother
radioGroupother
roleother
aboutother
contentother
datatypeother
inlistother
prefixother
propertyother
relother
resourceother
revother
typeofother
vocabother
autoCorrectother
autoSaveother
colorother
itemPropother
itemScopeother
itemTypeother
itemIDother
itemRefother
resultsother
securityother
unselectableother
inputModeotherHints at the type of data that might be entered by the user while editing the element or its contents
isotherSpecify that a standard HTML element should behave like a defined custom built-in element
aria-activedescendantotherIdentifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.
aria-atomicotherIndicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
aria-autocompleteotherIndicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.
aria-braillelabelotherDefines a string value that labels the current element, which is intended to be converted into Braille.
aria-brailleroledescriptionotherDefines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.
aria-busyother
aria-checkedotherIndicates the current "checked" state of checkboxes, radio buttons, and other widgets.
aria-colcountotherDefines the total number of columns in a table, grid, or treegrid.
aria-colindexotherDefines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
aria-colindextextotherDefines a human readable text alternative of aria-colindex.
aria-colspanotherDefines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
aria-controlsotherIdentifies the element (or elements) whose contents or presence are controlled by the current element.
aria-currentotherIndicates the element that represents the current item within a container or set of related elements.
aria-describedbyotherIdentifies the element (or elements) that describes the object.
aria-descriptionotherDefines a string value that describes or annotates the current element.
aria-detailsotherIdentifies the element that provides a detailed, extended description for the object.
aria-disabledotherIndicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
aria-dropeffectotherIndicates what functions can be performed when a dragged object is released on the drop target.
aria-errormessageotherIdentifies the element that provides an error message for the object.
aria-expandedotherIndicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
aria-flowtootherIdentifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.
aria-grabbedotherIndicates an element's "grabbed" state in a drag-and-drop operation.
aria-haspopupotherIndicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
aria-hiddenotherIndicates whether the element is exposed to an accessibility API.
aria-invalidotherIndicates the entered value does not conform to the format expected by the application.
aria-keyshortcutsotherIndicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
aria-labelotherDefines a string value that labels the current element.
aria-labelledbyotherIdentifies the element (or elements) that labels the current element.
aria-levelotherDefines the hierarchical level of an element within a structure.
aria-liveotherIndicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
aria-modalotherIndicates whether an element is modal when displayed.
aria-multilineotherIndicates whether a text box accepts multiple lines of input or only a single line.
aria-multiselectableotherIndicates that the user may select more than one item from the current selectable descendants.
aria-orientationotherIndicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
aria-ownsotherIdentifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
aria-placeholderotherDefines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.
aria-posinsetotherDefines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
aria-pressedotherIndicates the current "pressed" state of toggle buttons.
aria-readonlyotherIndicates that the element is not editable, but is otherwise operable.
aria-relevantotherIndicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
aria-requiredotherIndicates that user input is required on the element before a form may be submitted.
aria-roledescriptionotherDefines a human-readable, author-localized description for the role of an element.
aria-rowcountotherDefines the total number of rows in a table, grid, or treegrid.
aria-rowindexotherDefines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
aria-rowindextextotherDefines a human readable text alternative of aria-rowindex.
aria-rowspanotherDefines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
aria-selectedotherIndicates the current "selected" state of various widgets.
aria-setsizeotherDefines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
aria-sortotherIndicates if items in a table or grid are sorted in ascending or descending order.
aria-valuemaxotherDefines the maximum allowed value for a range widget.
aria-valueminotherDefines the minimum allowed value for a range widget.
aria-valuenowotherDefines the current value for a range widget.
aria-valuetextotherDefines the human readable text alternative of aria-valuenow for a range widget.
dangerouslySetInnerHTMLother
onCopyother
onCopyCaptureother
onCutother
onCutCaptureother
onPasteother
onPasteCaptureother
onCompositionEndother
onCompositionEndCaptureother
onCompositionStartother
onCompositionStartCaptureother
onCompositionUpdateother
onCompositionUpdateCaptureother
onFocusother
onFocusCaptureother
onBlurother
onBlurCaptureother
onChangeother
onChangeCaptureother
onBeforeInputother
onBeforeInputCaptureother
onInputother
onInputCaptureother
onResetother
onResetCaptureother
onSubmitother
onSubmitCaptureother
onInvalidother
onInvalidCaptureother
onLoadother
onLoadCaptureother
onErrorother
onErrorCaptureother
onKeyDownother
onKeyDownCaptureother
onKeyPressother
onKeyPressCaptureother
onKeyUpother
onKeyUpCaptureother
onAbortother
onAbortCaptureother
onCanPlayother
onCanPlayCaptureother
onCanPlayThroughother
onCanPlayThroughCaptureother
onDurationChangeother
onDurationChangeCaptureother
onEmptiedother
onEmptiedCaptureother
onEncryptedother
onEncryptedCaptureother
onEndedother
onEndedCaptureother
onLoadedDataother
onLoadedDataCaptureother
onLoadedMetadataother
onLoadedMetadataCaptureother
onLoadStartother
onLoadStartCaptureother
onPauseother
onPauseCaptureother
onPlayother
onPlayCaptureother
onPlayingother
onPlayingCaptureother
onProgressother
onProgressCaptureother
onRateChangeother
onRateChangeCaptureother
onResizeother
onResizeCaptureother
onSeekedother
onSeekedCaptureother
onSeekingother
onSeekingCaptureother
onStalledother
onStalledCaptureother
onSuspendother
onSuspendCaptureother
onTimeUpdateother
onTimeUpdateCaptureother
onVolumeChangeother
onVolumeChangeCaptureother
onWaitingother
onWaitingCaptureother
onAuxClickother
onAuxClickCaptureother
onClickother
onClickCaptureother
onContextMenuother
onContextMenuCaptureother
onDoubleClickother
onDoubleClickCaptureother
onDragother
onDragCaptureother
onDragEndother
onDragEndCaptureother
onDragEnterother
onDragEnterCaptureother
onDragExitother
onDragExitCaptureother
onDragLeaveother
onDragLeaveCaptureother
onDragOverother
onDragOverCaptureother
onDragStartother
onDragStartCaptureother
onDropother
onDropCaptureother
onMouseDownother
onMouseDownCaptureother
onMouseEnterother
onMouseLeaveother
onMouseMoveother
onMouseMoveCaptureother
onMouseOutother
onMouseOutCaptureother
onMouseOverother
onMouseOverCaptureother
onMouseUpother
onMouseUpCaptureother
onSelectother
onSelectCaptureother
onTouchCancelother
onTouchCancelCaptureother
onTouchEndother
onTouchEndCaptureother
onTouchMoveother
onTouchMoveCaptureother
onTouchStartother
onTouchStartCaptureother
onPointerDownother
onPointerDownCaptureother
onPointerMoveother
onPointerMoveCaptureother
onPointerUpother
onPointerUpCaptureother
onPointerCancelother
onPointerCancelCaptureother
onPointerEnterother
onPointerLeaveother
onPointerOverother
onPointerOverCaptureother
onPointerOutother
onPointerOutCaptureother
onGotPointerCaptureother
onGotPointerCaptureCaptureother
onLostPointerCaptureother
onLostPointerCaptureCaptureother
onScrollother
onScrollCaptureother
onWheelother
onWheelCaptureother
onAnimationStartother
onAnimationStartCaptureother
onAnimationEndother
onAnimationEndCaptureother
onAnimationIterationother
onAnimationIterationCaptureother
onTransitionEndother
onTransitionEndCaptureother
endotherElements to be injected at the end of the service header container
itemsotherList of links to choose from
menuButtonTextotherThe text of the mobile navigation menu toggle
menuButtonLabelotherThe screen reader label for the mobile navigation menu toggle
navigationLabelotherThe screen reader label for the mobile navigation menu. Defaults to the same value as menuButtonText if not specified.
navigationIdotherThe ID used to associate the mobile navigation toggle with the navigation menu.
serviceHrefotherService link URL
serviceNameotherService link text
startotherElements to be injected at the start of the service header container

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.

How it works

Together, the GOV.UK header component 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].

Change the blue colour bar under the GOV.UK header to full width

To use the GOV.UK header and Service navigation and make them fit together visually, you’ll need to change the bottom blue border of the GOV.UK header to full width.

Apply a class govuk-header--full-width-border to the GOV.UK header.

<header
  class="govuk-header govuk-header--full-width-border"
  data-module="govuk-header"
>
  <div
    class="govuk-width-container govuk-header__container"
  >
    <div class="govuk-header__logo">
      <a
        class="govuk-header__link govuk-header__link--active govuk-header__link--homepage"
        href="https://www.gov.uk/"
      >
        <svg
          xmlns="http://www.w3.org/2000/svg"
          viewBox="0 0 148 30"
          height="30"
          width="148"
          role="img"
          aria-label="GOV.UK"
          focusable="false"
          class="govuk-header__logotype"
        >
          <title>GOV.UK</title>
          <path
            d="M22.6 10.4c-1 .4-2-.1-2.4-1-.4-.9.1-2 1-2.4.9-.4 2 .1 2.4 1s-.1 2-1 2.4m-5.9 6.7c-.9.4-2-.1-2.4-1-.4-.9.1-2 1-2.4.9-.4 2 .1 2.4 1s-.1 2-1 2.4m10.8-3.7c-1 .4-2-.1-2.4-1-.4-.9.1-2 1-2.4.9-.4 2 .1 2.4 1s0 2-1 2.4m3.3 4.8c-1 .4-2-.1-2.4-1-.4-.9.1-2 1-2.4.9-.4 2 .1 2.4 1s-.1 2-1 2.4M17 4.7l2.3 1.2V2.5l-2.3.7-.2-.2.9-3h-3.4l.9 3-.2.2c-.1.1-2.3-.7-2.3-.7v3.4L15 4.7c.1.1.1.2.2.2l-1.3 4c-.1.2-.1.4-.1.6 0 1.1.8 2 1.9 2.2h.7c1-.2 1.9-1.1 1.9-2.1 0-.2 0-.4-.1-.6l-1.3-4c-.1-.2 0-.2.1-.3m-7.6 5.7c.9.4 2-.1 2.4-1 .4-.9-.1-2-1-2.4-.9-.4-2 .1-2.4 1s0 2 1 2.4m-5 3c.9.4 2-.1 2.4-1 .4-.9-.1-2-1-2.4-.9-.4-2 .1-2.4 1s.1 2 1 2.4m-3.2 4.8c.9.4 2-.1 2.4-1 .4-.9-.1-2-1-2.4-.9-.4-2 .1-2.4 1s0 2 1 2.4m14.8 11c4.4 0 8.6.3 12.3.8 1.1-4.5 2.4-7 3.7-8.8l-2.5-.9c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7-.8.9-1.4.2-.6.3-1.2.3-2v-13h4.1v13.6c0 1.2-.2 2.2-.6 3.1s-1 1.7-1.8 2.4c-.7.7-1.6 1.2-2.7 1.5-1 .4-2.2.5-3.4.5-1.2 0-2.4-.2-3.4-.5-1-.4-1.9-.9-2.7-1.5-.8-.7-1.3-1.5-1.8-2.4-.4-.9-.6-2-.6-3.1V6.9h4.2v13c0 .8.1 1.4.3 2 .2.6.5 1 .9 1.4.4.4.8.6 1.4.8.6.2 1.1.3 1.8.3zm13-17.4h4.2v9.1l7.4-9.1h5.2l-7.2 8.4L148 28h-4.9l-5.5-9.4-2.7 3V28h-4.2V7zm-27.6 16.1c-1.5 0-2.7 1.2-2.7 2.7s1.2 2.7 2.7 2.7 2.7-1.2 2.7-2.7-1.2-2.7-2.7-2.7z"
          ></path>
        </svg>
      </a>
    </div>
    <div class="govuk-header__content"></div>
  </div>
</header>
<div
  class="govuk-service-navigation"
  data-module="govuk-service_navigation"
>
  <div class="govuk-width-container">
    <div class="govuk-service-navigation__container">
      <nav
        class="govuk-service-navigation__wrapper"
        aria-label="Menu"
      >
        <button
          type="button"
          class="govuk-service-navigation__toggle govuk-js-service-navigation-toggle"
          aria-controls="navigation"
          hidden=""
        >
          Menu
        </button>
        <ul
          id="navigation"
          class="govuk-service-navigation__list"
        >
          <li
            class="govuk-service-navigation__list__item govuk-service-navigation__list__item--active"
          >
            <a
              aria-current="page"
              class="govuk-service-navigation__list__link govuk-service-navigation__list__link--active"
              href="/"
            >
              Navigation item 1
            </a>
          </li>
          <li
            class="govuk-service-navigation__list__item govuk-service-navigation__list__item--active"
          >
            <a
              class="govuk-service-navigation__list__link govuk-service-navigation__list__link--active"
              href="#active"
            >
              Navigation item 2
            </a>
          </li>
          <li
            class="govuk-service-navigation__list__item govuk-service-navigation__list__item--active"
          >
            <a
              aria-current="page"
              class="govuk-service-navigation__list__link govuk-service-navigation__list__link--active"
              href="/"
            >
              Navigation item 3
            </a>
          </li>
        </ul>
      </nav>
    </div>
  </div>
</div>
<>
  <Header govUK classModifiers="full-width-border" />
  <ServiceNavigation
    items={[
      {
        href: "/#",
        text: "Navigation item 1",
      },
      {
        href: "#active",
        text: "Navigation item 2",
      },
      {
        href: "/#",
        text: "Navigation item 3",
      },
    ]}
  />
</>

Showing your service name only

We recommend that you use the Service navigation component to show your service name, instead of the GOV.UK header, and to start updating existing services.

<section
  class="govuk-service-navigation"
  aria-label="Service information"
  data-module="govuk-service_navigation"
>
  <div class="govuk-width-container">
    <div class="govuk-service-navigation__container">
      <span
        class="govuk-service-navigation__service-name"
      >
        <a
          class="govuk-link govuk-link--active govuk-service-navigation__link"
          href="#"
        >
          Service name
        </a>
      </span>
    </div>
  </div>
</section>
<ServiceNavigation
  serviceName="Service name"
  serviceHref="#"
/>

Showing service name and navigation links

Show navigation links to let users navigate to different parts of your service and find useful links and tools.

<section
  class="govuk-service-navigation"
  aria-label="Service information"
  data-module="govuk-service_navigation"
>
  <div class="govuk-width-container">
    <div class="govuk-service-navigation__container">
      <span
        class="govuk-service-navigation__service-name"
      >
        <a
          class="govuk-link govuk-link--active govuk-service-navigation__link"
          href="#"
        >
          Service name
        </a>
      </span>
      <nav
        class="govuk-service-navigation__wrapper"
        aria-label="Menu"
      >
        <button
          type="button"
          class="govuk-service-navigation__toggle govuk-js-service-navigation-toggle"
          aria-controls="navigation"
          hidden=""
        >
          Menu
        </button>
        <ul
          id="navigation"
          class="govuk-service-navigation__list"
        >
          <li
            class="govuk-service-navigation__list__item govuk-service-navigation__list__item--active"
          >
            <a
              aria-current="page"
              class="govuk-service-navigation__list__link govuk-service-navigation__list__link--active"
              href="/"
            >
              Navigation item 1
            </a>
          </li>
          <li
            class="govuk-service-navigation__list__item govuk-service-navigation__list__item--active"
          >
            <a
              class="govuk-service-navigation__list__link govuk-service-navigation__list__link--active"
              href="#active"
            >
              Navigation item 2
            </a>
          </li>
          <li
            class="govuk-service-navigation__list__item govuk-service-navigation__list__item--active"
          >
            <a
              aria-current="page"
              class="govuk-service-navigation__list__link govuk-service-navigation__list__link--active"
              href="/"
            >
              Navigation item 3
            </a>
          </li>
        </ul>
      </nav>
    </div>
  </div>
</section>
<ServiceNavigation
  serviceName="Service name"
  serviceHref="#"
  items={[
    {
      href: "/#",
      text: "Navigation item 1",
    },
    {
      href: "#active",
      text: "Navigation item 2",
    },
    {
      href: "/#",
      text: "Navigation item 3",
    },
  ]}
/>

See when and how to show navigation links in the [Help users navigate a service pattern].