React Multi-Select

The filter-building workhorse for parametric search and catalog facets. Selected options become removable chips inside the control; the inline input filters the list live; Backspace on an empty query removes the last chip and Enter toggles the highlighted option. Supports a max selection limit (remaining options disable themselves), option descriptions, and disabled options. Shares the option model with Select & Combobox.

AXI4APB3

Type to filter; Backspace removes the last chip.

Options beyond the limit disable themselves.

Installation

npx shadcn@latest add multi-select.json

Usage

Loading...

Props

PropTypeDefaultDescription
optionsSelectOption[]{ value, label, description?, disabled? }
valuesstring[]Selected values (controlled)
onChange(values: string[]) => voidSelection callback
maxnumberSelection limit; extra options disable
placeholderstring"Select…"Shown while nothing is selected
emptyMessagestring"No results."Filtered-to-nothing message
invalidbooleanfalseError styling +