Chip
Bindable toggle pill for compact filters on the shared control ladder.
Use the default Chip for compact filters and selectable attributes. Chip uses the same control ladder as adjacent interactive elements.
Interactive example
Loading interactive example
API
| Member | Type | Kind | Required | Default |
|---|---|---|---|---|
active | boolean | binding | No | false |
children | Snippet | snippet | No | undefined |
disabled | boolean | prop | No | false |
icon | IconGlyph | prop | No | undefined |
onActiveChange | (active: boolean) => void | callback | No | undefined |
size | ControlSize | prop | No | 'md' |
Examples
Source
Loading source