Tag

Code

Markup

<strong class="govuk-tag">
  alpha
</strong>

Macro

{% from "tag/macro.njk" import govukTag %}

{{ govukTag({
  "text": "alpha"
}) }}
Code

Markup

<strong class="govuk-tag govuk-tag--inactive">
  alpha
</strong>

Macro

{% from "tag/macro.njk" import govukTag %}

{{ govukTag({
  "text": "alpha",
  "classes": "govuk-tag--inactive"
}) }}