Skip to content

Multi-Select

Form

Select multiple values from a dropdown with tag-style display of selections.

Searchable multiple selectionCollapsed chipsClear all
Open preview

Responsive viewport — resize the window to explore. Direction and density apply only to this preview. Theme applies to the docs too.

Usage

Store selected option values in an array. The popup supports search, toggling choices, and clearing the selection. maxDisplay limits visible chips.

Import
import { MultiSelect } from "@dashboardpack/core/components/ui/multi-select";

Available in the included @dashboardpack/core package. Copy the complete example from Source code for all imports and state. Add "use client" when using hooks or event handlers. See installation and theming for project setup.

API reference

Common props and defaults. Slot-specific props are named below; native elements also accept their standard HTML attributes. The component TypeScript definitions are the complete type reference.

Multi-Select props
PropType / DefaultDescription
optionsMultiSelectOption[]

Default: required

Array of { value, label } choices.
valuestring[]

Default: required

Selected option values.
onValueChange(values: string[]) => void

Default: required

Receives the next selection.
maxDisplaynumber

Default: 3

Maximum visible selected chips.
ariaLabelstring

Default: placeholder

Accessible trigger name.
disabledboolean

Default: false

Disable selection.

Build with these too