Badge
A small label that shows a status or a count next to something else.
01Anatomy
3 parts. Select a number or a name to see what each part does.
01 · Container
The pill that holds the content. Its colour carries the meaning.
- Required
- Yes
02 · Status dot
A small dot that repeats the status colour. It can be an icon instead.
- Required
- No
- Recommended
- Never the only cue: the label says the status in words.
03 · Label
One or two words, or a number.
- Required
- Yes
- Recommended
- Keep it short: past 99, show 99+.
Example spacing, measured on this drawing (16 px = 1 em). A common implementation, not a rule: values change from system to system. W and H are width and height, as in Figma: Hug follows the content, Fill takes the space of the parent.
Spacing is measured on the normal view: switch back to Normal to show it.
02Structure
- Badgecomponent setauto layouthorizontalhugpadding V 4H 8gap 4radius full
- Dotellipseboolean
- Labeltext
| Property | Type | Values |
|---|---|---|
| Type | Variant | NeutralStatusCountDot |
| Tone | Variant | NeutralSuccessWarningError |
| Size | Variant | SmallMedium |
| Dot | Boolean | truefalse |
| Label | Text | “Active” |
The Dot type has no label: give the icon it sits on a name that says what’s new.
03Variants
A badge is not clickable, so it has no interaction states. If it can be clicked or removed, it’s a tag or a chip.
There is no single correct anatomy: names, variants and properties differ from one design system to another. These are common structural models distilled from established design systems and accessibility guidance.
Proven methods for designing interfaces with AI. Every two weeks, in Italian.
Subscribe