Skip to content
T

@TanStack/hotkeys

Type-Safe keyboard shortcuts library with awesome devtools

by TanStackOpen source

#1204in UI Libraries
0In stores

Description

TanStack Hotkeys is a type-safe keyboard shortcuts library for the web, currently in beta. You define shortcuts as template strings such as…

Highlights

  • Type-safe shortcuts such as Mod+Shift+S
  • Cross-platform Mod key for Cmd and Ctrl
  • Vim-style key sequences and key-state tracking
  • Framework adapters for React, Vue, Svelte, Angular and more
  • Singleton manager and cheatsheet helpers

Ratings & Reviews

No ratings yet

Be the first to rate @TanStack/hotkeys.

People also visit

R

react-hotkeys

A declarative library for handling hotkeys and focus within a React application

UI Libraries
Launch
R

react-keyboard

A declarative library for handling hotkeys and focus within a React application

UI Libraries
Launch
R

react-keydown

Lightweight keydown wrapper for React components

UI Libraries
Launch
K

kbar

fast, portable, and extensible cmd+k interface for your site

UI Libraries
Launch
V

vue-global-events

A component to handle global events (like shortcuts) using Vue’s event modifiers

UI Libraries
Launch
M

maskito

Collection of libraries to create an input mask which ensures

UI Libraries
Launch

@TanStack/hotkeys FAQ

What is TanStack Hotkeys?

A type-safe keyboard shortcuts library for the web. The README says it is in beta.

How do I write a shortcut?

Use a template string such as Mod+Shift+S or Escape, or a parsed object for full control.

What does Mod mean?

It maps to Cmd on macOS and Ctrl on Windows and Linux.

Which frameworks are supported?

The README lists adapters for Alpine, Ember, Octane, React, Preact, Solid, Angular, Vue, Lit and Svelte.

Is it ready for production?

The README says it is in beta and still actively developed, and it asks for feedback and contributions.

What are the best @TanStack/hotkeys alternatives?

Popular alternatives to @TanStack/hotkeys include react-hotkeys, react-keyboard and react-keydown. See all @TanStack/hotkeys alternatives

Developer Stuff

Badges