Skip to main content
Preview This is a design system preview environment for main branch

Internal review app NHS.UK frontend

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

Hint text

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

Do not include personal information like your name, date of birth or NHS number
Code

Markup

<div class="nhsuk-hint">
  Do not include personal information like your name, date of birth or NHS number
</div>

Macro

{% from "hint/macro.njk" import hint -%}

{{ hint({
  text: "Do not include personal information like your name, date of birth or NHS number"
}) }}
This is a 10 digit number (like 999 123 4567) that you can find on an NHS letter, prescription or in the NHS App
Code

Markup

<div class="nhsuk-hint">
  This is a 10 digit number (like <span class="nhsuk-u-nowrap">999 123 4567</span>) that you can find on an NHS letter, prescription or in the NHS App
</div>

Macro

{% from "hint/macro.njk" import hint -%}

{{ hint({
  html: 'This is a 10 digit number (like <span class="nhsuk-u-nowrap">999 123 4567</span>) that you can find on an NHS letter, prescription or in the NHS App'
}) }}
This is a 10 digit number (like 999 123 4567) that you can find on an NHS letter, prescription or in the NHS App
Code

Markup

<div class="nhsuk-hint">
  This is a 10 digit number (like <span class="nhsuk-u-nowrap">999 123 4567</span>) that you can find on an NHS letter, prescription or in the NHS App
</div>

Macro

{% from "hint/macro.njk" import hint -%}

{% call hint() -%}
This is a 10 digit number (like <span class="nhsuk-u-nowrap">999 123 4567</span>) that you can find on an NHS letter, prescription or in the NHS App
{%- endcall %}