Combobox
View in FigmaA searchable dropdown that combines a text input with a filterable option list.
FormsImport
import { Combobox } from "@/components/ui"API
| Prop | Type | Default | Description |
|---|---|---|---|
| options | ComboboxOption[] | — | Array of { value, label } objects. |
| value | string | — | Controlled selected value. |
| onValueChange | (value: string) => void | — | Callback when selection changes. |
| placeholder | string | "Select..." | Placeholder for the trigger. |
| size | "sm" | "md" | "md" | Controls height. |
| label | string | — | Label text above the combobox. |
| error | string | — | Error message below. |