Skip to Content
glob.ui home
Components

Multi-select

Pick several options. The selected options show as removable chips.

Client componentUses state or handlers, so it starts with "use client".
import { MultiSelect } from "@glob-ui/multi-select"

Preview

Design
Design
Code
Docs

Selected: design

Examples

Maximum

max disables the other options once the limit is reached. Removing a chip enables them again.

ReactCSS
TypeScript
React
CSS
Testing
Accessibility
Node

API

Props are generated from the TypeScript types in the package source.

MultiSelectProps

Prop

Type

Option

Prop

Type

Accessibility

Key or actionBehaviour
Enter, SpaceToggles the active option. The list stays open, so several options can be chosen.
Arrow keys, Home, End, lettersAs in Select: move the active option, typeahead.
Escape, TabClose the list.
Remove chip buttonRemoves that option. Each button is named Remove <label> and reachable with Tab.
Backspace in an empty searchRemoves the last chip.

ARIA. The list is role="listbox" with aria-multiselectable="true". Options show aria-selected. Disabled options (including those past max) have aria-disabled.

On this page