KB-101 · COMMAND/DECK
Command Deck
A command palette that arms before it fires — a deliberate fill sweeps the selected row before execution, so destructive commands never feel accidental.
KB-101 · COMMAND/DECK
Actions
Run calibration⌘R
Open telemetry
Export bench report⌘E
Preferences
Toggle dark mode
People
Invite operator…
Danger zone
Archive rig
Standing byDemo theme · Light
Install
One command — the source lands in your repo. Or copy it from the Code tab.
$ pnpm dlx shadcn@latest add @kinetiq/command-deck
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| commands | DeckCommand[] | — | { id, label, hint?, icon?, section?, keywords?, destructive?, run } per command. |
| open / defaultOpen / onOpenChange | boolean / boolean / (open) => void | — | Controlled or uncontrolled visibility. |
| hotkey | boolean | true | Global ⌘K / Ctrl+K toggle listener. |
| inline / portal | boolean | false / true | Inline renders just the panel (docs/demos); portal overlays into body with focus trap and scroll lock. |
| recentKey | string | "kinetiq-deck-recents" | localStorage key for the five most recent command ids. |