Skip to content
TrademarkTrademark
Docs
Form Controls

Select

Updated: June 15, 2025
View on GitHub

The Select component offers a dropdown menu for selecting from a list of options. It's built on top of the DropdownWrapper and Input components, providing a consistent user experience with other form controls.

Searchable

Enable search functionality to filter options in large lists.

Empty state

Customize the message shown when no options match the search query.

Multiple selection

Set multiple to allow selecting more than one option. The value and onSelect callbacks receive arrays when multiple mode is enabled.

Toolbar size

size="xxs" draws a 32px field, the height of a size="s" Button, for a filter in a toolbar. The label shows as the placeholder, and a searchable Select opens an xxs search field to match. Every other size keeps the s search field it had.

API reference

Type
Default
optionsrequired
The choices, as value and label pairs.
SelectOptionType[]—
value
The selection. An array when multiple is set.
stringstring[]
—
emptyState
Shown when a search matches nothing.
ReactNodeNo results
onSelect
Called with the new selection.
(value: string | string[]) => void—
placement
Which side the list opens on.
toprightbottomlefttop-starttop-endright-startright-endbottom-startbottom-endleft-startleft-end
—
searchable
Add a filter field above the options.
booleanfalse
className
string—
style
React.CSSProperties—
fillWidth
Match the parent's width.
booleantrue
multiple
Allow more than one choice.
booleanfalse
labels
The search field's name and its clear button's, { search, clear }, for a translated interface. Omitted fields stay English.
SelectLabels—
…and every InputProps propinherited—
…and every DropdownWrapperProps propinherited—
id
string—
label
string—
minHeight
SpacingToken—
minWidth
SpacingToken—
maxWidth
SpacingToken—

SelectOptionType

Type
Default
label
ReactNode—
value
string—
onClick
(value: string) => void—
Edit this page on GitHub