Special/MultiSelect

MultiSelect

Token-based multi-select with animated chip entrance/exit, search filter, keyboard navigation (↑↓ Enter Backspace), and a +N overflow badge when too many items are selected.

import { MultiSelect } from "@animui/ui"

Basic

Selected: react

Keyboard shortcuts

↑ / ↓Navigate options
EnterToggle highlighted option
BackspaceRemove last token (when search is empty)
EscapeClose dropdown
Space / ArrowDownOpen dropdown

MultiSelectOption props

PropTypeDefaultDescription
valuestringUnique identifier for this option.
labelstringDisplay text.
iconReactNodeOptional icon shown in the token and option row.
descriptionstringSecondary line shown in the dropdown.
disabledbooleanfalseMakes this option unselectable.

Props

PropTypeDefaultDescription
optionsMultiSelectOption[]List of selectable options.
valuestring[]Controlled selected values.
onChange(values: string[]) => voidCalled when selection changes.
placeholderstring"Select options…"Shown when nothing is selected.
searchPlaceholderstring"Search…"Placeholder for the search input inside the dropdown.
maxVisiblenumberMax tokens to show before a +N overflow badge.
labelstringLabel text above the field.
disabledbooleanfalseDisable the entire field.
noOptionsTextstring"No options found"Empty state text when search has no results.
classNamestringApplied to the outer container.
© 2026 Steal Shadow. MIT License.Report an issue