gentleface

Gentleface › Security & privacy › lock-pencil

lock-pencil icon

Lock pencil: change passcode, change pin. 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="M9.707 6.293C9.902 6.488 10 6.724 10 7L10 9.5C10 9.641 9.952 9.759 9.856 9.856C9.759 9.952 9.641 10 9.5 10C9.359 10 9.241 9.952 9.144 9.856C9.048 9.759 9 9.641 9 9.5L9 7L2 7L2 11L7.5 11C7.641 11 7.759 11.048 7.856 11.144C7.952 11.241 8 11.359 8 11.5C8 11.641 7.952 11.759 7.856 11.856C7.759 11.952 7.641 12 7.5 12L2 12C1.724 12 1.488 11.902 1.293 11.707C1.098 11.512 1 11.276 1 11L1 7C1 6.724 1.098 6.488 1.293 6.293C1.488 6.098 1.724 6 2 6L3 6L3 4.5C3 4.182 3.059 3.875 3.176 3.58C3.303 3.259 3.488 2.976 3.732 2.732C3.976 2.488 4.259 2.303 4.58 2.176C4.875 2.059 5.182 2 5.5 2C5.818 2 6.125 2.059 6.42 2.176C6.741 2.303 7.024 2.488 7.268 2.732C7.512 2.976 7.697 3.259 7.824 3.58C7.941 3.875 8 4.182 8 4.5L8 6L9 6C9.276 6 9.512 6.098 9.707 6.293ZM6.895 3.948C6.818 3.755 6.707 3.586 6.561 3.439C6.414 3.293 6.245 3.182 6.052 3.105C5.875 3.035 5.691 3 5.5 3C5.309 3 5.125 3.035 4.948 3.105C4.755 3.182 4.586 3.293 4.439 3.439C4.293 3.586 4.182 3.755 4.105 3.948C4.035 4.125 4 4.309 4 4.5L4 6L7 6L7 4.5C7 4.309 6.965 4.125 6.895 3.948ZM14 7.707C14.276 7.707 14.512 7.805 14.707 8L15 8.293C15.195 8.488 15.293 8.724 15.293 9C15.293 9.276 15.195 9.512 15 9.707L12.061 12.646C11.56 13.147 11.007 13.579 10.4 13.943L8.757 14.929C8.636 15.001 8.51 15.021 8.378 14.988C8.246 14.955 8.144 14.878 8.071 14.757C8.023 14.677 7.999 14.592 7.999 14.5C7.999 14.408 8.023 14.323 8.071 14.243L9.057 12.6C9.421 11.993 9.853 11.44 10.354 10.939L13.293 8C13.488 7.805 13.724 7.707 14 7.707Z"/></svg>
React
// Gentleface "lock-pencil" (line-round), MIT. https://gentleface.com/icons/lock-pencil
import type { SVGProps } from 'react';

export function LockPencilIcon(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="M9.707 6.293C9.902 6.488 10 6.724 10 7L10 9.5C10 9.641 9.952 9.759 9.856 9.856C9.759 9.952 9.641 10 9.5 10C9.359 10 9.241 9.952 9.144 9.856C9.048 9.759 9 9.641 9 9.5L9 7L2 7L2 11L7.5 11C7.641 11 7.759 11.048 7.856 11.144C7.952 11.241 8 11.359 8 11.5C8 11.641 7.952 11.759 7.856 11.856C7.759 11.952 7.641 12 7.5 12L2 12C1.724 12 1.488 11.902 1.293 11.707C1.098 11.512 1 11.276 1 11L1 7C1 6.724 1.098 6.488 1.293 6.293C1.488 6.098 1.724 6 2 6L3 6L3 4.5C3 4.182 3.059 3.875 3.176 3.58C3.303 3.259 3.488 2.976 3.732 2.732C3.976 2.488 4.259 2.303 4.58 2.176C4.875 2.059 5.182 2 5.5 2C5.818 2 6.125 2.059 6.42 2.176C6.741 2.303 7.024 2.488 7.268 2.732C7.512 2.976 7.697 3.259 7.824 3.58C7.941 3.875 8 4.182 8 4.5L8 6L9 6C9.276 6 9.512 6.098 9.707 6.293ZM6.895 3.948C6.818 3.755 6.707 3.586 6.561 3.439C6.414 3.293 6.245 3.182 6.052 3.105C5.875 3.035 5.691 3 5.5 3C5.309 3 5.125 3.035 4.948 3.105C4.755 3.182 4.586 3.293 4.439 3.439C4.293 3.586 4.182 3.755 4.105 3.948C4.035 4.125 4 4.309 4 4.5L4 6L7 6L7 4.5C7 4.309 6.965 4.125 6.895 3.948ZM14 7.707C14.276 7.707 14.512 7.805 14.707 8L15 8.293C15.195 8.488 15.293 8.724 15.293 9C15.293 9.276 15.195 9.512 15 9.707L12.061 12.646C11.56 13.147 11.007 13.579 10.4 13.943L8.757 14.929C8.636 15.001 8.51 15.021 8.378 14.988C8.246 14.955 8.144 14.878 8.071 14.757C8.023 14.677 7.999 14.592 7.999 14.5C7.999 14.408 8.023 14.323 8.071 14.243L9.057 12.6C9.421 11.993 9.853 11.44 10.354 10.939L13.293 8C13.488 7.805 13.724 7.707 14 7.707Z" />
    </svg>
  );
}
Vue
Vue: see /icons/lock-pencil.md
Svelte
Svelte: see /icons/lock-pencil.md
HTML img
HTML img: see /icons/lock-pencil.md
CSS
CSS: see /icons/lock-pencil.md
Data URL
Data URL: see /icons/lock-pencil.md
Sprite
Sprite: see /icons/lock-pencil.md
SwiftUI
SwiftUI: see /icons/lock-pencil.md
Compose
Compose: see /icons/lock-pencil.md
Android XML
Android XML: see /icons/lock-pencil.md
Flutter
Flutter: see /icons/lock-pencil.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 { LockPencilIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
change passcode, change pin
Example
Change a passcode
Built from
lock + pencil
Tags
padlock, security, pencil
Category
Security & privacy
Component name
LockPencilIcon
History
  • added, released in 0.6.0
Since
version 0.6.0

Family 8

More security & privacy icons

For agents

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