Installation
HotkeyPad can be installed via your favorite package manager or loaded directly from a CDN.Package managers
Install HotkeyPad using npm, yarn, or pnpm:HotkeyPad has zero dependencies, so this is all you need to install.
CDN
You can also use HotkeyPad directly from a CDN without any build step:Importing in your project
Once installed, import HotkeyPad and its CSS into your JavaScript or TypeScript file:You must import the CSS file for HotkeyPad to display correctly. The CSS includes all default styles and variables.
Requirements
HotkeyPad works in all modern browsers that support:- ES6 modules
- Custom events
- MutationObserver API
- CSS variables
Verify installation
To verify that HotkeyPad is installed correctly, try importing it:Next steps
Now that you have HotkeyPad installed, let’s build your first keyboard shortcut interface.Quickstart
Create a working keyboard shortcut in under 5 minutes