Chip
A compact label component for categorization, status, and metadata display.Chip is a small, inline element used to display labels, statuses, counts, or categories. It supports multiple variants, colors, and can include tooltips for additional context.
Chip was called Badge before 0.21.0. It grows out of the Badge from Radix Themes.
Playground
Installation
Usage
Props
Variants
Solid
Bold, filled background for high emphasis.
Soft
A subtle tinted background.
Surface
Elevated appearance with subtle background.
Outline
Bordered with transparent background.
Ghost
Minimal styling, no background or border.
Raised
A refined, subtle appearance.
Colors
Chips support all accent colors for semantic meaning.
Strong Ink
Chip text always reads the strong ink for its color. Gray chips with a solid fill use step 12, so no extra prop is needed.
Sizes
Control chip size with the size prop.
With Tooltip
Add tooltips to provide additional context.
Status Indicators
Common pattern for displaying status with chips.