Combobox

A searchable single-select — a field-styled trigger that opens a Popover with a cmdk search box and a filtered listbox. Accent-insensitive matching, grouped + rich options, a data-driven options prop, async/loading, opt-in free-text create, a clear control, and an aria-live result-count announcer.

Stablev0.3.0@garn/ui/combobox

Default

Controlled single-select over a list of fruits.

With Label

A <Label htmlFor> wired to the trigger via id.

Sizes

xs · sm · md · lg · xl trigger heights.

Grouped

The data-driven `options` prop grouped by region.

Rich Options

Rich rows — avatar leading + a description line.

Async

Server-side search — filter=false, driven inputValue + loading, latest-wins.

Free Text

allowCustomValue + onCreate — a label input that creates new values.

Invalid

aria-invalid with a danger border + recovery message.

Please select a country.

Disabled

A disabled trigger that won't open.