Gentleface › Files & folders › file-lock
file-lock icon
file-lockFile lock: locked file, encrypted file, password protected file, private file. 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="M3.14 1.264C3.242 1.007 3.391 0.781 3.586 0.586C3.781 0.391 4.007 0.242 4.264 0.14C4.5 0.047 4.746 0 5 0L7.5 0C7.886 0 8.258 0.074 8.615 0.222C8.972 0.37 9.287 0.58 9.561 0.854L12.146 3.439C12.42 3.713 12.63 4.028 12.778 4.385C12.926 4.742 13 5.114 13 5.5C13 5.641 12.952 5.759 12.856 5.856C12.759 5.952 12.641 6 12.5 6C12.359 6 12.241 5.952 12.144 5.856C12.048 5.759 12 5.641 12 5.5C12 5.329 11.978 5.162 11.934 5L10 5C9.746 5 9.5 4.953 9.264 4.86C9.007 4.758 8.781 4.609 8.586 4.414C8.391 4.219 8.242 3.993 8.14 3.736C8.047 3.5 8 3.254 8 3L8 1.066C7.838 1.022 7.671 1 7.5 1L5 1C4.724 1 4.488 1.098 4.293 1.293C4.098 1.488 4 1.724 4 2L4 12C4 12.276 4.098 12.512 4.293 12.707C4.488 12.902 4.724 13 5 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 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 2C3 1.746 3.047 1.5 3.14 1.264ZM9 1.707L9 3C9 3.276 9.098 3.512 9.293 3.707C9.488 3.902 9.724 4 10 4L11.293 4L9 1.707ZM14.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 "file-lock" (line-round), MIT. https://gentleface.com/icons/file-lock
import type { SVGProps } from 'react';
export function FileLockIcon(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.14 1.264C3.242 1.007 3.391 0.781 3.586 0.586C3.781 0.391 4.007 0.242 4.264 0.14C4.5 0.047 4.746 0 5 0L7.5 0C7.886 0 8.258 0.074 8.615 0.222C8.972 0.37 9.287 0.58 9.561 0.854L12.146 3.439C12.42 3.713 12.63 4.028 12.778 4.385C12.926 4.742 13 5.114 13 5.5C13 5.641 12.952 5.759 12.856 5.856C12.759 5.952 12.641 6 12.5 6C12.359 6 12.241 5.952 12.144 5.856C12.048 5.759 12 5.641 12 5.5C12 5.329 11.978 5.162 11.934 5L10 5C9.746 5 9.5 4.953 9.264 4.86C9.007 4.758 8.781 4.609 8.586 4.414C8.391 4.219 8.242 3.993 8.14 3.736C8.047 3.5 8 3.254 8 3L8 1.066C7.838 1.022 7.671 1 7.5 1L5 1C4.724 1 4.488 1.098 4.293 1.293C4.098 1.488 4 1.724 4 2L4 12C4 12.276 4.098 12.512 4.293 12.707C4.488 12.902 4.724 13 5 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 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 2C3 1.746 3.047 1.5 3.14 1.264ZM9 1.707L9 3C9 3.276 9.098 3.512 9.293 3.707C9.488 3.902 9.724 4 10 4L11.293 4L9 1.707ZM14.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/file-lock.md
Svelte: see /icons/file-lock.md
HTML img: see /icons/file-lock.md
CSS: see /icons/file-lock.md
Data URL: see /icons/file-lock.md
Sprite: see /icons/file-lock.md
SwiftUI: see /icons/file-lock.md
Compose: see /icons/file-lock.md
Android XML: see /icons/file-lock.md
Flutter: see /icons/file-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 { FileLockIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- locked file, encrypted file, password protected file, private file
- Example
- Password-protected file
- Alternatives
file-unlock: unlocked or decrypted, the toggle pair
- Don’t confuse with
file-shield: the shield means protected or scanned, not lockedfile-key: a key file holds a credential; it is not locked
- Also fits
- unlock file: locked or encrypted, the toggle pair
- encrypted: an encrypted file
- Not for
- key file (use
file-key): the lock marks a locked or encrypted file, not a key file - protected file (use
file-shield): the lock means locked or encrypted; protected is the shield
- key file (use
- Built from
file+ lock- Tags
- document, page, sheet, lock
- Category
- Files & folders
- Component name
FileLockIcon- History
- added
- released in 0.1.0
- changed in 0.2.0
- modifier lock redrawn
- Since
- version 0.1.0
Family 84
More files & folders icons
archive archive-arrow-up archive-clock archive-gear archive-lock archive-off archive-search archive-x book book-a book-alert book-arrow-down book-arrow-up book-bookmark book-check book-clock · all files & folders icons
For agents
Metadata: /icons/file-lock.json · Markdown: /icons/file-lock.md · SVG: https://gentleface.com/svg/{style}/16/file-lock.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/file-lock.png