Editable combobox (input + listbox) implementing the APG pattern. Compose with <ComboboxInput>, <ComboboxList>, and <ComboboxOption>. The enhancer adds filtering, aria-activedescendant navigation, and selection; both the committed value and the open state work uncontrolled or controlled.

<Combobox value={fruit} onValueChange={setFruit}>
<ComboboxInput placeholder="Search..." />
<ComboboxList>
<ComboboxOption value="apple">Apple</ComboboxOption>
<ComboboxOption value="banana">Banana</ComboboxOption>
</ComboboxList>
</Combobox>

Properties

$$typeof: symbol
displayName?: string

Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.

propTypes?: any

Ignored by React.

Only kept in types for backwards compatibility. Will be removed in a future major release.