candidate

Info text

This component is based on the govuk-warning-text component from the GOVUK design system.

It should be used when highlighting some supplementary information to the user.


<div class="dl-info-text">
  <span class="dl-info-text__icon" aria-hidden="true">i</span>
  <p class="dl-info-text__text">
    <span class="dl-info-text__assistive">Please note</span>
    There is some useful stuff on the <a class="govuk-link" href="https://digital-land.github.io">digital land website</a>.
  </p>
</div>
{%- from "design-system/components/info-text/macro.html" import dlInfoText -%}
{{- dlInfoText({
    "html": 'There is some useful stuff on the <a class="govuk-link" href="https://digital-land.github.io">digital land website</a>.'
}) }}