Skip to Content
DocsComponentsCombobox

ComboBox

A combo box combines a text input with a listbox, allowing users to filter a list of options to items matching a query.

Empty state

When filtering returns no matches, the combo box displays a helpful empty state. Use renderEmptyState to replace it with custom content.

Component props

NameTypeDescription
inputValuestringControlled input value
defaultInputValuestringDefault input value
selectedKeystringControlled selected key
defaultSelectedKeystringDefault selected key
isDisabledbooleanDisables the combobox
onInputChange(value: string) => voidCalled when input changes
onSelectionChange(key: string) => voidCalled when selection changes
renderEmptyStateFunctionReplaces the default empty-state message