Badge
Compact status or category pill. Two axes: variant sets the emphasis (primary is a subtle tinted fill, secondary and tertiary are transparent), and intent sets the semantic color family. Every intent uses colored text.
Overview
Compact status or category pill. Two axes: variant sets the emphasis (primary is a subtle tinted fill, secondary and tertiary are transparent), and intent sets the semantic color family. Every intent uses colored text.
The primary variant.
Variants and states
| brand | neutral | info | success | warning | error | |
|---|---|---|---|---|---|---|
| primary | Label Text | Label Text | Label Text | Label Text | Label Text | Label Text |
| secondary | Label Text | Label Text | Label Text | Label Text | Label Text | Label Text |
| tertiary | Label Text | Label Text | Label Text | Label Text | Label Text | Label Text |
Anatomy
- 1IconLeading optional instance swap
- 2IndicatorLeading optional instance swap
- 3Container.Content
- 4Label.Support optional
- 5Label.Text required
Measurements
Specs
Values resolved live from the token spine. Token names follow the active platform; each links to its page.
Properties
The component’s Figma API, the properties you set on an instance. Useful to designers in Figma and to engineers mapping it to code props.
Accessibility
A badge conveys status or a category, so never rely on its color alone. Pair the color with the label text so the meaning survives for color-blind and low-vision users. Purely decorative badges should be hidden from assistive technology.
Reference: Apple Human Interface Guidelines and WCAG 2.5.5 Target Size.