fndn/ui

Components

Combobox

Beta

A select you can type into to filter its options.

Details

A select you can type into. The select's field-style control holds a text input; typing filters the select's list (the shared popup, option rows and one gliding highlight), the first match is highlighted, Enter or a click chooses. Options can be found by keywords as well as their label; an optional start part (an icon, an avatar, a status) sits before the text; the caret can be left out; free text can be kept as the value when the caller allows it. Opening from the keyboard or by typing is instant; the pointer gets the popup's scale-in. Behaviour, focus and ARIA come from the Zag combobox machine, through Ark UI.

Behaviour from Ark UI, the combobox machine of Zag.