In Review

Tag

Tags are used to visually categorise content. They can indicate the status of an item or represent a category of information. By default, tags have a blue background and text color.

Variants

Default

Completed
<strong class="gi-tag gi-tag-info">
  Completed
</strong>
{{ govieTag({
  "text": "Completed",
  "type": "info"
}) }}
import { Tag } from '@govie-ds/react';

<Tag
  text="Completed"
  type="info"
/>

Usage

Best Practices

When to use this component

Use the tag component to visually represent the status of items, categorise content, or highlight important information. Tags are particularly useful for:

Tags help enhance user experience by providing clear and immediate context for information.

When not to use this component

Avoid using the tag component if:

In such cases, consider alternative UI elements that better suit your requirements.

Status

Figma Library
Considering
Local HTML
Stable
Global HTML
Beta
Global React
Beta