Chip
data-displayCompact pill-shaped element for tags, filters, and selections. Supports selected state, removable mode, leading icon, and keyboard interaction. Uses role=option with aria-selected for interactive chips.
Import
typescript
import { Chip } from "packages/ui/src";Props
ChipProps
| Prop | Type | Required |
|---|---|---|
children | ReactNode | Yes |
selected | boolean | No |
onClick | () => void, removable?: boolean, onRemove?: () => void, icon?: ReactNode | No |
Examples
Chip
Compact elements for tags, filters, and selections with optional icon and remove button.
Static Tags
Design SystemToken PipelineWCAG 2.1 AADTCG Format
Selectable Filters
DesignTokensComponentsPipelineDeployTesting
Selected: Design, Components
Removable Tags
ReactNext.jsTypeScriptDTCG
With Icon
StarredPrivateVerified