CommandPalette
Thin action registry over `CommandDialog` / cmdk. Consumers register flat commands; optional `group` buckets them.
packages/ui/src/components/ui/command-palette.tsx
Import
Subpath export:
@marktiderman/genesis-uiimport { CommandPalette } from "@marktiderman/genesis-ui";Components
Auto-generated from TypeScript source via
react-docgen-typescript.CommandPalette
Thin action registry over `CommandDialog` / cmdk. Consumers register flat commands; optional `group` buckets them.
| Prop | Type | Default | Description |
|---|---|---|---|
| commands* | CommandPaletteItem[] | — | |
| onOpenChange* | (open: boolean) => void | — | |
| open* | boolean | — | |
| emptyMessage | string | No results found. | |
| placeholder | string | Type a command or search… | |
| title | string | Command palette |
useCommandPaletteHotkey
Toggle a command palette with Cmd/Ctrl+K. Returns `[open, setOpen]` — pass into `<CommandPalette open onOpenChange />`.
No declared props.