Database
Select Picker
Select, multi-select and status picker: selected tokens with search, the option list, and “Create” for new options.
Select an option or create one
Low
High
Medium
Usage
- Use
SelectPickerto edit select, multi-select and status values with search and inline option creation. - Pass
onCreateonly when people may add new options; without it the “Create” row is hidden. - Use
onDoneto close the surrounding popover after a single selection or Escape. - Don’t use it for plain form fields outside a database; use
SelectorComboboxinstead.
Installation
Install the package (React 19):
terminal
terminal
terminal
Import the styles once, in your app entry or root layout:
/src/main.tsx
Use it anywhere inside your app's <Theme> (see Installation):
/src/SelectPickerExample.tsx
Examples
Multi-select with create
Select an option or create one
Design
Frontend
Docs
QA
Status
Select an option or create one
Composition
anatomy
API Reference
SelectPicker
Based on <div> and supports its props (except onChange). Adds:
| Prop | Type | Default |
|---|---|---|
options | (SelectOption | StatusOption)[] | |
value | string[] | |
multi | boolean | false |
status | boolean | false |
onChange | (ids: string[]) => void | |
onCreate | (name: string) => SelectOption | undefined | |
onDone | () => void | |
width | number | 300 |
autoFocus | boolean | false |
Accessibility
- The search input is a
combobox; options arerole="option"witharia-selected. - ArrowUp/ArrowDown move the active option, Enter selects (and closes a single select via
onDone), Escape callsonDone, Backspace in an empty search removes the last token.
© 2026 Motion. Internal documentation.