A basic badge is a read-only status or label: “New”, “Archive”, a role name. It is never clickable.
Every example on this page is the real component, not a picture. Figma: Basic, All variants, Guidelines.
Choose breakpoint, state, emphasis, size, letter case and icon. Mobile and Desktop force the breakpoint values whatever the window width; Window follows the window. Small looks like Medium on mobile.
A basic badge is a short, read-only label for a status or a category, such as “New”, “Archive” or a role name. It is the main badge: see the Badge overview for the other types.
This documentation has three pages. Examples & Guidelines (this page) shows when and how to use it. Specifications holds sizes, measurements and tokens. Code shows how to add it to a page.
.badge.Badge has no fixed rulebook for colors, but keep the meaning the same across a project. This is the recommended mapping for lifecycle labels.
| Meaning | Badge | State · emphasis |
|---|
| The element… | Use |
|---|---|
| shows a status or label and is read only | Badge |
| filters or groups when clicked | Tag (not built yet) |
| counts something on an icon (cart) | The header counter .badge |
| must be noticed for a state change | Inline notification |
Six states in three emphasis levels. Neutral dark is black at every emphasis; Weaker only adds a border-dark edge.
| State | Strong | Weak | Weaker |
|---|
Use the alert icon with the alert states, so color is never the only carrier of meaning. The icon is 14px with a 4px gap.
Sentence case (weight 500) for statuses. Upper case (weight 600) for fixed categories, where the extra weight helps. It is a choice per badge, not per state.
Three sizes. Large and Medium look different on mobile and desktop. Small is the same size as Medium on mobile. The values are on the Specifications page.
A badge is text. All requirements are listed under Accessibility Requirements in Specifications.
A badge is never a link or a button. It gets no focus and no hover state.
Pair an alert color with its icon or with clear text (WCAG 1.4.1). Mixed emphasis helps tell text-only badges apart.
The text of the badge is read as it is. The icon is decorative (aria-hidden="true").