TypeScript MIT

hotkeys

Type-Safe keyboard shortcuts library with awesome devtools

T

TanStack

Dernière activité 27 sept. 2026
TanStack/hotkeys

729

étoiles

47

forks

14

issues ouvertes

Ce README est souvent en anglais.

TanStack Hotkeys

TanStack Hotkeys

Note

TanStack Hotkeys is alpha. We are actively developing the library and are open to feedback and contributions.

Type-safe keyboard shortcuts for the web. Template-string bindings, parsed objects, a cross-platform Mod key, a singleton Hotkey Manager, and utilities for cheatsheet UIs—built to stay SSR-friendly.

  • Type-safe bindings — template strings (Mod+Shift+S, Escape) or parsed objects for full control
  • Flexible options — keydown/keyup, preventDefault, stopPropagation, conditional enabled, requireReset
  • Cross-platform Mod — maps to Cmd on macOS and Ctrl on Windows/Linux
  • Batteries included — validation + matching, sequences (Vim-style), key-state tracking, recorder UI helpers, framework adapters, and devtools

Get Involved

Partners

CodeRabbit Cloudflare
Keys & you?

We're looking for TanStack Hotkeys Partners to join our mission! Partner with us to push the boundaries of TanStack Hotkeys and build amazing things together.

LET'S CHAT

Explore the TanStack Ecosystem

… and more at TanStack.com »

Projets similaires

➷ A robust Javascript library for capturing keyboard input. It has no dependencies.

TypeScriptbrowserhotkeyhotkeys
Jjaywcjlove
7,1 k étoiles414

A tiny (~650 B) & modern library for keybindings.

TypeScript
Jjamiebuilds
4,1 k étoiles88

A browser extension for custom keyboard shortcuts

TypeScriptchromejavascriptwebextension
Ccrittermike
1,3 k étoiles180