gentleface

Gentleface › Security & privacy › lock-open

lock-open icon

Lock open: unlock, unlocked. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed. Part of the free toolbar icon set.

Animated lock-open-swing · line-round

The key slot turns a quarter and frees the shackle. The shackle lifts and swings a full turn around its long leg, narrowing to an edge and passing to the other side. It clicks home with a thud in the body, and the slot turns back.

Download SVG

Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.2 s to 2.75 s. Examples and helper.

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="M11.736 7.14C11.993 7.242 12.219 7.391 12.414 7.586C12.609 7.781 12.758 8.007 12.86 8.264C12.953 8.5 13 8.746 13 9L13 12C13 12.254 12.953 12.5 12.86 12.736C12.758 12.993 12.609 13.219 12.414 13.414C12.219 13.609 11.993 13.758 11.736 13.86C11.5 13.953 11.254 14 11 14L5 14C4.746 14 4.5 13.953 4.264 13.86C4.007 13.758 3.781 13.609 3.586 13.414C3.391 13.219 3.242 12.993 3.14 12.736C3.047 12.5 3 12.254 3 12L3 9C3 8.746 3.047 8.5 3.14 8.264C3.242 8.007 3.391 7.781 3.586 7.586C3.781 7.391 4.007 7.242 4.264 7.14C4.5 7.047 4.746 7 5 7L5 4C5 3.619 5.07 3.25 5.211 2.896C5.363 2.511 5.586 2.172 5.879 1.879C6.172 1.586 6.511 1.363 6.896 1.211C7.25 1.07 7.619 1 8 1C8.381 1 8.75 1.07 9.104 1.211C9.489 1.363 9.828 1.586 10.121 1.879C10.414 2.172 10.637 2.511 10.789 2.896C10.93 3.25 11 3.619 11 4L11 4.5C11 4.641 10.952 4.759 10.856 4.856C10.759 4.952 10.641 5 10.5 5C10.359 5 10.241 4.952 10.144 4.856C10.048 4.759 10 4.641 10 4.5L10 4C10 3.746 9.953 3.5 9.86 3.264C9.758 3.007 9.609 2.781 9.414 2.586C9.219 2.391 8.993 2.242 8.736 2.14C8.5 2.047 8.254 2 8 2C7.746 2 7.5 2.047 7.264 2.14C7.007 2.242 6.781 2.391 6.586 2.586C6.391 2.781 6.242 3.007 6.14 3.264C6.047 3.5 6 3.746 6 4L6 7L11 7C11.254 7 11.5 7.047 11.736 7.14ZM4.293 12.707C4.488 12.902 4.724 13 5 13L11 13C11.276 13 11.512 12.902 11.707 12.707C11.902 12.512 12 12.276 12 12L12 9C12 8.724 11.902 8.488 11.707 8.293C11.512 8.098 11.276 8 11 8L5 8C4.724 8 4.488 8.098 4.293 8.293C4.098 8.488 4 8.724 4 9L4 12C4 12.276 4.098 12.512 4.293 12.707ZM8.707 11.707C8.512 11.902 8.276 12 8 12C7.724 12 7.488 11.902 7.293 11.707C7.098 11.512 7 11.276 7 11L7 10C7 9.724 7.098 9.488 7.293 9.293C7.488 9.098 7.724 9 8 9C8.276 9 8.512 9.098 8.707 9.293C8.902 9.488 9 9.724 9 10L9 11C9 11.276 8.902 11.512 8.707 11.707Z"/></svg>
React
// Gentleface "lock-open" (line-round), MIT. https://gentleface.com/icons/lock-open
import type { SVGProps } from 'react';

export function LockOpenIcon(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="M11.736 7.14C11.993 7.242 12.219 7.391 12.414 7.586C12.609 7.781 12.758 8.007 12.86 8.264C12.953 8.5 13 8.746 13 9L13 12C13 12.254 12.953 12.5 12.86 12.736C12.758 12.993 12.609 13.219 12.414 13.414C12.219 13.609 11.993 13.758 11.736 13.86C11.5 13.953 11.254 14 11 14L5 14C4.746 14 4.5 13.953 4.264 13.86C4.007 13.758 3.781 13.609 3.586 13.414C3.391 13.219 3.242 12.993 3.14 12.736C3.047 12.5 3 12.254 3 12L3 9C3 8.746 3.047 8.5 3.14 8.264C3.242 8.007 3.391 7.781 3.586 7.586C3.781 7.391 4.007 7.242 4.264 7.14C4.5 7.047 4.746 7 5 7L5 4C5 3.619 5.07 3.25 5.211 2.896C5.363 2.511 5.586 2.172 5.879 1.879C6.172 1.586 6.511 1.363 6.896 1.211C7.25 1.07 7.619 1 8 1C8.381 1 8.75 1.07 9.104 1.211C9.489 1.363 9.828 1.586 10.121 1.879C10.414 2.172 10.637 2.511 10.789 2.896C10.93 3.25 11 3.619 11 4L11 4.5C11 4.641 10.952 4.759 10.856 4.856C10.759 4.952 10.641 5 10.5 5C10.359 5 10.241 4.952 10.144 4.856C10.048 4.759 10 4.641 10 4.5L10 4C10 3.746 9.953 3.5 9.86 3.264C9.758 3.007 9.609 2.781 9.414 2.586C9.219 2.391 8.993 2.242 8.736 2.14C8.5 2.047 8.254 2 8 2C7.746 2 7.5 2.047 7.264 2.14C7.007 2.242 6.781 2.391 6.586 2.586C6.391 2.781 6.242 3.007 6.14 3.264C6.047 3.5 6 3.746 6 4L6 7L11 7C11.254 7 11.5 7.047 11.736 7.14ZM4.293 12.707C4.488 12.902 4.724 13 5 13L11 13C11.276 13 11.512 12.902 11.707 12.707C11.902 12.512 12 12.276 12 12L12 9C12 8.724 11.902 8.488 11.707 8.293C11.512 8.098 11.276 8 11 8L5 8C4.724 8 4.488 8.098 4.293 8.293C4.098 8.488 4 8.724 4 9L4 12C4 12.276 4.098 12.512 4.293 12.707ZM8.707 11.707C8.512 11.902 8.276 12 8 12C7.724 12 7.488 11.902 7.293 11.707C7.098 11.512 7 11.276 7 11L7 10C7 9.724 7.098 9.488 7.293 9.293C7.488 9.098 7.724 9 8 9C8.276 9 8.512 9.098 8.707 9.293C8.902 9.488 9 9.724 9 10L9 11C9 11.276 8.902 11.512 8.707 11.707Z" />
    </svg>
  );
}
Vue
Vue: see /icons/lock-open.md
Svelte
Svelte: see /icons/lock-open.md
HTML img
HTML img: see /icons/lock-open.md
CSS
CSS: see /icons/lock-open.md
Data URL
Data URL: see /icons/lock-open.md
Sprite
Sprite: see /icons/lock-open.md
SwiftUI
SwiftUI: see /icons/lock-open.md
Compose
Compose: see /icons/lock-open.md
Android XML
Android XML: see /icons/lock-open.md
Flutter
Flutter: see /icons/lock-open.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 { LockOpenIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
unlock, unlocked
Also fits
  • unlocked door: unlocked content, a file or an account
Not for
  • public (use globe): unlocked, not public visibility
Tags
padlock, open
Category
Security & privacy
Component name
LockOpenIcon
History
  • added
  • 20 px drawn, 24 px drawn
  • released in 0.1.0
Since
version 0.1.0

Family 8

More security & privacy icons

For agents

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