Header
The header component shows users they are on a Ministry of Defence site and which service they are using.
<header class="govuk-header" data-module="govuk-header">
<div class="govuk-header__container govuk-width-container">
<div class="moduk-header__logo govuk-header__logo">
<a
href="/"
class="govuk-header__link govuk-header__link--homepage"
title="Home"
>
<span class="govuk-header__logotype">
<svg
aria-hidden="true"
focusable="false"
class="moduk-header__logotype-modlogo"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 210 40"
height="40"
width="210"
>
<title>Ministry of Defence</title>
<path
fill="currentColor"
d="M1.7,0H0v40h1.7V0z M43.9,15.8h2.6L51,28l4.6-12.2h2.6v14.5h-1.8v-12h-0.1l-4.5,12h-1.7l-4.5-12v12h-1.8V15.8z M62.4,18h-1.7v-2.1h1.7V18z M60.7,19.8h1.7v10.5h-1.7V19.8z M64.5,19.8h1.6v1.7h0.1c0.8-1.3,1.9-1.9,3.4-1.9c2.7,0,3.6,1.6,3.6,3.8 v6.9h-1.7v-7.1c0-1.3-0.8-2.1-2.1-2.1c-2.1,0-3.1,1.4-3.1,3.3v5.9h-1.7L64.5,19.8L64.5,19.8z M77,18h-1.7v-2.1H77V18z M75.3,19.8H77 v10.5h-1.7V19.8z M80.3,27c0.1,1.6,1.4,2,2.8,2c1.1,0,2.5-0.3,2.5-1.6c0-1.3-1.7-1.6-3.4-1.9c-1.7-0.4-3.4-1-3.4-2.9 c0-2.1,2.1-2.9,3.9-2.9c2.3,0,4.1,0.8,4.3,3.3h-1.7c-0.1-1.3-1.3-1.8-2.4-1.8c-1,0-2.2,0.3-2.2,1.3c0,1.2,1.8,1.4,3.4,1.8 c1.7,0.4,3.4,1,3.4,2.9c0,2.5-2.3,3.3-4.5,3.3c-2.4,0-4.3-1-4.5-3.5H80.3z M91.3,19.8h2.1v1.5h-2.1v6.5c0,0.8,0.2,0.9,1.3,0.9h0.8 v1.5H92c-1.8,0-2.5-0.4-2.5-2.3v-6.6h-1.8v-1.5h1.8v-3.1h1.7V19.8z M94.6,19.8h1.6V22h0.1c0.8-1.7,2-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1-1.6,0.3-2.3,0.5c-0.3,0.1-0.6,0.3-0.9,0.4 c-0.1,0.1-0.1,0.1-0.2,0.1c-0.1,0.1-0.1,0.1-0.2,0.1c-0.3,0.2-0.5,0.3-0.7,0.4c0.1,0,0.1,0.1,0.1,0.1c0.8,0.4,1,0.4,1.1,0.4 c0.1,0,0.1,0,0.2,0.1c0.6,0.1,1.1,0.3,1.3,0.6c0,0,0,0.1,0.1,0.1c0.1,0.1,0.2,0.1,0.2,0.2c0,0,0,0.1,0.1,0.1 c0.3-0.1,0.5-0.2,0.7-0.3c0.1-0.1,0.1-0.1,0.2-0.1s0.1-0.1,0.2-0.1c0.3-0.3,0.6-0.5,1.2-0.8c1.8-0.7,4.7-1.1,4.7-1.1 S30.6,21.7,28.3,21.7z"
></path>
</svg>
</span>
</a>
</div>
</div>
</header>
Nunjucks macro options
Use options to customise the appearance, content and behaviour of a component when using a macro, for example, changing the text.
Some options are required for the macro to work; these are marked as "Required" in the option description.
If you’re using Nunjucks macros in production with "html" options, or ones ending with "html", you must sanitise the HTML to protect against cross-site scripting exploits.
Name | Type | Description |
---|---|---|
homepageUrl | string | The URL of the homepage. Defaults to |
productName | string | Product name, used when the product name follows on directly from ‘GOV.UK’. For example, GOV.UK Pay or GOV.UK Design System. In most circumstances, you should use |
serviceName | string | The name of your service, included in the header. |
serviceUrl | string | URL for the service name anchor. |
navigation | array | Can be used to add navigation to the header component. See navigation. |
navigationClasses | string | Classes for the navigation section of the header. |
navigationLabel | string | Text for the |
menuButtonLabel | string | Text for the |
menuButtonText | string | Text of the button that opens the mobile navigation menu, if there is a mobile navigation menu. There is no enforced character limit, but there is a limited display space so keep text as short as possible. By default, this is set to 'Menu'. |
containerClasses | string | Classes for the container, useful if you want to make the header fixed width. |
classes | string | Classes to add to the header container. |
attributes | object | HTML attributes (for example data attributes) to add to the header container. |
useTudorCrown | boolean | Deprecated. If |
Name | Type | Description |
---|---|---|
text | string | Required. Text for the navigation item. If |
html | string | Required. HTML for the navigation item. If |
href | string | URL of the navigation item anchor. |
active | boolean | Flag to mark the navigation item as active or not. |
attributes | object | HTML attributes (for example data attributes) to add to the navigation item anchor. |
{% from "moduk/components/header/macro.njk" import modukHeader -%}
{{ modukHeader({}) -}}
When to use this component
You must use the header at the top of every page if your service uses MOD.UK Frontend.
When not to use this component
You must not use the header if the general public will use your service.
How it works
Default header
Use the default header if your service has 5 pages or fewer.
<header class="govuk-header" data-module="govuk-header">
<div class="govuk-header__container govuk-width-container">
<div class="moduk-header__logo govuk-header__logo">
<a
href="/"
class="govuk-header__link govuk-header__link--homepage"
title="Home"
>
<span class="govuk-header__logotype">
<svg
aria-hidden="true"
focusable="false"
class="moduk-header__logotype-modlogo"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 210 40"
height="40"
width="210"
>
<title>Ministry of Defence</title>
<path
fill="currentColor"
d="M1.7,0H0v40h1.7V0z M43.9,15.8h2.6L51,28l4.6-12.2h2.6v14.5h-1.8v-12h-0.1l-4.5,12h-1.7l-4.5-12v12h-1.8V15.8z M62.4,18h-1.7v-2.1h1.7V18z M60.7,19.8h1.7v10.5h-1.7V19.8z M64.5,19.8h1.6v1.7h0.1c0.8-1.3,1.9-1.9,3.4-1.9c2.7,0,3.6,1.6,3.6,3.8 v6.9h-1.7v-7.1c0-1.3-0.8-2.1-2.1-2.1c-2.1,0-3.1,1.4-3.1,3.3v5.9h-1.7L64.5,19.8L64.5,19.8z M77,18h-1.7v-2.1H77V18z M75.3,19.8H77 v10.5h-1.7V19.8z M80.3,27c0.1,1.6,1.4,2,2.8,2c1.1,0,2.5-0.3,2.5-1.6c0-1.3-1.7-1.6-3.4-1.9c-1.7-0.4-3.4-1-3.4-2.9 c0-2.1,2.1-2.9,3.9-2.9c2.3,0,4.1,0.8,4.3,3.3h-1.7c-0.1-1.3-1.3-1.8-2.4-1.8c-1,0-2.2,0.3-2.2,1.3c0,1.2,1.8,1.4,3.4,1.8 c1.7,0.4,3.4,1,3.4,2.9c0,2.5-2.3,3.3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,0.6-0.3,0.9-0.4c0.2-0.1,0.4-0.2,0.6-0.2c1.5-0.8,2.6-1.4,2.7-1.5c0.3-0.2,0.9-0.5,1.1-0.8c0.2-0.1,0.4-0.3,0.5-0.5 s0.3-0.3,0.3-0.3l0.2-0.2H30.4z M28.3,21.7c-0.2,0-0.5,0-0.7,0c-0.8,0.1-1.6,0.3-2.3,0.5c-0.3,0.1-0.6,0.3-0.9,0.4 c-0.1,0.1-0.1,0.1-0.2,0.1c-0.1,0.1-0.1,0.1-0.2,0.1c-0.3,0.2-0.5,0.3-0.7,0.4c0.1,0,0.1,0.1,0.1,0.1c0.8,0.4,1,0.4,1.1,0.4 c0.1,0,0.1,0,0.2,0.1c0.6,0.1,1.1,0.3,1.3,0.6c0,0,0,0.1,0.1,0.1c0.1,0.1,0.2,0.1,0.2,0.2c0,0,0,0.1,0.1,0.1 c0.3-0.1,0.5-0.2,0.7-0.3c0.1-0.1,0.1-0.1,0.2-0.1s0.1-0.1,0.2-0.1c0.3-0.3,0.6-0.5,1.2-0.8c1.8-0.7,4.7-1.1,4.7-1.1 S30.6,21.7,28.3,21.7z"
></path>
</svg>
</span>
</a>
</div>
</div>
</header>
Nunjucks macro options
Use options to customise the appearance, content and behaviour of a component when using a macro, for example, changing the text.
Some options are required for the macro to work; these are marked as "Required" in the option description.
If you’re using Nunjucks macros in production with "html" options, or ones ending with "html", you must sanitise the HTML to protect against cross-site scripting exploits.
Name | Type | Description |
---|---|---|
homepageUrl | string | The URL of the homepage. Defaults to |
productName | string | Product name, used when the product name follows on directly from ‘GOV.UK’. For example, GOV.UK Pay or GOV.UK Design System. In most circumstances, you should use |
serviceName | string | The name of your service, included in the header. |
serviceUrl | string | URL for the service name anchor. |
navigation | array | Can be used to add navigation to the header component. See navigation. |
navigationClasses | string | Classes for the navigation section of the header. |
navigationLabel | string | Text for the |
menuButtonLabel | string | Text for the |
menuButtonText | string | Text of the button that opens the mobile navigation menu, if there is a mobile navigation menu. There is no enforced character limit, but there is a limited display space so keep text as short as possible. By default, this is set to 'Menu'. |
containerClasses | string | Classes for the container, useful if you want to make the header fixed width. |
classes | string | Classes to add to the header container. |
attributes | object | HTML attributes (for example data attributes) to add to the header container. |
useTudorCrown | boolean | Deprecated. If |
Name | Type | Description |
---|---|---|
text | string | Required. Text for the navigation item. If |
html | string | Required. HTML for the navigation item. If |
href | string | URL of the navigation item anchor. |
active | boolean | Flag to mark the navigation item as active or not. |
attributes | object | HTML attributes (for example data attributes) to add to the navigation item anchor. |
{% from "moduk/components/header/macro.njk" import modukHeader -%}
{{ modukHeader({}) -}}
Header with service name
Use the header with a service name if your service is more than 5 pages long - this can help users understand which service they are using.
<header class="govuk-header" data-module="govuk-header">
<div class="govuk-header__container govuk-width-container">
<div class="moduk-header__logo govuk-header__logo">
<a
href="#"
class="govuk-header__link govuk-header__link--homepage"
title="Home"
>
<span class="govuk-header__logotype">
<svg
aria-hidden="true"
focusable="false"
class="moduk-header__logotype-modlogo"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 210 40"
height="40"
width="210"
>
<title>Ministry of Defence</title>
<path
fill="currentColor"
d="M1.7,0H0v40h1.7V0z M43.9,15.8h2.6L51,28l4.6-12.2h2.6v14.5h-1.8v-12h-0.1l-4.5,12h-1.7l-4.5-12v12h-1.8V15.8z M62.4,18h-1.7v-2.1h1.7V18z M60.7,19.8h1.7v10.5h-1.7V19.8z M64.5,19.8h1.6v1.7h0.1c0.8-1.3,1.9-1.9,3.4-1.9c2.7,0,3.6,1.6,3.6,3.8 v6.9h-1.7v-7.1c0-1.3-0.8-2.1-2.1-2.1c-2.1,0-3.1,1.4-3.1,3.3v5.9h-1.7L64.5,19.8L64.5,19.8z M77,18h-1.7v-2.1H77V18z M75.3,19.8H77 v10.5h-1.7V19.8z M80.3,27c0.1,1.6,1.4,2,2.8,2c1.1,0,2.5-0.3,2.5-1.6c0-1.3-1.7-1.6-3.4-1.9c-1.7-0.4-3.4-1-3.4-2.9 c0-2.1,2.1-2.9,3.9-2.9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0-0.2,0-0.4,0.1 c-0.2,0.1-0.5,0.1-0.7,0.2c-0.4,0.1-0.9,0.3-1.3,0.5c-0.2,0.1-2.5,1.3-5.1,2.6l1.2,0.6c0.1-0.1,0.1-0.1,0.2-0.1 c0.3-0.2,0.6-0.3,0.9-0.4c0.2-0.1,0.4-0.2,0.6-0.2c1.5-0.8,2.6-1.4,2.7-1.5c0.3-0.2,0.9-0.5,1.1-0.8c0.2-0.1,0.4-0.3,0.5-0.5 s0.3-0.3,0.3-0.3l0.2-0.2H30.4z M28.3,21.7c-0.2,0-0.5,0-0.7,0c-0.8,0.1-1.6,0.3-2.3,0.5c-0.3,0.1-0.6,0.3-0.9,0.4 c-0.1,0.1-0.1,0.1-0.2,0.1c-0.1,0.1-0.1,0.1-0.2,0.1c-0.3,0.2-0.5,0.3-0.7,0.4c0.1,0,0.1,0.1,0.1,0.1c0.8,0.4,1,0.4,1.1,0.4 c0.1,0,0.1,0,0.2,0.1c0.6,0.1,1.1,0.3,1.3,0.6c0,0,0,0.1,0.1,0.1c0.1,0.1,0.2,0.1,0.2,0.2c0,0,0,0.1,0.1,0.1 c0.3-0.1,0.5-0.2,0.7-0.3c0.1-0.1,0.1-0.1,0.2-0.1s0.1-0.1,0.2-0.1c0.3-0.3,0.6-0.5,1.2-0.8c1.8-0.7,4.7-1.1,4.7-1.1 S30.6,21.7,28.3,21.7z"
></path>
</svg>
</span>
</a>
</div>
<div class="govuk-header__content">
<a
href="#"
class="govuk-header__link moduk-header__service-name govuk-header__service-name"
>
Service name
</a>
</div>
</div>
</header>
Nunjucks macro options
Use options to customise the appearance, content and behaviour of a component when using a macro, for example, changing the text.
Some options are required for the macro to work; these are marked as "Required" in the option description.
If you’re using Nunjucks macros in production with "html" options, or ones ending with "html", you must sanitise the HTML to protect against cross-site scripting exploits.
Name | Type | Description |
---|---|---|
homepageUrl | string | The URL of the homepage. Defaults to |
productName | string | Product name, used when the product name follows on directly from ‘GOV.UK’. For example, GOV.UK Pay or GOV.UK Design System. In most circumstances, you should use |
serviceName | string | The name of your service, included in the header. |
serviceUrl | string | URL for the service name anchor. |
navigation | array | Can be used to add navigation to the header component. See navigation. |
navigationClasses | string | Classes for the navigation section of the header. |
navigationLabel | string | Text for the |
menuButtonLabel | string | Text for the |
menuButtonText | string | Text of the button that opens the mobile navigation menu, if there is a mobile navigation menu. There is no enforced character limit, but there is a limited display space so keep text as short as possible. By default, this is set to 'Menu'. |
containerClasses | string | Classes for the container, useful if you want to make the header fixed width. |
classes | string | Classes to add to the header container. |
attributes | object | HTML attributes (for example data attributes) to add to the header container. |
useTudorCrown | boolean | Deprecated. If |
Name | Type | Description |
---|---|---|
text | string | Required. Text for the navigation item. If |
html | string | Required. HTML for the navigation item. If |
href | string | URL of the navigation item anchor. |
active | boolean | Flag to mark the navigation item as active or not. |
attributes | object | HTML attributes (for example data attributes) to add to the navigation item anchor. |
{%- from "moduk/components/header/macro.njk" import modukHeader -%}
{{ modukHeader({
homepageUrl: "#",
serviceName: "Service name",
serviceUrl: "#"
}) -}}
Header with service name and navigation
Use the header with navigation if you need to include basic navigation, contact or account management links.
Changes from the GOV.UK version
MOD.UK Design System components are closely based on GOV.UK Design System components.
For this component we’ve changed the:
- font
- colours
- logo
Have you tested this component?
Let us know how we could improve this component or share your user research findings.
Email the MOD.UK Design System team at design-system@digital.mod.uk
Need help?
Email the MOD.UK Design System team at design-system@digital.mod.uk if you have questions or feedback.