Combobox Component

A searchable dropdown component with autocomplete functionality.

Basic Usage

The standard Combobox with search functionality.

Advanced Features

Explore the various features of the Combobox component.

Clearable

Loading State

Type something to see loading state

Grouped Options

Disabled

Sizes

Combobox comes in different sizes to fit your design needs.

Small

Medium (Default)

Large

API Reference

Complete documentation of the Combobox component props.

Combobox Props

PropDescriptionTypeDefault
optionsArray of options to display in the dropdownComboboxOption[]Required
valueCurrently selected value (controlled)string-
onChangeCallback when selection changes(value: string) => void-
onInputChangeCallback when search input changes(value: string) => void-
placeholderText to display when no option is selectedstring"Select an option"
disabledWhether the combobox is disabledbooleanfalse
errorWhether to show error stylingbooleanfalse
clearableWhether to show a clear buttonbooleanfalse
searchableWhether to enable search functionalitybooleantrue
loadingWhether to show loading indicatorbooleanfalse
groupByWhether to group options by their group propertybooleanfalse
sizeSize of the combobox component"sm" | "md" | "lg""md"

ComboboxOption Interface