Collection of free vanilla JavaScript keyboard code examples.


Author

  • Ricardo Oliva Alonso

Made with

  • HTML (Pug) / CSS (SCSS) / JS

About a code

Keyboard - Type Something

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: -

Author

  • evilpaper

Made with

  • HTML / CSS / JS

About a code

Keyboard Hero

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: -

Author

  • James Holmes

Made with

  • HTML / CSS (SCSS) / JS (TypeScript)

About a code

Interactive 60% Keyboard

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: -

Author

  • Jacob Foster

Made with

  • HTML (Pug) / JS (Babel)

About a code

Keyboard Layout

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Demo image: Apple Keyboard

Author

  • Jon Kantner

Made with

  • HTML / CSS / JS

About a code

Apple Keyboard

Just another CSS grid demo. This time, it’s an interactive Apple USB keyboard (without the cable).

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: -

Author

  • Josh Collinsworth

Made with

  • HTML / CSS (SCSS) / JS

About a code

JavaScript Interactive Keyboard

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: -

Author

  • Dan Wilson

Made with

  • HTML / CSS (SCSS) / JS

About a code

WAAAAPI Keyboard

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: web-animations-next.js

Demo image: Web Audio Keyboard

Author

  • Dave DeSandro

Made with

  • HTML / CSS / JS

About a code

Web Audio Keyboard

C Major, 3 octaves, QWERTY because bumper-bowling is way more fun.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -