Skip to Content

ComboBox

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

Component props

NameTypeDescription
itemsany[]Array of items to display
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
renderEmptyStateFunctionRender function for empty state