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.
| Prop | Type | Default | Description |
|---|---|---|---|
| options | ComboboxOption[] | All the options that can be chosen. | |
| value | string | null | Chosen value. Set it to control the component. | |
| defaultValue | string | null | null | Starting value when uncontrolled. |
| onValueChange | (value: string | null) => void | Called with the chosen value, or null when cleared. | |
| placeholder | string | "Search…" | Hint shown while the input is empty. |
| emptyText | string | "No matches" | Text shown when nothing matches. |
| aria-label | string | Required: names the input for screen readers. | |
| className | string | Extra classes added to the outer element. |