Components
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
className | string | ClassNameComponent<ChipsInterface> | No | — | Classes or state-aware element classes applied through the shared style contract. |
label | string | No | 'Chips' | Accessible name for the chip collection. |
variant | "input" | No | 'input' | Enables inline input and removal behavior. |
scrollable | boolean | No | true | Uses horizontal overflow instead of wrapping. |
draggable | boolean | No | false | Enables native dragging on every chip. |
items | ChipItem[] | No | — | Controlled source of truth for the collection. |
onItemsChange | (next: ChipItem[]) => void | No | — | Notifies list changes caused by selection, editing, or removal. |