gentleface

Gentleface › Devices & hardware › keyboard-lock

keyboard-lock icon

Keyboard lock: keyboard locked, lock keyboard. 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="M0.14 2.264C0.242 2.007 0.391 1.781 0.586 1.586C0.781 1.391 1.007 1.242 1.264 1.14C1.5 1.047 1.746 1 2 1L12 1C12.254 1 12.5 1.047 12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 5.5C14 5.641 13.952 5.759 13.856 5.856C13.759 5.952 13.641 6 13.5 6C13.359 6 13.241 5.952 13.144 5.856C13.048 5.759 13 5.641 13 5.5L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2L2 2C1.724 2 1.488 2.098 1.293 2.293C1.098 2.488 1 2.724 1 3L1 9C1 9.276 1.098 9.512 1.293 9.707C1.488 9.902 1.724 10 2 10L6.5 10C6.641 10 6.759 10.048 6.856 10.144C6.952 10.241 7 10.359 7 10.5C7 10.641 6.952 10.759 6.856 10.856C6.759 10.952 6.641 11 6.5 11L2 11C1.746 11 1.5 10.953 1.264 10.86C1.007 10.758 0.781 10.609 0.586 10.414C0.391 10.219 0.242 9.993 0.14 9.736C0.047 9.5 0 9.254 0 9L0 3C0 2.746 0.047 2.5 0.14 2.264ZM2 3L3 3L3 4L2 4L2 3ZM5 3L6 3L6 4L5 4L5 3ZM8 3L9 3L9 4L8 4L8 3ZM12 3L12 4L11 4L11 3L12 3ZM2 5L3 5L3 6L2 6L2 5ZM6 5L6 6L5 6L5 5L6 5ZM8 6L8 5L9 5L9 6L8 6ZM12 5L12 6L11 6L11 5L12 5ZM9.176 8.58C9.303 8.259 9.488 7.976 9.732 7.732C9.976 7.488 10.259 7.303 10.58 7.176C10.875 7.059 11.182 7 11.5 7C11.818 7 12.125 7.059 12.42 7.176C12.741 7.303 13.024 7.488 13.268 7.732C13.512 7.976 13.697 8.259 13.824 8.58C13.941 8.875 14 9.182 14 9.5L14 11C14.276 11 14.512 11.098 14.707 11.293C14.902 11.488 15 11.724 15 12L15 15C15 15.276 14.902 15.512 14.707 15.707C14.512 15.902 14.276 16 14 16L9 16C8.724 16 8.488 15.902 8.293 15.707C8.098 15.512 8 15.276 8 15L8 12C8 11.724 8.098 11.488 8.293 11.293C8.488 11.098 8.724 11 9 11L9 9.5C9 9.182 9.059 8.875 9.176 8.58ZM4 8.5C4 8.359 4.048 8.241 4.144 8.144C4.241 8.048 4.359 8 4.5 8L7.5 8C7.641 8 7.759 8.048 7.856 8.144C7.952 8.241 8 8.359 8 8.5C8 8.641 7.952 8.759 7.856 8.856C7.759 8.952 7.641 9 7.5 9L4.5 9C4.359 9 4.241 8.952 4.144 8.856C4.048 8.759 4 8.641 4 8.5ZM13 9.5C13 9.309 12.965 9.125 12.895 8.948C12.818 8.755 12.707 8.586 12.561 8.439C12.414 8.293 12.245 8.182 12.052 8.105C11.875 8.035 11.691 8 11.5 8C11.309 8 11.125 8.035 10.948 8.105C10.755 8.182 10.586 8.293 10.439 8.439C10.293 8.586 10.182 8.755 10.105 8.948C10.035 9.125 10 9.309 10 9.5L10 11L13 11L13 9.5Z"/></svg>
React
// Gentleface "keyboard-lock" (line-round), MIT. https://gentleface.com/icons/keyboard-lock
import type { SVGProps } from 'react';

export function KeyboardLockIcon(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="M0.14 2.264C0.242 2.007 0.391 1.781 0.586 1.586C0.781 1.391 1.007 1.242 1.264 1.14C1.5 1.047 1.746 1 2 1L12 1C12.254 1 12.5 1.047 12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 5.5C14 5.641 13.952 5.759 13.856 5.856C13.759 5.952 13.641 6 13.5 6C13.359 6 13.241 5.952 13.144 5.856C13.048 5.759 13 5.641 13 5.5L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2L2 2C1.724 2 1.488 2.098 1.293 2.293C1.098 2.488 1 2.724 1 3L1 9C1 9.276 1.098 9.512 1.293 9.707C1.488 9.902 1.724 10 2 10L6.5 10C6.641 10 6.759 10.048 6.856 10.144C6.952 10.241 7 10.359 7 10.5C7 10.641 6.952 10.759 6.856 10.856C6.759 10.952 6.641 11 6.5 11L2 11C1.746 11 1.5 10.953 1.264 10.86C1.007 10.758 0.781 10.609 0.586 10.414C0.391 10.219 0.242 9.993 0.14 9.736C0.047 9.5 0 9.254 0 9L0 3C0 2.746 0.047 2.5 0.14 2.264ZM2 3L3 3L3 4L2 4L2 3ZM5 3L6 3L6 4L5 4L5 3ZM8 3L9 3L9 4L8 4L8 3ZM12 3L12 4L11 4L11 3L12 3ZM2 5L3 5L3 6L2 6L2 5ZM6 5L6 6L5 6L5 5L6 5ZM8 6L8 5L9 5L9 6L8 6ZM12 5L12 6L11 6L11 5L12 5ZM9.176 8.58C9.303 8.259 9.488 7.976 9.732 7.732C9.976 7.488 10.259 7.303 10.58 7.176C10.875 7.059 11.182 7 11.5 7C11.818 7 12.125 7.059 12.42 7.176C12.741 7.303 13.024 7.488 13.268 7.732C13.512 7.976 13.697 8.259 13.824 8.58C13.941 8.875 14 9.182 14 9.5L14 11C14.276 11 14.512 11.098 14.707 11.293C14.902 11.488 15 11.724 15 12L15 15C15 15.276 14.902 15.512 14.707 15.707C14.512 15.902 14.276 16 14 16L9 16C8.724 16 8.488 15.902 8.293 15.707C8.098 15.512 8 15.276 8 15L8 12C8 11.724 8.098 11.488 8.293 11.293C8.488 11.098 8.724 11 9 11L9 9.5C9 9.182 9.059 8.875 9.176 8.58ZM4 8.5C4 8.359 4.048 8.241 4.144 8.144C4.241 8.048 4.359 8 4.5 8L7.5 8C7.641 8 7.759 8.048 7.856 8.144C7.952 8.241 8 8.359 8 8.5C8 8.641 7.952 8.759 7.856 8.856C7.759 8.952 7.641 9 7.5 9L4.5 9C4.359 9 4.241 8.952 4.144 8.856C4.048 8.759 4 8.641 4 8.5ZM13 9.5C13 9.309 12.965 9.125 12.895 8.948C12.818 8.755 12.707 8.586 12.561 8.439C12.414 8.293 12.245 8.182 12.052 8.105C11.875 8.035 11.691 8 11.5 8C11.309 8 11.125 8.035 10.948 8.105C10.755 8.182 10.586 8.293 10.439 8.439C10.293 8.586 10.182 8.755 10.105 8.948C10.035 9.125 10 9.309 10 9.5L10 11L13 11L13 9.5Z" />
    </svg>
  );
}
Vue
Vue: see /icons/keyboard-lock.md
Svelte
Svelte: see /icons/keyboard-lock.md
HTML img
HTML img: see /icons/keyboard-lock.md
CSS
CSS: see /icons/keyboard-lock.md
Data URL
Data URL: see /icons/keyboard-lock.md
Sprite
Sprite: see /icons/keyboard-lock.md
SwiftUI
SwiftUI: see /icons/keyboard-lock.md
Compose
Compose: see /icons/keyboard-lock.md
Android XML
Android XML: see /icons/keyboard-lock.md
Flutter
Flutter: see /icons/keyboard-lock.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. 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.

With npm: import { KeyboardLockIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
keyboard locked, lock keyboard
Example
Keyboard locked for cleaning
Built from
keyboard + lock
Tags
keys, type, typing, input, shortcuts, lock
Category
Devices & hardware
Component name
KeyboardLockIcon
History
  • added, released in 0.4.0
Since
version 0.4.0

Family 9

More devices & hardware icons

For agents

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