gentleface

Gentleface › Security & privacy › key-lock

key-lock icon

Key lock: keystore, encrypted key. 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="M1.146 10.767C1.049 11.002 1 11.246 1 11.5L1 13L2.793 13C3.126 13 3.411 12.882 3.646 12.646C3.882 12.411 4 12.126 4 11.793L4 10.5C4 10.359 4.048 10.241 4.144 10.144C4.241 10.048 4.359 10 4.5 10L6 10L6 8.5C6 8.359 6.048 8.241 6.144 8.144C6.241 8.048 6.359 8 6.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 9L7 9L7 10.5C7 10.641 6.952 10.759 6.856 10.856C6.759 10.952 6.641 11 6.5 11L5 11L5 11.793C5 12.086 4.944 12.367 4.832 12.638C4.72 12.908 4.561 13.147 4.354 13.354C4.147 13.561 3.908 13.72 3.638 13.832C3.367 13.944 3.086 14 2.793 14L0.5 14C0.359 14 0.241 13.952 0.144 13.856C0.048 13.759 0 13.641 0 13.5L0 11.5C0 11.114 0.074 10.742 0.222 10.385C0.37 10.028 0.58 9.713 0.854 9.439L5.06 5.233C4.978 4.742 4.979 4.248 5.063 3.752C5.171 3.106 5.41 2.513 5.778 1.971C6.146 1.43 6.61 0.989 7.17 0.65C7.681 0.341 8.232 0.141 8.823 0.051C9.414-0.039 10-0.012 10.58 0.132C11.216 0.289 11.79 0.571 12.302 0.979C12.815 1.387 13.219 1.883 13.514 2.467C13.785 3 13.942 3.565 13.987 4.161C14.038 4.826 13.944 5.471 13.708 6.095C13.659 6.224 13.572 6.317 13.446 6.374C13.32 6.43 13.192 6.434 13.063 6.385C12.931 6.335 12.838 6.248 12.782 6.124C12.726 6 12.723 5.872 12.773 5.741C12.957 5.255 13.029 4.754 12.99 4.236C12.955 3.772 12.832 3.333 12.622 2.919C12.392 2.464 12.078 2.079 11.679 1.761C11.281 1.444 10.835 1.225 10.34 1.102C9.889 0.991 9.433 0.97 8.974 1.04C8.514 1.11 8.085 1.265 7.688 1.506C7.252 1.77 6.891 2.112 6.605 2.533C6.319 2.954 6.133 3.416 6.049 3.918C5.971 4.377 5.985 4.833 6.089 5.286C6.109 5.37 6.107 5.454 6.083 5.536C6.06 5.618 6.017 5.69 5.956 5.751L1.561 10.146C1.381 10.326 1.243 10.533 1.146 10.767ZM10.207 3.793C10.402 3.988 10.5 4.224 10.5 4.5C10.5 4.776 10.402 5.012 10.207 5.207C10.012 5.402 9.776 5.5 9.5 5.5C9.224 5.5 8.988 5.402 8.793 5.207C8.598 5.012 8.5 4.776 8.5 4.5C8.5 4.224 8.598 3.988 8.793 3.793C8.988 3.598 9.224 3.5 9.5 3.5C9.776 3.5 10.012 3.598 10.207 3.793ZM9.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.58ZM13 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 "key-lock" (line-round), MIT. https://gentleface.com/icons/key-lock
import type { SVGProps } from 'react';

export function KeyLockIcon(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="M1.146 10.767C1.049 11.002 1 11.246 1 11.5L1 13L2.793 13C3.126 13 3.411 12.882 3.646 12.646C3.882 12.411 4 12.126 4 11.793L4 10.5C4 10.359 4.048 10.241 4.144 10.144C4.241 10.048 4.359 10 4.5 10L6 10L6 8.5C6 8.359 6.048 8.241 6.144 8.144C6.241 8.048 6.359 8 6.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 9L7 9L7 10.5C7 10.641 6.952 10.759 6.856 10.856C6.759 10.952 6.641 11 6.5 11L5 11L5 11.793C5 12.086 4.944 12.367 4.832 12.638C4.72 12.908 4.561 13.147 4.354 13.354C4.147 13.561 3.908 13.72 3.638 13.832C3.367 13.944 3.086 14 2.793 14L0.5 14C0.359 14 0.241 13.952 0.144 13.856C0.048 13.759 0 13.641 0 13.5L0 11.5C0 11.114 0.074 10.742 0.222 10.385C0.37 10.028 0.58 9.713 0.854 9.439L5.06 5.233C4.978 4.742 4.979 4.248 5.063 3.752C5.171 3.106 5.41 2.513 5.778 1.971C6.146 1.43 6.61 0.989 7.17 0.65C7.681 0.341 8.232 0.141 8.823 0.051C9.414-0.039 10-0.012 10.58 0.132C11.216 0.289 11.79 0.571 12.302 0.979C12.815 1.387 13.219 1.883 13.514 2.467C13.785 3 13.942 3.565 13.987 4.161C14.038 4.826 13.944 5.471 13.708 6.095C13.659 6.224 13.572 6.317 13.446 6.374C13.32 6.43 13.192 6.434 13.063 6.385C12.931 6.335 12.838 6.248 12.782 6.124C12.726 6 12.723 5.872 12.773 5.741C12.957 5.255 13.029 4.754 12.99 4.236C12.955 3.772 12.832 3.333 12.622 2.919C12.392 2.464 12.078 2.079 11.679 1.761C11.281 1.444 10.835 1.225 10.34 1.102C9.889 0.991 9.433 0.97 8.974 1.04C8.514 1.11 8.085 1.265 7.688 1.506C7.252 1.77 6.891 2.112 6.605 2.533C6.319 2.954 6.133 3.416 6.049 3.918C5.971 4.377 5.985 4.833 6.089 5.286C6.109 5.37 6.107 5.454 6.083 5.536C6.06 5.618 6.017 5.69 5.956 5.751L1.561 10.146C1.381 10.326 1.243 10.533 1.146 10.767ZM10.207 3.793C10.402 3.988 10.5 4.224 10.5 4.5C10.5 4.776 10.402 5.012 10.207 5.207C10.012 5.402 9.776 5.5 9.5 5.5C9.224 5.5 8.988 5.402 8.793 5.207C8.598 5.012 8.5 4.776 8.5 4.5C8.5 4.224 8.598 3.988 8.793 3.793C8.988 3.598 9.224 3.5 9.5 3.5C9.776 3.5 10.012 3.598 10.207 3.793ZM9.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.58ZM13 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/key-lock.md
Svelte
Svelte: see /icons/key-lock.md
HTML img
HTML img: see /icons/key-lock.md
CSS
CSS: see /icons/key-lock.md
Data URL
Data URL: see /icons/key-lock.md
Sprite
Sprite: see /icons/key-lock.md
SwiftUI
SwiftUI: see /icons/key-lock.md
Compose
Compose: see /icons/key-lock.md
Android XML
Android XML: see /icons/key-lock.md
Flutter
Flutter: see /icons/key-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 { KeyLockIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
keystore, encrypted key
Example
An encrypted key store
Built from
key + lock
Tags
password, access, credential, lock
Category
Security & privacy
Component name
KeyLockIcon
History
  • added, released in 0.6.0
Since
version 0.6.0

Family 19

More security & privacy icons

For agents

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