useKeyPress
Detect keys and shortcuts like mod+k, returning whether they are held and optionally calling a handler.
ReactKeyboardShortcutsInteraction
ShiftSpace← / →⌘/Ctrl + K
Press the keys above. The shortcut handler has run 0 times.
Install Dependencies
1npx shadcn@latest add https://ui.devsloka.in/r/use-key-press.json