Aliases
tag chip, filter chip
ChipCompact selectable label with an optional dismiss action.
Badge for passive labels.Aliases
tag chip, filter chip
Foundations
Chip for compact filters, quick toggles, or selected metadata that the user can remove.Chip for plain status labels; use Badge instead.Button for actions that need a larger target or greater emphasis.compact interactive token
root Carries the selected or neutral surface treatment.
visible token label
label Communicates the chosen filter or entity.
optional remove action
dismiss Optional remove control after the label.
| Name | Type | Default | Description |
|---|---|---|---|
tone | 'neutral' | 'brand' | 'success' | 'warning' | 'neutral' | Chooses the chip tone. |
size | 'sm' | 'md' | 'md' | Chooses the chip size recipe. |
label | string | — | Visible chip label. |
selected | boolean | false | Controlled selected state. |
dismissible | boolean | false | Shows the remove control. |
onChange | (detail: { selected: boolean }) => void | — | Receives the new selected state. |
onDismiss | () => void | — | Receives dismissal. |
theme | ThemeContract | — | Sets the theme used to resolve component styles. |
| Name | Payload | Description |
|---|---|---|
change | { selected: boolean } | Fires with the selected state. |
dismiss | void | Fires when the remove control is activated. |
| Name | Description |
|---|---|
default | Chip is mostly prop-driven and uses the label prop as its main visible content. |
Variants
neutral: Default compact token.brand: Branded emphasis for important filters or groups.success: Positive or accepted state token.warning: Cautionary or attention-seeking token.Sizes
sm: Tight compact tokenmd: Default chip sizeStates
rest: Neutral chip stateselected: Active or chosen statedismissible: Shows a remove controlSemantics
Keyboard
Screen readers
Checklist
A compact selected choice.
<Chip tone="brand" label="Priority" selected={true} /> Dismissible chips work well for selected filters or entities.
<Chip tone="neutral" label="Assigned to me" dismissible={true} onDismiss={() => console.log('Dismissed')} /> Warning tone can flag a risky or incomplete state in a compact way.
<Chip tone="warning" label="Needs review" /> Calculated fixtures; browser evidence is not collected. Layout estimates use declared text behavior and maximum token values.
size=md|tone=neutral
size=md|tone=brand
size=sm|tone=danger