gentleface

Gentleface › Devices & hardware › keyboard

keyboard icon

Keyboard: keyboard, typing, keyboard shortcuts, keyboard input. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M14.414 12.414C14.219 12.609 13.993 12.758 13.736 12.86C13.5 12.953 13.254 13 13 13L3 13C2.746 13 2.5 12.953 2.264 12.86C2.007 12.758 1.781 12.609 1.586 12.414C1.391 12.219 1.242 11.993 1.14 11.736C1.047 11.5 1 11.254 1 11L1 5C1 4.746 1.047 4.5 1.14 4.264C1.242 4.007 1.391 3.781 1.586 3.586C1.781 3.391 2.007 3.242 2.264 3.14C2.5 3.047 2.746 3 3 3L13 3C13.254 3 13.5 3.047 13.736 3.14C13.993 3.242 14.219 3.391 14.414 3.586C14.609 3.781 14.758 4.007 14.86 4.264C14.953 4.5 15 4.746 15 5L15 11C15 11.254 14.953 11.5 14.86 11.736C14.758 11.993 14.609 12.219 14.414 12.414ZM2.293 11.707C2.488 11.902 2.724 12 3 12L13 12C13.276 12 13.512 11.902 13.707 11.707C13.902 11.512 14 11.276 14 11L14 5C14 4.724 13.902 4.488 13.707 4.293C13.512 4.098 13.276 4 13 4L3 4C2.724 4 2.488 4.098 2.293 4.293C2.098 4.488 2 4.724 2 5L2 11C2 11.276 2.098 11.512 2.293 11.707ZM3 5L4 5L4 6L3 6L3 5ZM6 5L7 5L7 6L6 6L6 5ZM9 5L10 5L10 6L9 6L9 5ZM13 5L13 6L12 6L12 5L13 5ZM3 7L4 7L4 8L3 8L3 7ZM7 7L7 8L6 8L6 7L7 7ZM9 8L9 7L10 7L10 8L9 8ZM13 7L13 8L12 8L12 7L13 7ZM10.856 10.144C10.952 10.241 11 10.359 11 10.5C11 10.641 10.952 10.759 10.856 10.856C10.759 10.952 10.641 11 10.5 11L5.5 11C5.359 11 5.241 10.952 5.144 10.856C5.048 10.759 5 10.641 5 10.5C5 10.359 5.048 10.241 5.144 10.144C5.241 10.048 5.359 10 5.5 10L10.5 10C10.641 10 10.759 10.048 10.856 10.144Z"/></svg>
React
// Gentleface "keyboard" (line-round), MIT. https://gentleface.com/icons/keyboard
import type { SVGProps } from 'react';

export function KeyboardIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M14.414 12.414C14.219 12.609 13.993 12.758 13.736 12.86C13.5 12.953 13.254 13 13 13L3 13C2.746 13 2.5 12.953 2.264 12.86C2.007 12.758 1.781 12.609 1.586 12.414C1.391 12.219 1.242 11.993 1.14 11.736C1.047 11.5 1 11.254 1 11L1 5C1 4.746 1.047 4.5 1.14 4.264C1.242 4.007 1.391 3.781 1.586 3.586C1.781 3.391 2.007 3.242 2.264 3.14C2.5 3.047 2.746 3 3 3L13 3C13.254 3 13.5 3.047 13.736 3.14C13.993 3.242 14.219 3.391 14.414 3.586C14.609 3.781 14.758 4.007 14.86 4.264C14.953 4.5 15 4.746 15 5L15 11C15 11.254 14.953 11.5 14.86 11.736C14.758 11.993 14.609 12.219 14.414 12.414ZM2.293 11.707C2.488 11.902 2.724 12 3 12L13 12C13.276 12 13.512 11.902 13.707 11.707C13.902 11.512 14 11.276 14 11L14 5C14 4.724 13.902 4.488 13.707 4.293C13.512 4.098 13.276 4 13 4L3 4C2.724 4 2.488 4.098 2.293 4.293C2.098 4.488 2 4.724 2 5L2 11C2 11.276 2.098 11.512 2.293 11.707ZM3 5L4 5L4 6L3 6L3 5ZM6 5L7 5L7 6L6 6L6 5ZM9 5L10 5L10 6L9 6L9 5ZM13 5L13 6L12 6L12 5L13 5ZM3 7L4 7L4 8L3 8L3 7ZM7 7L7 8L6 8L6 7L7 7ZM9 8L9 7L10 7L10 8L9 8ZM13 7L13 8L12 8L12 7L13 7ZM10.856 10.144C10.952 10.241 11 10.359 11 10.5C11 10.641 10.952 10.759 10.856 10.856C10.759 10.952 10.641 11 10.5 11L5.5 11C5.359 11 5.241 10.952 5.144 10.856C5.048 10.759 5 10.641 5 10.5C5 10.359 5.048 10.241 5.144 10.144C5.241 10.048 5.359 10 5.5 10L10.5 10C10.641 10 10.759 10.048 10.856 10.144Z" />
    </svg>
  );
}
Vue
Vue: see /icons/keyboard.md
Svelte
Svelte: see /icons/keyboard.md
HTML img
HTML img: see /icons/keyboard.md
CSS
CSS: see /icons/keyboard.md
Data URL
Data URL: see /icons/keyboard.md
Sprite
Sprite: see /icons/keyboard.md
SwiftUI
SwiftUI: see /icons/keyboard.md
Compose
Compose: see /icons/keyboard.md
Android XML
Android XML: see /icons/keyboard.md
Flutter
Flutter: see /icons/keyboard.md

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

Meaning

Use it for
keyboard, typing, keyboard shortcuts, keyboard input, shortcuts, hotkeys, keybindings, key bindings, keyboard shortcut
Alternatives
  • command: the command key itself, next to a shortcut (command-key)
Don’t confuse with
  • piano: the musical keyboard (musical-instrument)
Also fits
  • dialpad: a full keyboard
  • command: the keyboard or shortcuts in general (keyboard)
Not for
  • piano (use piano): the computer keyboard (typing), not the musical one
Tags
keys, type, typing, input, shortcuts
Category
Devices & hardware
Component name
KeyboardIcon
History
  • added

Family 2

More devices & hardware icons

For agents

Metadata: /icons/keyboard.json · Markdown: /icons/keyboard.md · SVG: https://gentleface.com/svg/{style}/16/keyboard.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/keyboard.png

Feedback