Combobox
A searchable select with live filtering of options.
Install
npx shadcn add @clearly/comboboxPreview
Live Combobox component — see usage below.
Usage
import { Combobox } from "@/components/ui/combobox"
<Combobox />Every Clearly component also accepts glass (subtle·medium·strong), specular and className.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
value | string | string[] | — | Selected value(s) (controlled). |
defaultValue | string | string[] | — | Initial selected value(s). |
onValueChange | (value: string | string[]) => void | — | Selection callback. |
disabled | boolean | false | Disable the control. |
multiple | boolean | false | Allow multiple selections. |