Back to Components
Components

Spotlight Search

Full screen search overlay with command style results and shortcuts.

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/spotlight-search.tsx

Installation

Using shadcn CLI

npx shadcn add spotlight-search --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge