Back to Components
Components

Command Dialog

Command palette dialog with search, sections, and keyboard navigation.

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/command-dialog.tsx

Installation

Using shadcn CLI

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

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge