common

Kbd

Keyboard key is a component to display which key or combination of keys performs a given action.

Installation ​

Install dependencies ​

bash
npm install tailwind-variants

Add component ​

Copy and paste the code into your project's component directory.

Keyboard Keys ​

List of supported keys.

  • command - ⌘
  • shift - ⇧
  • ctrl - ⌃
  • option - ⌥
  • enter - ↵
  • delete - ⌫
  • escape - ⎋
  • tab - ⇥
  • capslock - ⇪
  • up - ↑
  • right - →
  • down - ↓
  • left - ←
  • pageup - ⇞
  • pagedown - ⇟
  • home - ↖
  • end - ↘
  • help - ?
  • space - ␣
Edit this page on GitHub