Gentleface › Home & household › door-lock
door-lock icon
door-lockDoor lock: locked door, smart lock, lock door, door locked. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M2.14 1.264C2.242 1.007 2.391 0.781 2.586 0.586C2.781 0.391 3.007 0.242 3.264 0.14C3.5 0.047 3.746 0 4 0L10 0C10.254 0 10.5 0.047 10.736 0.14C10.993 0.242 11.219 0.391 11.414 0.586C11.609 0.781 11.758 1.007 11.86 1.264C11.953 1.5 12 1.746 12 2L12 5.5C12 5.641 11.952 5.759 11.856 5.856C11.759 5.952 11.641 6 11.5 6C11.359 6 11.241 5.952 11.144 5.856C11.048 5.759 11 5.641 11 5.5L11 2C11 1.724 10.902 1.488 10.707 1.293C10.512 1.098 10.276 1 10 1L4 1C3.724 1 3.488 1.098 3.293 1.293C3.098 1.488 3 1.724 3 2L3 13L5.5 13C5.641 13 5.759 13.048 5.856 13.144C5.952 13.241 6 13.359 6 13.5C6 13.641 5.952 13.759 5.856 13.856C5.759 13.952 5.641 14 5.5 14L0.5 14C0.359 14 0.241 13.952 0.144 13.856C0.048 13.759 0 13.641 0 13.5C0 13.359 0.048 13.241 0.144 13.144C0.241 13.048 0.359 13 0.5 13L2 13L2 2C2 1.746 2.047 1.5 2.14 1.264ZM5.707 6.293C5.902 6.488 6 6.724 6 7C6 7.276 5.902 7.512 5.707 7.707C5.512 7.902 5.276 8 5 8C4.724 8 4.488 7.902 4.293 7.707C4.098 7.512 4 7.276 4 7C4 6.724 4.098 6.488 4.293 6.293C4.488 6.098 4.724 6 5 6C5.276 6 5.512 6.098 5.707 6.293ZM14.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.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.293ZM12.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.5C13 9.309 12.965 9.125 12.895 8.948Z"/></svg>
// Gentleface "door-lock" (line-round), MIT. https://gentleface.com/icons/door-lock
import type { SVGProps } from 'react';
export function DoorLockIcon(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="M2.14 1.264C2.242 1.007 2.391 0.781 2.586 0.586C2.781 0.391 3.007 0.242 3.264 0.14C3.5 0.047 3.746 0 4 0L10 0C10.254 0 10.5 0.047 10.736 0.14C10.993 0.242 11.219 0.391 11.414 0.586C11.609 0.781 11.758 1.007 11.86 1.264C11.953 1.5 12 1.746 12 2L12 5.5C12 5.641 11.952 5.759 11.856 5.856C11.759 5.952 11.641 6 11.5 6C11.359 6 11.241 5.952 11.144 5.856C11.048 5.759 11 5.641 11 5.5L11 2C11 1.724 10.902 1.488 10.707 1.293C10.512 1.098 10.276 1 10 1L4 1C3.724 1 3.488 1.098 3.293 1.293C3.098 1.488 3 1.724 3 2L3 13L5.5 13C5.641 13 5.759 13.048 5.856 13.144C5.952 13.241 6 13.359 6 13.5C6 13.641 5.952 13.759 5.856 13.856C5.759 13.952 5.641 14 5.5 14L0.5 14C0.359 14 0.241 13.952 0.144 13.856C0.048 13.759 0 13.641 0 13.5C0 13.359 0.048 13.241 0.144 13.144C0.241 13.048 0.359 13 0.5 13L2 13L2 2C2 1.746 2.047 1.5 2.14 1.264ZM5.707 6.293C5.902 6.488 6 6.724 6 7C6 7.276 5.902 7.512 5.707 7.707C5.512 7.902 5.276 8 5 8C4.724 8 4.488 7.902 4.293 7.707C4.098 7.512 4 7.276 4 7C4 6.724 4.098 6.488 4.293 6.293C4.488 6.098 4.724 6 5 6C5.276 6 5.512 6.098 5.707 6.293ZM14.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.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.293ZM12.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.5C13 9.309 12.965 9.125 12.895 8.948Z" />
</svg>
);
}Vue: see /icons/door-lock.md
Svelte: see /icons/door-lock.md
HTML img: see /icons/door-lock.md
CSS: see /icons/door-lock.md
Data URL: see /icons/door-lock.md
Sprite: see /icons/door-lock.md
SwiftUI: see /icons/door-lock.md
Compose: see /icons/door-lock.md
Android XML: see /icons/door-lock.md
Flutter: see /icons/door-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 { DoorLockIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- locked door, smart lock, lock door, door locked
- Example
- Smart lock
- Alternatives
door-unlock: the unlocked state of the same locklock: the padlock: locked content, a file or an account
- Also fits
- home security: a smart lock or locked door
- unlocked door: the locked state of the same lock
- Built from
door+ lock- Tags
- door, entrance, room, entry, doorway, closed, exit, enter, meeting-room, home, lock
- Category
- Home & household
- Component name
DoorLockIcon- History
- added
- released in 0.1.0
- changed in 0.2.0
- modifier lock redrawn
- Since
- version 0.1.0
Family 13
More home & household icons
air-freshener air-purifier air-vent armchair baby-changing bath bed bed-bunk bed-double bed-off bed-person bed-plus bed-single blanket blender blinds · all home & household icons
For agents
Metadata: /icons/door-lock.json · Markdown: /icons/door-lock.md · SVG: https://gentleface.com/svg/{style}/16/door-lock.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/door-lock.png