Skip to content
zenui/react-hooks

useHotkeys

Bind keyboard shortcuts, including combos like mod+k, several bindings at once and sequences like g h. Keys typed into form fields are ignored unless you opt in.

Level
Advanced
Since
v2.1.0
import {useHotkeys} from '@zenuilabs/react-hooks';
Loading demo_

More in Interaction