🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

js-keyboard-keys is a jQuery plugin that detects keypress events and shows what keys are being pressed on the screen.

Keyboard

Documentation

js-keyboard-keys

Some simple code to include working keyboard key visuals to help explain users keyboard shortcuts. Automatically adapts for Windows/Mac users.

Demo

Checkout the demo

Usage

<span class="key-ctrl">Ctrl</span> <span class="key-shift">Shift</span> <span class="key-alt">Alt</span> <span class="key-meta">⊞ Win</span>

JavaScript will change buttons to Mac variants.


You May Also Like