Back to Components
Components

Searchable Select

Combobox with search filtering, keyboard navigation, and multi-select support.

AnalyticsGrowth

Dependencies

  • clsx
  • tailwind-merge
  • lucide-react

Files

  • components/ui/searchable-select.tsx

Installation

Using shadcn CLI

npx shadcn add searchable-select --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge lucide-react