structyl

Multi Select

stable

Lets users choose multiple options from a searchable dropdown list.

Basic usage

Examples

Controlled with max selection

Track selected values externally and cap the selection count.

Selected: react

Selected chips and overflow

Selected values render in the trigger and can collapse into an overflow count.

Features

  • Can be controlled or uncontrolled.
  • Shows selected values in the trigger.
  • Supports search, creation and virtualized option rendering.
  • Keeps the listbox open while toggling options.

Installation

bash
pnpm dlx structyl add multi-select

API Reference

Multi Select API reference

Full props, types, defaults, and all 16 parts.

View API

Keyboard interactions

Adheres to the WAI-ARIA design pattern .

KeyDescription
Space / EnterOpens the multi-select / toggles the focused item.
ArrowDown / ArrowUpMoves focus between options.
EscCloses the multi-select.
Multi Select | structyl