Pill & Tag
Small label components for displaying status, tags, or labels.
Pill
A single line of text with a predefined text color. It has no background and a fixed height.
Basic
Leave color unset to inherit the surrounding text color.
Tracked
Cited
Mentioned
Recommended
Pending
Not cited
Archived
Draft
Tag
A rounded container for categorizing, labeling, or highlighting content. It has no color of its own; set background and text colors with className.
Basic
A neutral fill and an outline. Product tags use text-body-mini-regular.
Colors
Pair a muted bg-bg-* fill with the matching text-text-* color.
Sizes
Tag has no size prop. Set the type token and padding with className.
With Icons
Pass an Icon as a child. Tag lays out its children in a row.
Pill
The text content to display in the pill
Additional CSS classes to apply to the pill container
Text color of the pill. Inherits the surrounding text color when unset
Whether to include horizontal padding in the pill
Default: true
Tag
The content to display inside the tag
Additional CSS classes to apply to the tag, including its colors