Status Badge
Primitive and domain-specific status badges. Typed wrappers use StatusBadgePropsExternal and createStatusColorMapper.
All colours (statusBadgeColorVariants)
Every color variant from statusBadgeColorVariants in status-badge/primitives. Single source of truth for badge colours.
Primitive (untyped) – direct StatusBadge
Use for one-off or untyped statuses. Pass label and color from statusBadgeColorVariants.
Primitive – spacing, rounding, bordered
Typed – StatusBadgePropsExternal + createStatusColorMapper
Domain status type, color mapper, and optional label map. Props: status (typed) plus spacing, rounding, bordered, className.
PayoutStatusBadge
Doctor consult payout statuses. Label and color derived from payoutStatusLabels and getPayoutStatusColor inside the component.
ResendEmailStatusBadge
Resend delivery status. Borderless. Label is the status string.
XeroInvoiceStatusBadge
Xero invoice status with human-readable labels. Handles null (shows neutral).
XeroInvoiceChip
Chip with icon, invoice number, optional status badge and link.
External color access
Use statusBadgeColorVariants or getXeroInvoiceStatusClasses / getPayoutStatusClasses for custom elements (rows, icons).