Badge and Tag
A small marker of status, category or count, which must not look like something you can press.
Definition
Badges label status or category; counters show a quantity; chips are removable filter tokens and are interactive. The three are visually similar and behave differently, which is a frequent source of confusion.
Craft convention. True because the industry converged on it. Breaking it costs familiarity, not correctness.
On this plate
Reach for this when
- Marking status or category.
- Showing counts.
- Displaying active filters.
Common mistakes
- Badges styled as buttons.
- Colour-only status.
- Unbounded counters.
- Remove controls with no accessible name.
Rules
- Non-interactive badges must look distinctly different from buttons and chips, or users will click them.
- Status conveyed by colour needs text as well, for accessibility and for localisation.
- Counters need a defined overflow rule, such as 99+, and an accessible label stating what is being counted.
- Removable chips need a labelled remove control that is reachable by keyboard, not a bare icon.
- Keep the set of statuses small and defined centrally, or teams will invent overlapping ones.
Three things that look alike
Badge, counter and chip share a shape and behave differently. Styling them identically is the root of most confusion around this component.
| Type | Interactive | Carries |
|---|---|---|
| Status badge | No | A state, with text as well as colour |
| Category tag | Sometimes, as a filter link | A label from a defined set |
| Counter | No, but often inside a control | A quantity, with an overflow rule |
| Filter chip | Yes, removable | A value the reader applied, with a labelled remove control |
| Choice chip | Yes, selectable | A toggleable option, which is really a checkbox or radio |
In practice
- i.
The status that was only a colour
Accessibility and localisationAn amber dot meaning pending was unreadable to anyone who could not distinguish it from the green one, and untranslatable. Adding the word cost six pixels and removed both problems.
- ii.
99+ and what it hides
Counter overflowA capped counter tells you there are many and nothing more. Where the exact number affects the decision, such as unread invoices, the cap has to be higher or the number needs a different home.
Local chart
CMP·023 · Region III · Grid F1
This entry and the entries it is stated to connect with. Each line is labelled with what the connection means.
Continue from here
Each link says what the connection is, so you can tell a principle from an alternative from a thing people mix this up with.
Applies when you are designing
Principles behind this
The reasoning this solution is an application of.
- Von Restorff EffectLAW·009 · Law
- Affordances and SignifiersPRIN·007 · Principle
- Semantic ColorFND·023 · UI foundation
- SimilarityFND·005 · UI foundation
Often used with
These usually appear in the same screen or the same decision.
- FilteringPAT·004 · Pattern
- NotificationsPAT·015 · Pattern