Combobox

A searchable select with live filtering of options.

Install

npx shadcn add @clearly/combobox

Preview

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

PropTypeDefaultDescription
valuestring | string[]Selected value(s) (controlled).
defaultValuestring | string[]Initial selected value(s).
onValueChange(value: string | string[]) => voidSelection callback.
disabledbooleanfalseDisable the control.
multiplebooleanfalseAllow multiple selections.