Basic Usage
Options are defined asComboboxOption children. Each option needs a label (displayed) and value (stored in state). When you pass just a string, the value is auto-generated from the label.
Reading the Selection
Thename prop creates a state key that holds the selected option’s value. Use {{ key }} interpolation to display it anywhere, or reference it in actions and visibility conditions.
With Search Placeholder
Customize the placeholder text shown in the search input.Disabled Options
Individual options can be disabled.API Reference
Combobox Parameters
Text shown when no value is selected.
Placeholder text in the search input.
State key for the selected value.
Whether the combobox is non-interactive.
Additional Tailwind CSS classes.
Protocol Reference
Combobox
ComboboxOption