components/command-palette

Command Palette

A ⌘K palette with grouped fuzzy-ish results, arrow-key selection and a live footer.

Usageimport { CommandPalette } from "./CommandPalette";
1import { CommandPalette } from "./CommandPalette";
2 
3<CommandPalette />

Copy the source with the toolbar’s copy button — or open the Code pane to select it by hand — then paste the file into your project. It is self-contained, with no registry metadata and no dependencies.

Props

PropTypeDefault
placeholderstringSearch commands
defaultOpenbooleantrue