Combobox
Searchable dropdown that filters items as you type. Built on reka-ui. Use for pickers with many options where a flat Select feels cumbersome.
Basic
A simple combobox with a list of frameworks.
Multiple
A combobox with multiple selection using multiple and ComboboxChips.
Multiple with options
Multiple selection over { value, label } options: chips show labels, fixed options cannot be removed, and a clear button empties the rest. Use this shape when the field stores ids rather than the text shown on screen.
Clear Button
Use the showClear prop to show a clear button. It replaces the trigger while a value is set.
Groups
Use ComboboxGroup and ComboboxSeparator to group items.
Custom Items
You can render a custom component inside ComboboxItem.
Invalid
Use the aria-invalid prop to make the combobox invalid.
Disabled
Use the disabled prop to disable the combobox.
Auto Highlight
Use the autoHighlight prop to automatically highlight the first item on filter.
Popup
Trigger the combobox from a button by giving ComboboxTrigger as-child, then move ComboboxInput inside ComboboxList and set showTrigger to false.
Input Group
Add an addon to the combobox by placing an InputGroupAddon inside ComboboxInput.
API Reference
Combobox
ComboboxInput
ComboboxAnchor / ComboboxTrigger / ComboboxClear
ComboboxChips / ComboboxChip / ComboboxChipsInput
ComboboxList
ComboboxItem
Accessibility
Keyboard shortcuts and ARIA behavior.
- Built on reka-ui Combobox, pairing a textbox input with a role=listbox of options.
- The input exposes aria-expanded and aria-activedescendant tracks the highlighted option.