Combobox
Searchable autocomplete and multi-select chips recipes for combobox pickers.
TypeScript
StyleX
Usage
import {
combobox,
comboboxChip,
comboboxChipRemove,
comboboxChips,
comboboxContent,
comboboxEmpty,
comboboxGroup,
comboboxInput,
comboboxItem,
comboboxLabel,
comboboxList,
} from "coatx/combobox";
Exports (coatx/combobox)
| Export | Description |
|---|---|
combobox(options?) |
Root combobox container |
comboboxChips(options?) |
Focus-ringed input field holding selected chips and filter input |
comboboxChip(options?) |
Selected token chip |
comboboxChipRemove(options?) |
Remove button inside a chip |
comboboxInput(options?) |
Inline text filter input |
comboboxContent(options?) |
Floating listbox popup surface |
comboboxList(options?) |
Scrollable options list |
comboboxEmpty(options?) |
Empty search state message |
comboboxGroup(options?) |
Option group wrapper |
comboboxLabel(options?) |
Muted group label |
comboboxItem(options?) |
Selectable option row (highlighted, selected, disabled) |
comboboxStyles |
Compiled StyleX style map |