Command Palette
A production-scale, light + dark Command Palette component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add command-paletteLive preview available in the gallery.
Usage
import { CommandPalette } from "@lerpa/ui";
<CommandPalette />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| commands | PaletteCommand[] | — | |
| open | boolean | — | |
| onOpenChange | (open: boolean) => void | — | |
| placeholder | string | — | |
| triggerKey | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.