All components

Autocomplete

Free-text input with filtered suggestions; the typed text is the value, suggestions just fill it in.

Variants

outline
subtle
flushed

Sizes

xs
sm
md
lg

Free text value

Any text is a valid value: type something that isn't suggested, or pick a suggestion to fill the input.

Value: “”

Install

Source

components/ui/base-ui/autocomplete.tsx