React Hotkeys Hook
React hook for keyboard shortcuts with modifier keys, key sequences, and scopes
React Hotkeys Hook adds keyboard shortcuts to React components with one hook. It handles modifier keys, key sequences, and scopes, and it has documentation for each major version. It uses the MIT license and was at version 5.3.3 when checked.
npm install react-hotkeys-hookUse it to add keyboard shortcuts to a web app. Show each shortcut in the interface, and do not override browser or screen reader keys.
Why it is here. It is a common way to add keyboard shortcuts in React.
- One hook
- Sequences and scopes
- MIT license
Verified 2026-10-09. HTTP 200. https://react-hotkeys-hook.vercel.app/ (HTTP 200, page fetched 2026-10-09), https://github.com/JohannesKlauss/react-hotkeys-hook (GitHub API, 3506 stars), depo.zip listing https://www.depo.zip/tools/j57bwstan4zt2dqzcmh2he9snd80fbrb








