Skip to content
caliper ui pro docs

Multi select

Choose several values from a list, shown as a compact summary.

Pro
Mara ChenNoor Haddad+1
Mara Chen, Noor Haddad, Ivo Petrov

When to use

  • Assignees, filters and permissions where more than one value applies.
  • Space is tight and chips would wrap.

When not to use

  • Only one value is allowed; use a select.
  • People add their own values; use tag input.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/multi-select

Adds its 3 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.

API reference

MultiSelect

10 props
PropTypeDefault
label *string—
options *readonly MultiSelectOption[]—
valuereadonly string[]—
defaultValuereadonly string[][]
onValueChange((value: string[]) => void)—
maxVisiblenumber2
placeholderstring"Select"
namestring—
disabledboolean—
classNamestring—

Keyboard

↓
Moves to the next item or value.
↑
Moves to the previous item or value.
Home
Jumps to the first item or the minimum.
End
Jumps to the last item or the maximum.

Accessibility

It exposes option and listbox semantics, with aria-disabled, aria-hidden, aria-label, aria-haspopup, aria-describedby and aria-multiselectable kept in step with state.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/multi-select.md

The index of every part is at /llms.txt.

More in Combobox and multi-select