Back to Components
Components

Command Palette

Global command overlay with search, keyboard shortcuts, and filtered actions.

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/command-palette.tsx

Installation

Using shadcn CLI

npx shadcn add command-palette --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge