Combobox

A text box that filters a list as you type, then lets you pick an option. Follows the ARIA combobox pattern with full keyboard support.

Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.

Combobox3D props

PropTypeDefaultDescription
optionsComboboxOption[]All the options that can be chosen.
valuestring | nullChosen value. Set it to control the component.
defaultValuestring | nullnullStarting value when uncontrolled.
onValueChange(value: string | null) => voidCalled with the chosen value, or null when cleared.
placeholderstring"Search…"Hint shown while the input is empty.
emptyTextstring"No matches"Text shown when nothing matches.
aria-labelstringRequired: names the input for screen readers.
classNamestringExtra classes added to the outer element.

More components

Guides

Start

Cards

Scenes

Controls & text

Buttons

More cards

UI elements

Form controls

App components

Text & backgrounds

Showpieces

Blocks