Combobox

A powerful input component featuring autocomplete and a built-in command palette for instant suggestions.

lucide-react

Installation


1

Install the following dependencies:

npx shadcn@latest add https://sbthemes.com/r/combobox.json

Examples


Dialog

Responsive

Custom


API Reference

PropTypeDefault
options{ value: string; label: string; }[][]
placeholderstring"Select an option..."
emptyMessagestring"No results found."
defaultValuestring ""
onChange(value: string) => void-
variantpopover,dialog,drawerpopover
triggerClassNamestring""