Libraries
Framework
Start
Router
Data & State
Query
DB
Store
AI
UI & UX
Table
Charts
Form
Hotkeys
Markdown
Highlight
Performance
Virtual
Pacer
Tooling
Devtools
Config
CLI
Intent
Browse all libraries
Blog
Blog & Release Notes
About
YouTube
The official TanStack channel.
Workshops
Live sessions from the maintainers.
Release Notes
The latest releases and changelog.
Community
Channels
Discord
Real-time community support.
GitHub
Source, issues, discussions, and releases.
People & Work
Maintainers
Meet the people maintaining the stack.
Contributors
Core, library, and community contributors.
Showcase
Teams building with TanStack.
Tools
Tools
Builder
Alpha
Generate TanStack app starters.
Stats
NPM and ecosystem usage data.
Merch
View all
Support
Support
Support Overview
Find the right support path.
Partners
Companies supporting TanStack.
OSS Sponsors
Sponsors keeping TanStack open source.
Enterprise Support
Private consulting and expert support.
Contact
Get in touch with the TanStack team.
About
Ethos
How we approach open source.
Tenets
The values that shape TanStack libraries.
Design System
Logos, tokens, and UI components.
Search
AI
Ask AI
Log In
Log In
Libraries
Blog
Blog & Release Notes
About
YouTube
The official TanStack channel.
Workshops
Live sessions from the maintainers.
Release Notes
The latest releases and changelog.
Community
Channels
Discord
Real-time community support.
GitHub
Source, issues, discussions, and releases.
People & Work
Maintainers
Meet the people maintaining the stack.
Contributors
Core, library, and community contributors.
Showcase
Teams building with TanStack.
Tools
Tools
Builder
Alpha
Generate TanStack app starters.
Stats
NPM and ecosystem usage data.
Merch
View all
Support
Support
Support Overview
Find the right support path.
Partners
Companies supporting TanStack.
OSS Sponsors
Sponsors keeping TanStack open source.
Enterprise Support
Private consulting and expert support.
Contact
Get in touch with the TanStack team.
About
Ethos
How we approach open source.
Tenets
The values that shape TanStack libraries.
Design System
Logos, tokens, and UI components.
Partnership Inquiry
Docs
React
Latest
Search...
K
API Reference
Core API
React Hooks
Hotkeys API Reference
HotkeyManager
getHotkeyManager
HotkeyOptions
HotkeyRegistration
HotkeyRegistrationHandle
HotkeyCallback
HotkeyCallbackContext
HotkeyMeta
HotkeyRegistrationView
toHotkeyRegistrationView
ConflictBehavior
useHotkey
useHotkeys
useHotkeysContext
UseHotkeyOptions
UseHotkeyDefinition
HotkeysProvider
HotkeysProviderProps
HotkeysProviderOptions
useDefaultHotkeysOptions
useHotkeyRegistrations
HotkeyRegistrationsResult
Hotkey Sequence API Reference
SequenceManager
getSequenceManager
SequenceOptions
createSequenceMatcher
HotkeySequence
SequenceRegistrationHandle
SequenceRegistrationView
useHotkeySequence
UseHotkeySequenceOptions
useHotkeySequences
UseHotkeySequenceDefinition
Key hold & held keys API Reference
KeyStateTracker
getKeyStateTracker
KeyStateTrackerState
IndividualKey
useKeyHold
useHeldKeys
useHeldKeyCodes
Hotkey Recorder API Reference
HotkeyRecorder
HotkeyRecorderOptions
HotkeyRecorderState
useHotkeyRecorder
ReactHotkeyRecorder
Hotkey Sequence Recorder API Reference
HotkeySequenceRecorder
HotkeySequenceRecorderOptions
HotkeySequenceRecorderState
HotkeySequenceRecorderCommitKeys
useHotkeySequenceRecorder
ReactHotkeySequenceRecorder
Normalization & format API Reference
normalizeHotkey
normalizeHotkeyFromParsed
normalizeHotkeyFromEvent
normalizeRegisterableHotkey
formatForDisplay
formatHotkey
formatWithLabels
FormatDisplayOptions
KEY_DISPLAY_SYMBOLS
PUNCTUATION_KEY_DISPLAY_LABELS
MAC_MODIFIER_SYMBOLS
MAC_MODIFIER_LABELS
WINDOWS_MODIFIER_LABELS
LINUX_MODIFIER_LABELS
MODIFIER_ALIASES
MODIFIER_ORDER
MODIFIER_KEYS
Menu
Menu
Home
Get Started
Guides
API
Examples
React
Latest
API Reference
Core API
React Hooks
Hotkeys API Reference
HotkeyManager
getHotkeyManager
HotkeyOptions
HotkeyRegistration
HotkeyRegistrationHandle
HotkeyCallback
HotkeyCallbackContext
HotkeyMeta
HotkeyRegistrationView
toHotkeyRegistrationView
ConflictBehavior
useHotkey
useHotkeys
useHotkeysContext
UseHotkeyOptions
UseHotkeyDefinition
HotkeysProvider
HotkeysProviderProps
HotkeysProviderOptions
useDefaultHotkeysOptions
useHotkeyRegistrations
HotkeyRegistrationsResult
Hotkey Sequence API Reference
SequenceManager
getSequenceManager
SequenceOptions
createSequenceMatcher
HotkeySequence
SequenceRegistrationHandle
SequenceRegistrationView
useHotkeySequence
UseHotkeySequenceOptions
useHotkeySequences
UseHotkeySequenceDefinition
Key hold & held keys API Reference
KeyStateTracker
getKeyStateTracker
KeyStateTrackerState
IndividualKey
useKeyHold
useHeldKeys
useHeldKeyCodes
Hotkey Recorder API Reference
HotkeyRecorder
HotkeyRecorderOptions
HotkeyRecorderState
useHotkeyRecorder
ReactHotkeyRecorder
Hotkey Sequence Recorder API Reference
HotkeySequenceRecorder
HotkeySequenceRecorderOptions
HotkeySequenceRecorderState
HotkeySequenceRecorderCommitKeys
useHotkeySequenceRecorder
ReactHotkeySequenceRecorder
Normalization & format API Reference
normalizeHotkey
normalizeHotkeyFromParsed
normalizeHotkeyFromEvent
normalizeRegisterableHotkey
formatForDisplay
formatHotkey
formatWithLabels
FormatDisplayOptions
KEY_DISPLAY_SYMBOLS
PUNCTUATION_KEY_DISPLAY_LABELS
MAC_MODIFIER_SYMBOLS
MAC_MODIFIER_LABELS
WINDOWS_MODIFIER_LABELS
LINUX_MODIFIER_LABELS
MODIFIER_ALIASES
MODIFIER_ORDER
MODIFIER_KEYS
AI/LLM: This documentation page is available in plain markdown format at/hotkeys/latest/docs/reference/index.md
API Reference
On this page
@tanstack/hotkeys
Copy page
@tanstack/hotkeys
#
Classes
#
HotkeyManager
HotkeyRecorder
HotkeySequenceRecorder
KeyStateTracker
SequenceManager
Interfaces
#
CreateHotkeyHandlerOptions
FormatDisplayOptions
HotkeyCallbackContext
HotkeyMeta
HotkeyOptions
HotkeyRecorderOptions
HotkeyRecorderState
HotkeyRegistration
HotkeyRegistrationHandle
HotkeyRegistrationView
HotkeySequenceRecorderOptions
HotkeySequenceRecorderState
KeyStateTrackerState
ParsedHotkey
RawHotkey
SequenceOptions
SequenceRegistrationHandle
SequenceRegistrationView
ValidationResult
Type Aliases
#
CanonicalModifier
ConflictBehavior
EditingKey
FunctionKey
Hotkey
HotkeyCallback
HotkeySequence
HotkeySequenceRecorderCommitKeys
IndividualKey
Key
LetterKey
Modifier
NavigationKey
NumberKey
PunctuationKey
RegisterableHotkey
Variables
#
ALL_KEYS
DEFAULT_SEQUENCE_TIMEOUT
EDITING_KEYS
FUNCTION_KEYS
KEY_DISPLAY_SYMBOLS
LETTER_KEYS
LINUX_MODIFIER_LABELS
MAC_MODIFIER_LABELS
MAC_MODIFIER_SYMBOLS
MODIFIER_ALIASES
MODIFIER_KEYS
MODIFIER_ORDER
NAVIGATION_KEYS
NUMBER_KEYS
PUNCTUATION_CODE_MAP
PUNCTUATION_KEY_DISPLAY_LABELS
PUNCTUATION_KEYS
WINDOWS_MODIFIER_LABELS
Functions
#
assertValidHotkey
checkHotkey
createHotkeyHandler
createMultiHotkeyHandler
createSequenceMatcher
detectPlatform
formatForDisplay
formatHotkey
formatHotkeySequence
formatWithLabels
getHotkeyManager
getKeyStateTracker
getSequenceManager
hasNonModifierKey
isModifierKey
isSingleLetterKey
matchesKeyboardEvent
normalizeHotkey
normalizeHotkeyFromEvent
normalizeHotkeyFromParsed
normalizeKeyName
normalizeRegisterableHotkey
parseHotkey
parseKeyboardEvent
rawHotkeyToParsedHotkey
resolveModifier
toHotkeyRegistrationView
validateHotkey
Edit on GitHub
Next
React Hooks
On this page
@tanstack/hotkeys
Classes
Interfaces
Type Aliases
Variables
Functions
Blog
@Tan_Stack on X.com
@TannerLinsley on X.com
GitHub
YouTube
Ethos
Tenets
Privacy Policy
Terms of Service
© 2026 TanStack LLC
Partners
Become a Partner
Gold
Silver
Bronze
Latest Posts