TanStack
Hotkeys
v0
v0
New
TanStack Intent
Search...
K
Auto
Log In
Start
RC
Start
RC
Router
Router
Query
Query
Table
Table
DB
beta
DB
beta
AI
alpha
AI
alpha
Form
new
Form
new
Virtual
Virtual
Pacer
beta
Pacer
beta
Hotkeys
alpha
Hotkeys
alpha
Store
alpha
Store
alpha
Devtools
alpha
Devtools
alpha
CLI
alpha
CLI
alpha
Intent
alpha
Intent
alpha
More Libraries
More Libraries
Builder
Alpha
Builder
Alpha
Maintainers
Maintainers
Partners
Partners
Showcase
Showcase
Blog
Blog
Learn
NEW
Learn
NEW
Support
Support
Stats
Stats
YouTube
YouTube
Discord
Discord
Merch
Merch
GitHub
GitHub
Ethos
Ethos
Tenets
Tenets
Brand Guide
Brand Guide
Docs
Partners
Preact
Latest
Search...
K
Menu
Home
Frameworks
Contributors
NPM Stats
GitHub
YouTube
Discord
Getting Started
Overview
Installation
Devtools
Preact Hooks
Guides
Hotkeys
Sequences
Hotkey Recording
Key State Tracking
Formatting & Display
API Reference
Core API
Preact Hooks
Hotkeys API Reference
HotkeyManager
getHotkeyManager
HotkeyOptions
HotkeyRegistration
HotkeyRegistrationHandle
HotkeyCallback
HotkeyCallbackContext
ConflictBehavior
useHotkey
UseHotkeyOptions
Hotkey Sequence API Reference
SequenceManager
getSequenceManager
SequenceOptions
createSequenceMatcher
HotkeySequence
useHotkeySequence
UseHotkeySequenceOptions
Key Hold API Reference
KeyStateTracker
getKeyStateTracker
KeyStateTrackerState
HeldKey
useKeyHold
Held Keys API Reference
KeyStateTracker
getKeyStateTracker
KeyStateTrackerState
HeldKey
useHeldKeys
useHeldKeyCodes
Hotkey Recorder API Reference
HotkeyRecorder
HotkeyRecorderOptions
HotkeyRecorderState
useHotkeyRecorder
PreactHotkeyRecorder
Format for Display API Reference
formatForDisplay
formatHotkey
formatKeyForDebuggingDisplay
formatWithLabels
convertToModFormat
FormatDisplayOptions
FormatKeyDebuggingOptions
KEY_DISPLAY_SYMBOLS
MAC_MODIFIER_SYMBOLS
STANDARD_MODIFIER_LABELS
MODIFIER_ALIASES
MODIFIER_ORDER
MODIFIER_KEYS
Examples
useHotkey
useHotkeySequence
useHotkeyRecorder
useHeldKeys
useKeyHold
latest
Preact
Latest
Menu
Home
Frameworks
Contributors
NPM Stats
GitHub
YouTube
Discord
Getting Started
Overview
Installation
Devtools
Preact Hooks
Guides
Hotkeys
Sequences
Hotkey Recording
Key State Tracking
Formatting & Display
API Reference
Core API
Preact Hooks
Hotkeys API Reference
HotkeyManager
getHotkeyManager
HotkeyOptions
HotkeyRegistration
HotkeyRegistrationHandle
HotkeyCallback
HotkeyCallbackContext
ConflictBehavior
useHotkey
UseHotkeyOptions
Hotkey Sequence API Reference
SequenceManager
getSequenceManager
SequenceOptions
createSequenceMatcher
HotkeySequence
useHotkeySequence
UseHotkeySequenceOptions
Key Hold API Reference
KeyStateTracker
getKeyStateTracker
KeyStateTrackerState
HeldKey
useKeyHold
Held Keys API Reference
KeyStateTracker
getKeyStateTracker
KeyStateTrackerState
HeldKey
useHeldKeys
useHeldKeyCodes
Hotkey Recorder API Reference
HotkeyRecorder
HotkeyRecorderOptions
HotkeyRecorderState
useHotkeyRecorder
PreactHotkeyRecorder
Format for Display API Reference
formatForDisplay
formatHotkey
formatKeyForDebuggingDisplay
formatWithLabels
convertToModFormat
FormatDisplayOptions
FormatKeyDebuggingOptions
KEY_DISPLAY_SYMBOLS
MAC_MODIFIER_SYMBOLS
STANDARD_MODIFIER_LABELS
MODIFIER_ALIASES
MODIFIER_ORDER
MODIFIER_KEYS
Examples
useHotkey
useHotkeySequence
useHotkeyRecorder
useHeldKeys
useKeyHold
AI/LLM: This documentation page is available in plain markdown format at/hotkeys/latest/docs/framework/preact/reference/index.md
Learn about TanStack Ads
Hide Ads
Getting Started
On this page
@tanstack/preact-hotkeys
Copy page
@tanstack/preact-hotkeys
Interfaces
HotkeysProviderOptions
HotkeysProviderProps
PreactHotkeyRecorder
UseHotkeyOptions
UseHotkeySequenceOptions
Functions
HotkeysProvider
useDefaultHotkeysOptions
useHeldKeyCodes
useHeldKeys
useHotkey
useHotkeyRecorder
useHotkeysContext
useHotkeySequence
useKeyHold
Edit on GitHub
Previous
Devtools
Next
Hotkeys
On this page
@tanstack/preact-hotkeys
Interfaces
Functions
Learn about TanStack Ads
Hide Ads
Partners
Become a Partner
Learn about TanStack Ads
Hide Ads