TanStack Hotkeys is compatible with various front-end frameworks. Install the corresponding adapter for your framework using your preferred package manager:
npm i @tanstack/react-hotkeysnpm i @tanstack/react-hotkeyspnpm add @tanstack/react-hotkeyspnpm add @tanstack/react-hotkeysyarn add @tanstack/react-hotkeysyarn add @tanstack/react-hotkeysbun add @tanstack/react-hotkeysbun add @tanstack/react-hotkeysEach framework package re-exports everything from the core @tanstack/hotkeys package, so there is no need to install the core package separately.
If you are not using a framework, you can install the core @tanstack/hotkeys package directly for use with vanilla JavaScript.
Start with the Quick Start guide. If you want the integrated devtools panel, also install:
Start with the API reference and guides. If you want the integrated devtools panel, also install:
Start with the API reference and guides. If you want the integrated devtools panel, also install:
Start with the Quick Start guide and the Angular-specific guides.
Angular currently ships the hotkeys adapter only, so no dedicated Angular devtools package is required.
Start with the Quick Start guide and the Vue-specific guides.
If you want the Vue devtools panel component, also install:
Start with the Quick Start guide and the Lit-specific guides.
Lit currently ships the hotkeys adapter only, so no dedicated Lit devtools package is required.
npm i @tanstack/react-devtools
npm i @tanstack/react-hotkeys-devtoolsnpm i @tanstack/react-devtools
npm i @tanstack/react-hotkeys-devtoolspnpm add @tanstack/react-devtools
pnpm add @tanstack/react-hotkeys-devtoolspnpm add @tanstack/react-devtools
pnpm add @tanstack/react-hotkeys-devtoolsyarn add @tanstack/react-devtools
yarn add @tanstack/react-hotkeys-devtoolsyarn add @tanstack/react-devtools
yarn add @tanstack/react-hotkeys-devtoolsbun add @tanstack/react-devtools
bun add @tanstack/react-hotkeys-devtoolsbun add @tanstack/react-devtools
bun add @tanstack/react-hotkeys-devtoolsSee the devtools documentation for setup details.
See the devtools documentation for setup details.
See the devtools documentation for setup details.
See the devtools documentation for setup details.