Content
Badge
A small label for state or category. Badge has five colour variants and StatusBadge adds a status dot.
Group: Content. Exports: Badge, StatusBadge. shadcn/ui equivalent: Badge (matches).
Usage
import { Badge } from "./halaska-kit";
Badge props
childrenReactNode: Content.variantstring(default "default"): Visual variant.styleCSSProperties: Inline style merged onto the root element.
StatusBadge props
statusstring(default "default"):childrenReactNode: Content.pulseboolean:
Accessibility
- Renders a span, so it is read inline with the text around it.
- Labels are upper-cased with CSS only, so screen readers read the original text.
- The StatusBadge dot is decorative: the meaning has to be in the label.
Used in
chat screen, canvas screen, Contextual taskbar, Context sources, Recommendation, Plan preview, Approval card, Autonomy levels, Task queue, Task rows, Handoff, Audit log, Diff table, Structured data, Insight cards, Comparison, Notification center, Agent setup
Halaska UI · Components · Patterns · Screens · Install