hotkey-hint
Keyboard shortcuts your users will actually find.
hotkey-hint – Keyboard shortcut overlays with minimal setup
Summary: hotkey-hint is a lightweight, zero-dependency library that registers keyboard shortcuts and displays a customizable overlay triggered by pressing ?. It supports sequences, modifier keys, and grouping shortcuts with minimal code, working across frameworks and vanilla JavaScript.
What it does
It registers hotkeys with simple commands, shows a polished overlay of shortcuts on pressing ?, and handles vim-style sequences, groups, and modifiers. The library is 1.8kB gzipped and supports dark, light, and auto themes.
Who it's for
Developers building power-user applications who need a streamlined way to implement and display keyboard shortcuts without heavy dependencies.
Why it matters
It eliminates the need to build complex shortcut handling and UI from scratch, providing a reusable, framework-agnostic solution for shortcut discovery and management.