FEEDBACK
Chip
Pill-shaped tag with optional status dot and active state. Use chips for filters, tags, and soft status labels. For uppercase Memphis-shadowed badges (status / outcome), reach for Badge.
Import
Variants
DefaultAccentBrandSuccessWarningDanger
Sizes
SmallMediumLarge
Status dot + active
ActiveOfflineSelected
Props
Chip props
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | 'default' | 'accent' | 'brand' | 'success' | 'warning' | 'danger' | 'default' | Background tint and border color. All variants share the rounded pill shape. |
| size | 'sm' | 'md' | 'lg' | 'md' | Padding + text size step. |
| dotColor | string | — | When set, prepends an 8×8 dot before children. Accepts any CSS color string (var(--success), #16a34a, etc.). |
| active | boolean | — | Swap the surface to the primary token (selected look). With dotColor the dot border flips to white for contrast. |
| children | ReactNode | — | Chip label — supports text or icon + text. |
Accessibility
- Chip renders a
<span>— when used inside a clickable filter, wrap it in a<button>witharia-pressedreflecting theactivestate. - The status dot is purely decorative; the label text must convey the same status (do not rely on color alone).