When to use
Section titled “When to use”Use Badge to make the status of a record readable at a glance: the status of a task, a document or an application. It is used most in tables, lists and the header of a record’s detail page.
When not to use
Section titled “When not to use”- For an action: A Badge cannot be clicked. If people need to do something, use a Button.
- For a long message: Use a Banner or an InlineAlert for explanations longer than a sentence.
- For tagging or filters: Use a Tag for labels people add and remove.
Anatomy
Section titled “Anatomy”- Containerbackground, border and fully rounded corners; 16 or 20 px tall, from `size`.
- Labeltext that names the status in one or two words.
Behaviour
Section titled “Behaviour”- Badge is static: it does not change on hover, click or focus, and it is not in the tab order.
- The text stays on one line; long text makes the Badge wider.
- A Badge fades in over 110 ms when it appears. When the status changes, give the Badge a new
key; the new status takes its place with the same fade, and the old one never slides or shakes.
Count and dot
Section titled “Count and dot”countis for an unread count next to a navigation item or a tab; abovemaxit shows99+.dotmarks something new without text. Its colour alone carries no meaning: give screen readers alabel, and let the text around it carry the meaning on screen.
Guidelines
Section titled “Guidelines”Let the text carry the status
Section titled “Let the text carry the status”People with colour blindness and screen reader users do not see the colour. The text of the Badge must tell the status without it.
Pick the tone by meaning
Section titled “Pick the tone by meaning”Tone is for meaning, not decoration. A status looks the same everywhere in the product.
Use the bold variant sparingly
Section titled “Use the bold variant sparingly”When every row of a table is bold, nothing stands out.
Do not use a Badge as a Button
Section titled “Do not use a Badge as a Button”A Badge does not look clickable and cannot be reached with the keyboard. If an action is needed, show the status with a Badge and the action with a Button.
Screen reader and contrast details are on the Accessibility tab.
Content
Section titled “Content”- Write one or two words, in sentence case: “Approved”, “In review”.
- Write the status as a past participle or an adjective (“Approved”, “Pending”); avoid the imperative.
- No punctuation, exclamation marks or abbreviations.
- Use the same word for the same status everywhere in the product.
| English | Turkish | Tone |
|---|---|---|
| Approved | Onaylandı | success |
| Pending | Beklemede | warning |
| In review | İnceleniyor | info |
| Declined | Reddedildi | danger |
| Archived | Arşivlendi | neutral |
| Draft | Taslak | neutral |
Platforms
Section titled “Platforms”- Desktop: In tables, the Badge sits left-aligned in the status column.
- Mobile: In a list item, it sits next to or under the title. When the row gets narrow, the text is not truncated; the Badge wraps to the next line.