Back to Components
Components
Search Autocomplete
Search input with dropdown suggestions, keyboard navigation, and loading states.
Dependencies
- clsx
- tailwind-merge
Files
- components/ui/search-autocomplete.tsx
Installation
Using shadcn CLI
npx shadcn add search-autocomplete --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install clsx tailwind-merge