Select
Choose one or several options from a list.
Choose several values. Selected values stay in the field as removable tags, and typing filters the list.
Several values stay in the field as removable tags. Typing filters the list. A short menu of choices is still Select multiple.
Enter toggles the highlighted option. Backspace on an empty query removes the last tag.
Wrap with Field. Tags are kit Tag. Overflow +N is kit Count. Tags the person types, rather than picks, are TagInput.
import { MultiSelect } from "agentic-ds-kit";From contracts/multiselect.json: must is the a11y requirements, defaults the prop defaults, stops if the doNot rules where the agent asks instead of inventing a cousin.
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
| id | string | Yes | — | — |
| size | md | sm | lg | No | md | Heights 32 / 36 / 40 on one row; wrapped tags grow it. |
| options | array | Yes | — | — |
| value | string[] | No | — | — |
| defaultValue | string[] | No | — | — |
| onChange | function | No | — | (value: string[]) => void |
| placeholder | string | No | Select | — |
| disabled | boolean | No | false | — |
| error | boolean | No | false | — |
| maxVisible | number | No | — | Extra selections collapse into a kit Count +N (prefix +, neutral, subtle, md) after the visible Tags; screen readers hear N more selected (KitLabels moreSelected). |
| name | string | No | — | Hidden input joins values with commas. |
| ariaLabel | string | No | — | — |
| describedBy | string | No | — | — |
| emptyLabel | string | No | No results | — |
Choose one or several options from a list.
Type to filter one value, including a list the parent loads asynchronously.
Tags the person types.
The brief a person hands an agent before it plans: a goal, one-line "done when" checks, optional spend, time and step limits, allowed tools, model and check-in level.