Stable
Tags are short status labels: Paid, Overdue, Draft. They let managers scan a list for what needs attention. Always use a word, not colour alone, so the status is clear to everyone.
Specifications
Anatomy
Anatomy
Size and spacing
Neutral
No particular status: Draft, Archived, Not started.
Example
Example
Information
Something planned or in progress: Scheduled, Syncing.
Example
Example
Success
Done and fine: Paid, Active, Connected.
Example
Example
Warning
Needs attention soon: Due soon, Expiring.
Example
Example
Danger
Needs attention now: Overdue, Failed.
Example
Example
Discovery
Something new: New, Beta, AI drafted.
Example
Example
Bold
Emphasis: High
Add at-tag--bold for a solid fill. Use it for the one status that most needs attention in a view, such as Overdue in a list of otherwise subtle tags.
Example
Example
Accent
Emphasis: Low
Categories with no status meaning, such as property types. Six hues: blue, teal, green, orange, purple and magenta. If swapping two hues would change what the tag means, use a status tag instead.
Example
Example
Usage
When to use
- Showing the status of a record in a table, summary list or card.
When not to use
- Actions: use a button.
- Long text: tags are one or two words.
- More than one bold tag per view: bold only works when it is rare.
Content
- One or two words, sentence case: "Due soon", not "DUE SOON".
- Use the same word for the same status on every screen.
Do and don't
Do
- Use one or two words.
Don't
- Rely on colour alone: the word must say the status.
Implementation
HTML
<div class="at-inline">
<span class="at-tag">Draft</span>
<span class="at-tag at-tag--info">Scheduled</span>
<span class="at-tag at-tag--success">Paid</span>
<span class="at-tag at-tag--warning">Due soon</span>
<span class="at-tag at-tag--danger">Overdue</span>
</div>Classes
| Class | What it does |
|---|---|
at-tag | Neutral |
at-tag--info | Information |
at-tag--success | Good |
at-tag--warning | Needs attention |
at-tag--danger | Problem |
at-tag--discovery | New, beta, AI |
at-tag--bold | Solid fill, combine with a status |
at-tag--blue / --teal / --green / --orange / --purple / --magenta | Accent hues, no meaning |
Tokens used
--at-text-subtle, --at-text-info, --at-bg-info-subtle, --at-text-success, --at-bg-success-subtle, --at-text-warning, --at-bg-warning-subtle, --at-text-danger, --at-bg-danger-subtle, --at-text-discovery, --at-bg-discovery-subtle, --at-text-inverse, --at-bg-danger-bold, --at-bg-accent-blue, --at-text-accent-blue
Accessibility
- The text carries the meaning, so colour-blind users get the same information.