This is an internal development app.
To learn how to use the GOV.UK Design System in your project, see Get started.

Skip to main content

Tag

Code

Markup

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

Macro

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

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

Markup

<strong class="govuk-tag govuk-tag--grey">
  Grey
</strong>

Macro

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

{{ govukTag({
  text: "Grey",
  classes: "govuk-tag--grey"
}) }}
Code

Markup

<strong class="govuk-tag govuk-tag--blue">
  Blue
</strong>

Macro

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

{{ govukTag({
  text: "Blue",
  classes: "govuk-tag--blue"
}) }}
Code

Markup

<strong class="govuk-tag govuk-tag--light-blue">
  Light blue
</strong>

Macro

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

{{ govukTag({
  text: "Light blue",
  classes: "govuk-tag--light-blue"
}) }}
Code

Markup

<strong class="govuk-tag govuk-tag--turquoise">
  Turquoise
</strong>

Macro

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

{{ govukTag({
  text: "Turquoise",
  classes: "govuk-tag--turquoise"
}) }}
Code

Markup

<strong class="govuk-tag govuk-tag--green">
  Green
</strong>

Macro

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

{{ govukTag({
  text: "Green",
  classes: "govuk-tag--green"
}) }}
Code

Markup

<strong class="govuk-tag govuk-tag--purple">
  Purple
</strong>

Macro

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

{{ govukTag({
  text: "Purple",
  classes: "govuk-tag--purple"
}) }}
Code

Markup

<strong class="govuk-tag govuk-tag--pink">
  Pink
</strong>

Macro

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

{{ govukTag({
  text: "Pink",
  classes: "govuk-tag--pink"
}) }}
Code

Markup

<strong class="govuk-tag govuk-tag--red">
  Red
</strong>

Macro

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

{{ govukTag({
  text: "Red",
  classes: "govuk-tag--red"
}) }}
Code

Markup

<strong class="govuk-tag govuk-tag--orange">
  Orange
</strong>

Macro

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

{{ govukTag({
  text: "Orange",
  classes: "govuk-tag--orange"
}) }}
Code

Markup

<strong class="govuk-tag govuk-tag--yellow">
  Yellow
</strong>

Macro

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

{{ govukTag({
  text: "Yellow",
  classes: "govuk-tag--yellow"
}) }}