Common UI kit components
Confluence UI kit components
Jira UI kit components
Jira Service Management UI kit components

Rate this page:

Tag

A visual indicator for UI objects, for quick recognition and navigation.

Image of a tag

Import statement

1
2
import ForgeUI, { Tag } from '@forge/ui';

Props

NameTypeRequiredDescription
textstringYesThe text content to display.
colorstringThe color of the tag. Valid values are green, blue, red, purple, grey, teal, yellow, green-light, blue-light, red-light, purple-light, grey-light, teal-light, and yellow-light. Defaults to light-grey.

Example

1
2
<Tag text="decision" />
<Tag text="spec" color="blue-light" />

Rate this page: