Badge
Examples
Variants
Neutral, brand and status tones for labels, counts and states.
Newap-south-1SAMLEnterpriseBetaPaidDue in 3 daysOverdueDraft
With icon
A leading icon sizes itself to the badge.
PasskeyTOTPOwner
Usage
Import
import { Badge } from "@qeetrix/ui";It can also be imported on its own from @qeetrix/ui/components/badge.
Variant props
| Prop | Values |
|---|---|
variant | default · secondary · outline · brand · info · success · warning · destructive · muted |
Support
| Feature | Status |
|---|---|
| Right-to-left | Not applicable |
| Dark mode | Supported |
| Density | Not applicable |
| Server rendering | Renders on the server |
| Reduced motion | Supported |
Accessibility
No ARIA widget pattern. Audited.
| Check | Result |
|---|---|
| Semantics | Pass |
| Accessible name | Pass |
| Keyboard | Not applicable |
| Focus | Not applicable |
| Screen reader | Pass |
| Right-to-left | Not applicable |
| Reduced motion | Pass |
| Forced colours | Pass |
| Contrast | Pass |
Tests
Covered by unit, accessibility (axe) and visual tests.