Imagine ArtImagine Art

A searchable dropdown that combines a text input with a filterable option list.

Forms

Import

import { Combobox } from "@/components/ui"

API

PropTypeDefaultDescription
optionsComboboxOption[]—Array of { value, label } objects.
valuestring—Controlled selected value.
onValueChange(value: string) => void—Callback when selection changes.
placeholderstring"Select..."Placeholder for the trigger.
size"sm" | "md""md"Controls height.
labelstring—Label text above the combobox.
errorstring—Error message below.

Examples