gentleface

Gentleface › Buildings › home-lock

home-lock icon

Home lock: home locked, lock up home. 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="M3.707 11.707C3.512 11.902 3.276 12 3 12L2.5 12C2.309 12 2.125 11.965 1.948 11.895C1.755 11.818 1.586 11.707 1.439 11.561C1.293 11.414 1.182 11.245 1.105 11.052C1.035 10.875 1 10.691 1 10.5L1 6.5C1 6.114 1.074 5.742 1.222 5.385C1.37 5.028 1.58 4.713 1.854 4.439L4.086 2.207C4.266 2.027 4.472 1.887 4.706 1.786C4.959 1.676 5.224 1.621 5.5 1.621C5.776 1.621 6.041 1.676 6.294 1.786C6.528 1.887 6.734 2.027 6.914 2.207L9.146 4.439C9.396 4.689 9.594 4.975 9.74 5.297C9.797 5.423 9.801 5.55 9.753 5.68C9.704 5.809 9.617 5.902 9.491 5.959C9.365 6.016 9.238 6.02 9.109 5.971C8.979 5.923 8.886 5.836 8.829 5.71C8.734 5.498 8.604 5.311 8.439 5.146L6.207 2.914C6.012 2.719 5.776 2.621 5.5 2.621C5.224 2.621 4.988 2.719 4.793 2.914L2.561 5.146C2.381 5.326 2.243 5.533 2.146 5.767C2.049 6.002 2 6.246 2 6.5L2 10.5C2 10.638 2.049 10.756 2.146 10.854C2.244 10.951 2.362 11 2.5 11L3 11L3 9C3 8.724 3.098 8.488 3.293 8.293C3.488 8.098 3.724 8 4 8L7 8C7.276 8 7.512 8.098 7.707 8.293C7.902 8.488 8 8.724 8 9L8 9.5C8 9.641 7.952 9.759 7.856 9.856C7.759 9.952 7.641 10 7.5 10C7.359 10 7.241 9.952 7.144 9.856C7.048 9.759 7 9.641 7 9.5L7 9L4 9L4 11C4 11.276 3.902 11.512 3.707 11.707ZM9.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 "home-lock" (line-round), MIT. https://gentleface.com/icons/home-lock
import type { SVGProps } from 'react';

export function HomeLockIcon(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="M3.707 11.707C3.512 11.902 3.276 12 3 12L2.5 12C2.309 12 2.125 11.965 1.948 11.895C1.755 11.818 1.586 11.707 1.439 11.561C1.293 11.414 1.182 11.245 1.105 11.052C1.035 10.875 1 10.691 1 10.5L1 6.5C1 6.114 1.074 5.742 1.222 5.385C1.37 5.028 1.58 4.713 1.854 4.439L4.086 2.207C4.266 2.027 4.472 1.887 4.706 1.786C4.959 1.676 5.224 1.621 5.5 1.621C5.776 1.621 6.041 1.676 6.294 1.786C6.528 1.887 6.734 2.027 6.914 2.207L9.146 4.439C9.396 4.689 9.594 4.975 9.74 5.297C9.797 5.423 9.801 5.55 9.753 5.68C9.704 5.809 9.617 5.902 9.491 5.959C9.365 6.016 9.238 6.02 9.109 5.971C8.979 5.923 8.886 5.836 8.829 5.71C8.734 5.498 8.604 5.311 8.439 5.146L6.207 2.914C6.012 2.719 5.776 2.621 5.5 2.621C5.224 2.621 4.988 2.719 4.793 2.914L2.561 5.146C2.381 5.326 2.243 5.533 2.146 5.767C2.049 6.002 2 6.246 2 6.5L2 10.5C2 10.638 2.049 10.756 2.146 10.854C2.244 10.951 2.362 11 2.5 11L3 11L3 9C3 8.724 3.098 8.488 3.293 8.293C3.488 8.098 3.724 8 4 8L7 8C7.276 8 7.512 8.098 7.707 8.293C7.902 8.488 8 8.724 8 9L8 9.5C8 9.641 7.952 9.759 7.856 9.856C7.759 9.952 7.641 10 7.5 10C7.359 10 7.241 9.952 7.144 9.856C7.048 9.759 7 9.641 7 9.5L7 9L4 9L4 11C4 11.276 3.902 11.512 3.707 11.707ZM9.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/home-lock.md
Svelte
Svelte: see /icons/home-lock.md
HTML img
HTML img: see /icons/home-lock.md
CSS
CSS: see /icons/home-lock.md
Data URL
Data URL: see /icons/home-lock.md
Sprite
Sprite: see /icons/home-lock.md
SwiftUI
SwiftUI: see /icons/home-lock.md
Compose
Compose: see /icons/home-lock.md
Android XML
Android XML: see /icons/home-lock.md
Flutter
Flutter: see /icons/home-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 { HomeLockIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
home locked, lock up home
Example
All doors locked in a smart-home app
Built from
home + lock
Tags
house, main, lock
Category
Buildings
Component name
HomeLockIcon
History
  • added, released in 0.6.0
Since
version 0.6.0

Family 22

More buildings icons

For agents

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