Gengar UI

Command Palette

A searchable overlay that allows users to quickly access actions or navigate the application using keyboard commands.

Press ⌘K

Installation

npm install @radix-ui/react-dialog cmdk

Usage

import { CommandPalette } from "@/components/ui/command-palette"

export default function MyComponent() {
  return (
    <div>
      <CommandPalette />
      {/* Your other components */}
    </div>
  )
}