Skip to content
tablericons
Category
general
Styles
Outline, filled
Component
IconKeyboard

general

Keyboard icon

Download the Keyboard icon as free SVG or PNG. Compare outline and filled styles. Copy React, Vue or Svelte code.

  • typing
  • input
  • keys
  • computer
  • hardware
  • device
  • type
Style
Size
Stroke
Color
Download SVG

Press C to copy SVG, J for JSX, D to download.

Code

Copy it the way you use it

keyboard.svg
<svg
  xmlns="http://www.w3.org/2000/svg"
  width="24"
  height="24"
  viewBox="0 0 24 24"
  fill="none"
  stroke="currentColor"
  stroke-width="2"
  stroke-linecap="round"
  stroke-linejoin="round"
 
>
  <path d="M2 8a2 2 0 0 1 2 -2h16a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-16a2 2 0 0 1 -2 -2l0 -8" />
  <path d="M6 10l0 .01" />
  <path d="M10 10l0 .01" />
  <path d="M14 10l0 .01" />
  <path d="M18 10l0 .01" />
  <path d="M6 14l0 .01" />
  <path d="M18 14l0 .01" />
  <path d="M10 14l4 .01" />
</svg>

Use the Keyboard icon

For a decorative icon beside text, add aria-hidden="true" to the SVG. For an icon-only control, put its accessible name on the button or link.

React example
import { IconKeyboard } from '@tabler/icons-react';

<IconKeyboard size={24} stroke={2} />
Read the React guide
Vue example
import { IconKeyboard } from '@tabler/icons-vue';

<IconKeyboard :size="24" :stroke="2" />
Read the Vue guide
Svelte 5 example
import { IconKeyboard } from '@tabler/icons-svelte-runes';

<IconKeyboard size={24} stroke={2} />
Read the Svelte guide

Compare variants and alternatives

Related

Related icons

See all 788 general icons