Component 37 · Data display
Status badge
Label categorical operational status.
Overview
Label categorical operational status. It converts domain state into an understandable, traceable and accessible interface contract.
When to use
Use HE/Status badge when you need to label categorical operational status. Keep its role distinct from transport freshness, animal-health severity and model confidence.
Example
HealthyReviewCritical
<div class="he-auto-cluster"><span class="he-status-badge he-status-badge--healthy">Healthy</span><span class="he-status-badge he-status-badge--review">Review</span><span class="he-status-badge he-status-badge--critical">Critical</span></div>Anatomy
1Identity
2Primary value
3State
4Evidence or action
Anatomy stays identical in Pasture and Atlantic. A responsive layout may wrap or stack parts, but reading order and focus order remain equivalent.
Variants and states
Variants
States
Accessibility
Status is always written in text; color and icon are redundant cues.
- Maintain a visible keyboard focus indicator and a logical focus sequence.
- Never rely on colour alone for operational, freshness or severity state.
- Keep touch targets at least 44 × 44 px unless the target is an inline text link.
Cross-platform contract
| Surface | Canonical name | Status |
|---|---|---|
| Figma | HE/Status badge | stable |
| Web | .he-status-badge | implemented |
| Flutter | HeStatusBadge | implemented |
| Token root | component.statusbadge | generated |