Skip to content
IndexDesign corpus
Component LibrariesPrimitiveMITFreeReact

React Hotkeys Hook

React hook for keyboard shortcuts with modifier keys, key sequences, and scopes

Aboutreact-hotkeys-hook.vercel.app

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.

Install
npm install react-hotkeys-hook
For an agent

Use 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.

Install command, framework, licence and component list.
Notable for
  • One hook
  • Sequences and scopes
  • MIT license
Provenance

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

Related resourcesComponent Libraries