Atelier UI

Search components…

Search components…

Multi Select

Searchable multi-value dropdown with removable chips, keyboard navigation, select all/clear and a max-selection limit.

Edit in sandbox

Copy a prompt for your AI coding tool with the source, dependencies and usage

Props

MultiSelectProps

Also accepts all props of Omit<React.ComponentProps<"div">, "onChange" | "defaultValue">

PropTypeDefaultDescription
options* requiredMultiSelectOption[]——
valuestring[]——
defaultValuestring[][]—
onValueChange(value: string[]) => void——
placeholderstring"Select options…"—
emptyTextstring"No matching options."—
maxnumber—Maximum number of selectable options
disabledbooleanfalse—
defaultOpenbooleanfalseOpens without moving focus, handy for static previews

Install

$ npx shadcn@latest add https://chromotion.dev/r/multi-select.json

More like this