Waiting for action
Copy this complete component into a page file. Edit and run it in the Playground.
Loading editor…
Tokenised text input that converts typed values into removable chips. Also known as tag input, token input, or pills input.
Build specialised flows on the same component:
| Prop | Type | Default | Description |
|---|---|---|---|
value | string[] | — | Current chips. |
onChange | (value: string[]) => void | — | Chip list handler. |
placeholder | string | — | Shown when empty. |
variant | "filled" | "outlined" | "soft" | "glass" | "gradient" | "soft" | Chip visual style. |
readOnly | boolean | false | Show chips without editing. |
disabled | boolean | false | Disables interaction. |
mode | "stacked" | "flagged" | "stacked" | Layout mode for label and control. |
labelPosition | "left" | "right" | "left" | Label placement in flagged mode. |
error | string | — | Validation message; sets aria-invalid when present. |
help | string | — | Supplementary help text linked via aria-describedby. |
required | boolean | false | Marks the field as required for assistive tech. |
| Variant | Description |
|---|---|
| Filled | Solid chip background. |
| Outlined | Border-only chips. |
| Soft | Accent-tinted fill. |
| Glass | Frosted translucent chips. |
| Gradient | Purple/blue Opus gradient border. |
Default, hover, focus, disabled, error, and read-only are supported on the field and chips.
FieldShell for label, help, error, and required wiring.aria-label values.