Settings Shortcut Recorder
'Keyboard shortcuts' settings screen where each action is reassigned by recording ⌘⇧K and saving.
Choose the primitives library your project already uses. Both look the same: your theme, not the variant, controls colors, shape, type and motion.
About this block
What it's for
- 'Keyboard shortcuts' settings screen where each action is reassigned by recording ⌘⇧K and saving.
- Shortcut editor for an IDE or devtools console that blocks combinations reserved by the browser.
- Customize the command palette shortcut in an AI or notes workspace.
For only the shortcut reference needs to be shown, use Util Shortcuts Overlay.
Includes
- Keyboard shortcut capture
- Modifier plus key recording
- Modifier only input ignored
- Layout independent key codes
- Platform label normalization
- Canonical mod binding
- Editable combination builder
- Clear and cancel without saving
Works with
- Radix UI and Base UI primitives (pick the one your project uses)
- React 19, Next.js App Router and Tailwind CSS 4, installed with the shadcn CLI
- Your theme tokens, in light and dark mode
Install
Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.
Agentic UI CLI
agentic-ui add settings-shortcut-recorderInstalls through shadcn and adapts the component to your design tokens.
shadcn CLI
npx shadcn@4.17.0 add @agentic-ui/settings-shortcut-recorderUsed in
A standalone component: drop it into any screen.
- Type
- Block
- Variants
- Radix UI and Base UI
- Themes
- Light and dark
- Widths
- Preview it at desktop, tablet and mobile widths above.
- npm packages
lucide-react- Registry dependencies
lib-primitivesutil-shortcuts-overlay- Files
2 files
- components/agentic-ui/settings-shortcut-recorder/settings-shortcut-recorder.tsx
- components/agentic-ui/settings-shortcut-recorder/shortcut-model.ts
Related components
Settings Notification Routing
Incident notification routing.
Details and live previewSettings Theme Primitive Controller
Theme and style configuration panel.
Details and live previewA11y Contrast Badge
Check in the browser whether the theme palette meets AA before opening the PR.
Details and live previewA11y Focus Manager
Confirmation dialog that returns focus to the button that opened it.
Details and live preview