import { Badge } from "@nodus/design-system"Loading demo…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
color | "agency" | "temporal" | "validation" | "black" | "gray" | "black" | Semantic color |
outlined | boolean | false | Outlined style when true |
colorType
"agency" | "temporal" | "validation" | "black" | "gray"Default "black"Semantic color
outlinedType
booleanDefault falseOutlined style when true
Accessibility
- Renders as a <span> — purely presentational. Does not receive keyboard focus.
- For dynamic status badges (e.g. agent state changing), wrap the container in aria-live="polite" so screen readers announce updates.
- Badge text should be meaningful without color — color reinforces meaning but must not be the sole differentiator.
- Accepts all HTMLAttributes<HTMLSpanElement> including role and aria-label for custom semantics.
MobileWorks As-Is
Design Rationale
This component was designed to express:
Explore Related
Was this helpful?