CommandPalette
navigationCommand palette overlay with search input, filtered results, keyboard shortcut badges, and Escape dismiss. Token-driven colors and sizing.
Import
typescript
import { CommandPalette } from "packages/ui/src";Props
CommandPaletteProps
| Prop | Type | Required |
|---|---|---|
open | boolean | Yes |
onClose | () => void, items: CommandItem[], onSelect: (item: CommandItem) => void, placeholder?: string | Yes |
Examples
Command Palette
Searchable command overlay with keyboard shortcuts and filtered results.