Chips

Chip sets group related chips into one input, filter, or selection list.

Usage

Chips renders a labelled collection from an items model. Each item can be selected, removed, disabled, linked, or given an icon. Use stable item id values when the collection can be reordered.

React:

tsx
import { Chips } from '@udixio/ui-react';

Angular:

ts
import { Chips } from '@udixio/ui-angular';

Svelte:

svelte
import { Chips } from '@udixio/ui-svelte';

Controlled collection

All adapters expose the collection as controlled state. React uses items/onItemsChange, Angular uses [items]/(itemsChange), and Svelte uses bind:items or items with onItemsChange.

Input variant

Use variant="input" for editable tags. The component handles inline editing and removal, while the application remains the source of truth for items. Svelte projects update that model with a bindable items prop.

scrollable prefers horizontal overflow to wrapping, and draggable enables native dragging for each chip. The individual Chip contract describes editing shortcuts and selection semantics.