Combobox
A customizable dropdown component that allows users to select an item from a list, with support for filtering and custom styling.
API Reference
Usage
Properties
The Combobox component extends the Bits UI <Combobox> component. Find the full list of available properties in the official Bits UI documentation.
ComboboxInput
| Prop | Type | Default |
|---|---|---|
icon | ComponentType | - |
ComboboxItem
| Prop | Type | Default |
|---|---|---|
icon | ComponentType | - |
Examples
Header
Use the ComboboxHeader component to add a header to the combobox.
Icon support
Use the icon property to add an icon to either the ComboboxInput or ComboboxItem component.
Description
Use the Description component inside the ComboboxItem component to provide additional information about the combobox item.
Sublabel
Use the Sublabel component inside the ComboboxItem component to add a secondary label to the combobox item.
Disabled
Use the disabled property to prevent users from interacting with the combobox.
Disabled item
Use the disabled property inside the ComboboxItem component to prevent users from interacting with the combobox item.