Combobox

Searchable select with keyboard navigation. Supports flat and grouped options. Use when the option list is long enough that filtering adds value.

Examples

Grouped options

Sizes

Props

items*
ComboboxOption[] | ComboboxGroup[]
Flat list of options or grouped options.
value
string
Controlled selected value.
defaultValue
string
Initial value for uncontrolled usage.
onValueChange
(value: string) => void
Called when the selection changes.
placeholder= 'Select…'
string
Trigger label when nothing is selected.
searchPlaceholder= 'Search…'
string
Placeholder inside the search input.
emptyText= 'No results found.'
string
Message when search returns no matches.
size= 'md'
'sm' | 'md' | 'lg'
Height and padding scale.
error= false
boolean
Applies error border colour.
disabled= false
boolean
Disables the combobox.