Skip to main content

Internal review app NHS.UK frontend

Use design system guidance and examples to build consistent, accessible NHS services for the public and staff.

Deployed automatically from main branch (opens in new tab).

Skip link

These examples are used for automated tests and may not follow service manual best practice.

Code

Markup

<a class="nhsuk-skip-link" data-module="nhsuk-skip-link" href="#maincontent">
  Skip to main content
</a>

Macro

{% from "skip-link/macro.njk" import skipLink -%}

{{ skipLink({
  href: "#maincontent",
  text: "Skip to main content"
}) }}