# file-lock icon

File lock. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/file-lock

- Category: Files & folders
- Use it for: locked file, encrypted file, password protected file, private file
- Example: Password-protected file
- Built from: file + lock
- Tags: document, page, sheet, lock
- Family: file, contract, file-alert, file-arrow-down, file-arrow-up, file-binary, file-chart, file-check, file-clock, file-cloud, file-code, file-diff, file-dot, file-export, file-eye, file-gear, file-image, file-import, file-info, file-link, file-music, file-off, file-pencil, file-plus, file-presentation, file-question, file-scan, file-search, file-shield, file-sparkle, file-spreadsheet, file-star, file-symlink, file-sync, file-template, file-text, file-unlock, file-user, file-video, file-x, file-zip, files
- Component name: FileLockIcon
- Added: 2026-10-15

## Alternatives

- `file-unlock`: unlocked or decrypted, the toggle pair

## Don't confuse with

- `file-shield`: the shield means protected or scanned, not locked
- `file-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

## Files

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it.

- line-round: https://gentleface.com/svg/line-round/16/file-lock.svg · PNG https://gentleface.com/png/line-round/16/file-lock.png · https://gentleface.com/png/line-round/32/file-lock.png · https://gentleface.com/png/line-round/48/file-lock.png
- line-soft: https://gentleface.com/svg/line-soft/16/file-lock.svg · PNG https://gentleface.com/png/line-soft/16/file-lock.png · https://gentleface.com/png/line-soft/32/file-lock.png · https://gentleface.com/png/line-soft/48/file-lock.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/file-lock.svg · PNG https://gentleface.com/png/line-sharp/16/file-lock.png · https://gentleface.com/png/line-sharp/32/file-lock.png · https://gentleface.com/png/line-sharp/48/file-lock.png
- solid-round: https://gentleface.com/svg/solid-round/16/file-lock.svg · PNG https://gentleface.com/png/solid-round/16/file-lock.png · https://gentleface.com/png/solid-round/32/file-lock.png · https://gentleface.com/png/solid-round/48/file-lock.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/file-lock.svg · PNG https://gentleface.com/png/solid-soft/16/file-lock.png · https://gentleface.com/png/solid-soft/32/file-lock.png · https://gentleface.com/png/solid-soft/48/file-lock.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/file-lock.svg · PNG https://gentleface.com/png/solid-sharp/16/file-lock.png · https://gentleface.com/png/solid-sharp/32/file-lock.png · https://gentleface.com/png/solid-sharp/48/file-lock.png

The SVG of every style: https://gentleface.com/icons/file-lock.json (`svg`).

## Code (line-round)

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. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```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.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L7.5 1C7.886 1 8.258 1.074 8.615 1.222C8.972 1.37 9.287 1.58 9.561 1.854L12.146 4.439C12.456 4.749 12.684 5.109 12.831 5.522C12.877 5.652 12.871 5.779 12.812 5.904C12.752 6.029 12.658 6.114 12.528 6.16C12.502 6.17 12.476 6.177 12.45 6.182C12.324 6.146 12.195 6.117 12.066 6.095C12.03 6.069 11.997 6.037 11.968 6L10 6C9.746 6 9.5 5.953 9.264 5.86C9.007 5.758 8.781 5.609 8.586 5.414C8.391 5.219 8.242 4.993 8.14 4.736C8.047 4.5 8 4.254 8 4L8 2.066C7.838 2.022 7.671 2 7.5 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 13C4 13.276 4.098 13.512 4.293 13.707C4.488 13.902 4.724 14 5 14L5.5 14C5.641 14 5.759 14.048 5.856 14.144C5.952 14.241 6 14.359 6 14.5C6 14.641 5.952 14.759 5.856 14.856C5.759 14.952 5.641 15 5.5 15L5 15C4.746 15 4.5 14.953 4.264 14.86C4.007 14.758 3.781 14.609 3.586 14.414C3.391 14.219 3.242 13.993 3.14 13.736C3.047 13.5 3 13.254 3 13L3 3C3 2.746 3.047 2.5 3.14 2.264ZM9 2.707L9 4C9 4.276 9.098 4.512 9.293 4.707C9.488 4.902 9.724 5 10 5L11.293 5L9 2.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

```tsx
// 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 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L7.5 1C7.886 1 8.258 1.074 8.615 1.222C8.972 1.37 9.287 1.58 9.561 1.854L12.146 4.439C12.456 4.749 12.684 5.109 12.831 5.522C12.877 5.652 12.871 5.779 12.812 5.904C12.752 6.029 12.658 6.114 12.528 6.16C12.502 6.17 12.476 6.177 12.45 6.182C12.324 6.146 12.195 6.117 12.066 6.095C12.03 6.069 11.997 6.037 11.968 6L10 6C9.746 6 9.5 5.953 9.264 5.86C9.007 5.758 8.781 5.609 8.586 5.414C8.391 5.219 8.242 4.993 8.14 4.736C8.047 4.5 8 4.254 8 4L8 2.066C7.838 2.022 7.671 2 7.5 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 13C4 13.276 4.098 13.512 4.293 13.707C4.488 13.902 4.724 14 5 14L5.5 14C5.641 14 5.759 14.048 5.856 14.144C5.952 14.241 6 14.359 6 14.5C6 14.641 5.952 14.759 5.856 14.856C5.759 14.952 5.641 15 5.5 15L5 15C4.746 15 4.5 14.953 4.264 14.86C4.007 14.758 3.781 14.609 3.586 14.414C3.391 14.219 3.242 13.993 3.14 13.736C3.047 13.5 3 13.254 3 13L3 3C3 2.746 3.047 2.5 3.14 2.264ZM9 2.707L9 4C9 4.276 9.098 4.512 9.293 4.707C9.488 4.902 9.724 5 10 5L11.293 5L9 2.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
<!-- Gentleface "file-lock" (line-round), MIT. https://gentleface.com/icons/file-lock -->
<template>
  <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 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L7.5 1C7.886 1 8.258 1.074 8.615 1.222C8.972 1.37 9.287 1.58 9.561 1.854L12.146 4.439C12.456 4.749 12.684 5.109 12.831 5.522C12.877 5.652 12.871 5.779 12.812 5.904C12.752 6.029 12.658 6.114 12.528 6.16C12.502 6.17 12.476 6.177 12.45 6.182C12.324 6.146 12.195 6.117 12.066 6.095C12.03 6.069 11.997 6.037 11.968 6L10 6C9.746 6 9.5 5.953 9.264 5.86C9.007 5.758 8.781 5.609 8.586 5.414C8.391 5.219 8.242 4.993 8.14 4.736C8.047 4.5 8 4.254 8 4L8 2.066C7.838 2.022 7.671 2 7.5 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 13C4 13.276 4.098 13.512 4.293 13.707C4.488 13.902 4.724 14 5 14L5.5 14C5.641 14 5.759 14.048 5.856 14.144C5.952 14.241 6 14.359 6 14.5C6 14.641 5.952 14.759 5.856 14.856C5.759 14.952 5.641 15 5.5 15L5 15C4.746 15 4.5 14.953 4.264 14.86C4.007 14.758 3.781 14.609 3.586 14.414C3.391 14.219 3.242 13.993 3.14 13.736C3.047 13.5 3 13.254 3 13L3 3C3 2.746 3.047 2.5 3.14 2.264ZM9 2.707L9 4C9 4.276 9.098 4.512 9.293 4.707C9.488 4.902 9.724 5 10 5L11.293 5L9 2.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>
</template>
```

### Svelte

```svelte
<!-- Gentleface "file-lock" (line-round), MIT. https://gentleface.com/icons/file-lock -->
<script>
  let props = $props();
</script>

<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 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L7.5 1C7.886 1 8.258 1.074 8.615 1.222C8.972 1.37 9.287 1.58 9.561 1.854L12.146 4.439C12.456 4.749 12.684 5.109 12.831 5.522C12.877 5.652 12.871 5.779 12.812 5.904C12.752 6.029 12.658 6.114 12.528 6.16C12.502 6.17 12.476 6.177 12.45 6.182C12.324 6.146 12.195 6.117 12.066 6.095C12.03 6.069 11.997 6.037 11.968 6L10 6C9.746 6 9.5 5.953 9.264 5.86C9.007 5.758 8.781 5.609 8.586 5.414C8.391 5.219 8.242 4.993 8.14 4.736C8.047 4.5 8 4.254 8 4L8 2.066C7.838 2.022 7.671 2 7.5 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 13C4 13.276 4.098 13.512 4.293 13.707C4.488 13.902 4.724 14 5 14L5.5 14C5.641 14 5.759 14.048 5.856 14.144C5.952 14.241 6 14.359 6 14.5C6 14.641 5.952 14.759 5.856 14.856C5.759 14.952 5.641 15 5.5 15L5 15C4.746 15 4.5 14.953 4.264 14.86C4.007 14.758 3.781 14.609 3.586 14.414C3.391 14.219 3.242 13.993 3.14 13.736C3.047 13.5 3 13.254 3 13L3 3C3 2.746 3.047 2.5 3.14 2.264ZM9 2.707L9 4C9 4.276 9.098 4.512 9.293 4.707C9.488 4.902 9.724 5 10 5L11.293 5L9 2.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>
```

### HTML img

```html
<!-- Gentleface "file-lock" (line-round), MIT. https://gentleface.com/icons/file-lock. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/file-lock.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "file-lock" (line-round), MIT. https://gentleface.com/icons/file-lock. Takes the text color. */
.icon-file-lock {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L7.5 1C7.886 1 8.258 1.074 8.615 1.222C8.972 1.37 9.287 1.58 9.561 1.854L12.146 4.439C12.456 4.749 12.684 5.109 12.831 5.522C12.877 5.652 12.871 5.779 12.812 5.904C12.752 6.029 12.658 6.114 12.528 6.16C12.502 6.17 12.476 6.177 12.45 6.182C12.324 6.146 12.195 6.117 12.066 6.095C12.03 6.069 11.997 6.037 11.968 6L10 6C9.746 6 9.5 5.953 9.264 5.86C9.007 5.758 8.781 5.609 8.586 5.414C8.391 5.219 8.242 4.993 8.14 4.736C8.047 4.5 8 4.254 8 4L8 2.066C7.838 2.022 7.671 2 7.5 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 13C4 13.276 4.098 13.512 4.293 13.707C4.488 13.902 4.724 14 5 14L5.5 14C5.641 14 5.759 14.048 5.856 14.144C5.952 14.241 6 14.359 6 14.5C6 14.641 5.952 14.759 5.856 14.856C5.759 14.952 5.641 15 5.5 15L5 15C4.746 15 4.5 14.953 4.264 14.86C4.007 14.758 3.781 14.609 3.586 14.414C3.391 14.219 3.242 13.993 3.14 13.736C3.047 13.5 3 13.254 3 13L3 3C3 2.746 3.047 2.5 3.14 2.264ZM9 2.707L9 4C9 4.276 9.098 4.512 9.293 4.707C9.488 4.902 9.724 5 10 5L11.293 5L9 2.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'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L7.5 1C7.886 1 8.258 1.074 8.615 1.222C8.972 1.37 9.287 1.58 9.561 1.854L12.146 4.439C12.456 4.749 12.684 5.109 12.831 5.522C12.877 5.652 12.871 5.779 12.812 5.904C12.752 6.029 12.658 6.114 12.528 6.16C12.502 6.17 12.476 6.177 12.45 6.182C12.324 6.146 12.195 6.117 12.066 6.095C12.03 6.069 11.997 6.037 11.968 6L10 6C9.746 6 9.5 5.953 9.264 5.86C9.007 5.758 8.781 5.609 8.586 5.414C8.391 5.219 8.242 4.993 8.14 4.736C8.047 4.5 8 4.254 8 4L8 2.066C7.838 2.022 7.671 2 7.5 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 13C4 13.276 4.098 13.512 4.293 13.707C4.488 13.902 4.724 14 5 14L5.5 14C5.641 14 5.759 14.048 5.856 14.144C5.952 14.241 6 14.359 6 14.5C6 14.641 5.952 14.759 5.856 14.856C5.759 14.952 5.641 15 5.5 15L5 15C4.746 15 4.5 14.953 4.264 14.86C4.007 14.758 3.781 14.609 3.586 14.414C3.391 14.219 3.242 13.993 3.14 13.736C3.047 13.5 3 13.254 3 13L3 3C3 2.746 3.047 2.5 3.14 2.264ZM9 2.707L9 4C9 4.276 9.098 4.512 9.293 4.707C9.488 4.902 9.724 5 10 5L11.293 5L9 2.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'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L7.5 1C7.886 1 8.258 1.074 8.615 1.222C8.972 1.37 9.287 1.58 9.561 1.854L12.146 4.439C12.456 4.749 12.684 5.109 12.831 5.522C12.877 5.652 12.871 5.779 12.812 5.904C12.752 6.029 12.658 6.114 12.528 6.16C12.502 6.17 12.476 6.177 12.45 6.182C12.324 6.146 12.195 6.117 12.066 6.095C12.03 6.069 11.997 6.037 11.968 6L10 6C9.746 6 9.5 5.953 9.264 5.86C9.007 5.758 8.781 5.609 8.586 5.414C8.391 5.219 8.242 4.993 8.14 4.736C8.047 4.5 8 4.254 8 4L8 2.066C7.838 2.022 7.671 2 7.5 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 13C4 13.276 4.098 13.512 4.293 13.707C4.488 13.902 4.724 14 5 14L5.5 14C5.641 14 5.759 14.048 5.856 14.144C5.952 14.241 6 14.359 6 14.5C6 14.641 5.952 14.759 5.856 14.856C5.759 14.952 5.641 15 5.5 15L5 15C4.746 15 4.5 14.953 4.264 14.86C4.007 14.758 3.781 14.609 3.586 14.414C3.391 14.219 3.242 13.993 3.14 13.736C3.047 13.5 3 13.254 3 13L3 3C3 2.746 3.047 2.5 3.14 2.264ZM9 2.707L9 4C9 4.276 9.098 4.512 9.293 4.707C9.488 4.902 9.724 5 10 5L11.293 5L9 2.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'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "file-lock" (line-round), MIT. https://gentleface.com/icons/file-lock
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#file-lock"/></svg>
```

### SwiftUI

```swift
// Gentleface "file-lock" (line-round), MIT. https://gentleface.com/icons/file-lock
import SwiftUI

struct FileLockIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 3.14, y: 2.264))
        p.addCurve(to: CGPoint(x: 3.586, y: 1.586), control1: CGPoint(x: 3.242, y: 2.007), control2: CGPoint(x: 3.391, y: 1.781))
        p.addCurve(to: CGPoint(x: 4.264, y: 1.14), control1: CGPoint(x: 3.781, y: 1.391), control2: CGPoint(x: 4.007, y: 1.242))
        p.addCurve(to: CGPoint(x: 5, y: 1), control1: CGPoint(x: 4.5, y: 1.047), control2: CGPoint(x: 4.746, y: 1))
        p.addLine(to: CGPoint(x: 7.5, y: 1))
        p.addCurve(to: CGPoint(x: 8.615, y: 1.222), control1: CGPoint(x: 7.886, y: 1), control2: CGPoint(x: 8.258, y: 1.074))
        p.addCurve(to: CGPoint(x: 9.561, y: 1.854), control1: CGPoint(x: 8.972, y: 1.37), control2: CGPoint(x: 9.287, y: 1.58))
        p.addLine(to: CGPoint(x: 12.146, y: 4.439))
        p.addCurve(to: CGPoint(x: 12.831, y: 5.522), control1: CGPoint(x: 12.456, y: 4.749), control2: CGPoint(x: 12.684, y: 5.109))
        p.addCurve(to: CGPoint(x: 12.812, y: 5.904), control1: CGPoint(x: 12.877, y: 5.652), control2: CGPoint(x: 12.871, y: 5.779))
        p.addCurve(to: CGPoint(x: 12.528, y: 6.16), control1: CGPoint(x: 12.752, y: 6.029), control2: CGPoint(x: 12.658, y: 6.114))
        p.addCurve(to: CGPoint(x: 12.45, y: 6.182), control1: CGPoint(x: 12.502, y: 6.17), control2: CGPoint(x: 12.476, y: 6.177))
        p.addCurve(to: CGPoint(x: 12.066, y: 6.095), control1: CGPoint(x: 12.324, y: 6.146), control2: CGPoint(x: 12.195, y: 6.117))
        p.addCurve(to: CGPoint(x: 11.968, y: 6), control1: CGPoint(x: 12.03, y: 6.069), control2: CGPoint(x: 11.997, y: 6.037))
        p.addLine(to: CGPoint(x: 10, y: 6))
        p.addCurve(to: CGPoint(x: 9.264, y: 5.86), control1: CGPoint(x: 9.746, y: 6), control2: CGPoint(x: 9.5, y: 5.953))
        p.addCurve(to: CGPoint(x: 8.586, y: 5.414), control1: CGPoint(x: 9.007, y: 5.758), control2: CGPoint(x: 8.781, y: 5.609))
        p.addCurve(to: CGPoint(x: 8.14, y: 4.736), control1: CGPoint(x: 8.391, y: 5.219), control2: CGPoint(x: 8.242, y: 4.993))
        p.addCurve(to: CGPoint(x: 8, y: 4), control1: CGPoint(x: 8.047, y: 4.5), control2: CGPoint(x: 8, y: 4.254))
        p.addLine(to: CGPoint(x: 8, y: 2.066))
        p.addCurve(to: CGPoint(x: 7.5, y: 2), control1: CGPoint(x: 7.838, y: 2.022), control2: CGPoint(x: 7.671, y: 2))
        p.addLine(to: CGPoint(x: 5, y: 2))
        p.addCurve(to: CGPoint(x: 4.293, y: 2.293), control1: CGPoint(x: 4.724, y: 2), control2: CGPoint(x: 4.488, y: 2.098))
        p.addCurve(to: CGPoint(x: 4, y: 3), control1: CGPoint(x: 4.098, y: 2.488), control2: CGPoint(x: 4, y: 2.724))
        p.addLine(to: CGPoint(x: 4, y: 13))
        p.addCurve(to: CGPoint(x: 4.293, y: 13.707), control1: CGPoint(x: 4, y: 13.276), control2: CGPoint(x: 4.098, y: 13.512))
        p.addCurve(to: CGPoint(x: 5, y: 14), control1: CGPoint(x: 4.488, y: 13.902), control2: CGPoint(x: 4.724, y: 14))
        p.addLine(to: CGPoint(x: 5.5, y: 14))
        p.addCurve(to: CGPoint(x: 5.856, y: 14.144), control1: CGPoint(x: 5.641, y: 14), control2: CGPoint(x: 5.759, y: 14.048))
        p.addCurve(to: CGPoint(x: 6, y: 14.5), control1: CGPoint(x: 5.952, y: 14.241), control2: CGPoint(x: 6, y: 14.359))
        p.addCurve(to: CGPoint(x: 5.856, y: 14.856), control1: CGPoint(x: 6, y: 14.641), control2: CGPoint(x: 5.952, y: 14.759))
        p.addCurve(to: CGPoint(x: 5.5, y: 15), control1: CGPoint(x: 5.759, y: 14.952), control2: CGPoint(x: 5.641, y: 15))
        p.addLine(to: CGPoint(x: 5, y: 15))
        p.addCurve(to: CGPoint(x: 4.264, y: 14.86), control1: CGPoint(x: 4.746, y: 15), control2: CGPoint(x: 4.5, y: 14.953))
        p.addCurve(to: CGPoint(x: 3.586, y: 14.414), control1: CGPoint(x: 4.007, y: 14.758), control2: CGPoint(x: 3.781, y: 14.609))
        p.addCurve(to: CGPoint(x: 3.14, y: 13.736), control1: CGPoint(x: 3.391, y: 14.219), control2: CGPoint(x: 3.242, y: 13.993))
        p.addCurve(to: CGPoint(x: 3, y: 13), control1: CGPoint(x: 3.047, y: 13.5), control2: CGPoint(x: 3, y: 13.254))
        p.addLine(to: CGPoint(x: 3, y: 3))
        p.addCurve(to: CGPoint(x: 3.14, y: 2.264), control1: CGPoint(x: 3, y: 2.746), control2: CGPoint(x: 3.047, y: 2.5))
        p.closeSubpath()
        p.move(to: CGPoint(x: 9, y: 2.707))
        p.addLine(to: CGPoint(x: 9, y: 4))
        p.addCurve(to: CGPoint(x: 9.293, y: 4.707), control1: CGPoint(x: 9, y: 4.276), control2: CGPoint(x: 9.098, y: 4.512))
        p.addCurve(to: CGPoint(x: 10, y: 5), control1: CGPoint(x: 9.488, y: 4.902), control2: CGPoint(x: 9.724, y: 5))
        p.addLine(to: CGPoint(x: 11.293, y: 5))
        p.addLine(to: CGPoint(x: 9, y: 2.707))
        p.closeSubpath()
        p.move(to: CGPoint(x: 9.176, y: 8.58))
        p.addCurve(to: CGPoint(x: 9.732, y: 7.732), control1: CGPoint(x: 9.303, y: 8.259), control2: CGPoint(x: 9.488, y: 7.976))
        p.addCurve(to: CGPoint(x: 10.58, y: 7.176), control1: CGPoint(x: 9.976, y: 7.488), control2: CGPoint(x: 10.259, y: 7.303))
        p.addCurve(to: CGPoint(x: 11.5, y: 7), control1: CGPoint(x: 10.875, y: 7.059), control2: CGPoint(x: 11.182, y: 7))
        p.addCurve(to: CGPoint(x: 12.42, y: 7.176), control1: CGPoint(x: 11.818, y: 7), control2: CGPoint(x: 12.125, y: 7.059))
        p.addCurve(to: CGPoint(x: 13.268, y: 7.732), control1: CGPoint(x: 12.741, y: 7.303), control2: CGPoint(x: 13.024, y: 7.488))
        p.addCurve(to: CGPoint(x: 13.824, y: 8.58), control1: CGPoint(x: 13.512, y: 7.976), control2: CGPoint(x: 13.697, y: 8.259))
        p.addCurve(to: CGPoint(x: 14, y: 9.5), control1: CGPoint(x: 13.941, y: 8.875), control2: CGPoint(x: 14, y: 9.182))
        p.addLine(to: CGPoint(x: 14, y: 11))
        p.addCurve(to: CGPoint(x: 14.707, y: 11.293), control1: CGPoint(x: 14.276, y: 11), control2: CGPoint(x: 14.512, y: 11.098))
        p.addCurve(to: CGPoint(x: 15, y: 12), control1: CGPoint(x: 14.902, y: 11.488), control2: CGPoint(x: 15, y: 11.724))
        p.addLine(to: CGPoint(x: 15, y: 15))
        p.addCurve(to: CGPoint(x: 14.707, y: 15.707), control1: CGPoint(x: 15, y: 15.276), control2: CGPoint(x: 14.902, y: 15.512))
        p.addCurve(to: CGPoint(x: 14, y: 16), control1: CGPoint(x: 14.512, y: 15.902), control2: CGPoint(x: 14.276, y: 16))
        p.addLine(to: CGPoint(x: 9, y: 16))
        p.addCurve(to: CGPoint(x: 8.293, y: 15.707), control1: CGPoint(x: 8.724, y: 16), control2: CGPoint(x: 8.488, y: 15.902))
        p.addCurve(to: CGPoint(x: 8, y: 15), control1: CGPoint(x: 8.098, y: 15.512), control2: CGPoint(x: 8, y: 15.276))
        p.addLine(to: CGPoint(x: 8, y: 12))
        p.addCurve(to: CGPoint(x: 8.293, y: 11.293), control1: CGPoint(x: 8, y: 11.724), control2: CGPoint(x: 8.098, y: 11.488))
        p.addCurve(to: CGPoint(x: 9, y: 11), control1: CGPoint(x: 8.488, y: 11.098), control2: CGPoint(x: 8.724, y: 11))
        p.addLine(to: CGPoint(x: 9, y: 9.5))
        p.addCurve(to: CGPoint(x: 9.176, y: 8.58), control1: CGPoint(x: 9, y: 9.182), control2: CGPoint(x: 9.059, y: 8.875))
        p.closeSubpath()
        p.move(to: CGPoint(x: 13, y: 9.5))
        p.addCurve(to: CGPoint(x: 12.895, y: 8.948), control1: CGPoint(x: 13, y: 9.309), control2: CGPoint(x: 12.965, y: 9.125))
        p.addCurve(to: CGPoint(x: 12.561, y: 8.439), control1: CGPoint(x: 12.818, y: 8.755), control2: CGPoint(x: 12.707, y: 8.586))
        p.addCurve(to: CGPoint(x: 12.052, y: 8.105), control1: CGPoint(x: 12.414, y: 8.293), control2: CGPoint(x: 12.245, y: 8.182))
        p.addCurve(to: CGPoint(x: 11.5, y: 8), control1: CGPoint(x: 11.875, y: 8.035), control2: CGPoint(x: 11.691, y: 8))
        p.addCurve(to: CGPoint(x: 10.948, y: 8.105), control1: CGPoint(x: 11.309, y: 8), control2: CGPoint(x: 11.125, y: 8.035))
        p.addCurve(to: CGPoint(x: 10.439, y: 8.439), control1: CGPoint(x: 10.755, y: 8.182), control2: CGPoint(x: 10.586, y: 8.293))
        p.addCurve(to: CGPoint(x: 10.105, y: 8.948), control1: CGPoint(x: 10.293, y: 8.586), control2: CGPoint(x: 10.182, y: 8.755))
        p.addCurve(to: CGPoint(x: 10, y: 9.5), control1: CGPoint(x: 10.035, y: 9.125), control2: CGPoint(x: 10, y: 9.309))
        p.addLine(to: CGPoint(x: 10, y: 11))
        p.addLine(to: CGPoint(x: 13, y: 11))
        p.addLine(to: CGPoint(x: 13, y: 9.5))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// FileLockIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "file-lock" (line-round), MIT. https://gentleface.com/icons/file-lock
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val FileLockIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "file-lock", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L7.5 1C7.886 1 8.258 1.074 8.615 1.222C8.972 1.37 9.287 1.58 9.561 1.854L12.146 4.439C12.456 4.749 12.684 5.109 12.831 5.522C12.877 5.652 12.871 5.779 12.812 5.904C12.752 6.029 12.658 6.114 12.528 6.16C12.502 6.17 12.476 6.177 12.45 6.182C12.324 6.146 12.195 6.117 12.066 6.095C12.03 6.069 11.997 6.037 11.968 6L10 6C9.746 6 9.5 5.953 9.264 5.86C9.007 5.758 8.781 5.609 8.586 5.414C8.391 5.219 8.242 4.993 8.14 4.736C8.047 4.5 8 4.254 8 4L8 2.066C7.838 2.022 7.671 2 7.5 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 13C4 13.276 4.098 13.512 4.293 13.707C4.488 13.902 4.724 14 5 14L5.5 14C5.641 14 5.759 14.048 5.856 14.144C5.952 14.241 6 14.359 6 14.5C6 14.641 5.952 14.759 5.856 14.856C5.759 14.952 5.641 15 5.5 15L5 15C4.746 15 4.5 14.953 4.264 14.86C4.007 14.758 3.781 14.609 3.586 14.414C3.391 14.219 3.242 13.993 3.14 13.736C3.047 13.5 3 13.254 3 13L3 3C3 2.746 3.047 2.5 3.14 2.264ZM9 2.707L9 4C9 4.276 9.098 4.512 9.293 4.707C9.488 4.902 9.724 5 10 5L11.293 5L9 2.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"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(FileLockIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_file_lock.xml · Gentleface "file-lock" (line-round), MIT. https://gentleface.com/icons/file-lock -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L7.5 1C7.886 1 8.258 1.074 8.615 1.222C8.972 1.37 9.287 1.58 9.561 1.854L12.146 4.439C12.456 4.749 12.684 5.109 12.831 5.522C12.877 5.652 12.871 5.779 12.812 5.904C12.752 6.029 12.658 6.114 12.528 6.16C12.502 6.17 12.476 6.177 12.45 6.182C12.324 6.146 12.195 6.117 12.066 6.095C12.03 6.069 11.997 6.037 11.968 6L10 6C9.746 6 9.5 5.953 9.264 5.86C9.007 5.758 8.781 5.609 8.586 5.414C8.391 5.219 8.242 4.993 8.14 4.736C8.047 4.5 8 4.254 8 4L8 2.066C7.838 2.022 7.671 2 7.5 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 13C4 13.276 4.098 13.512 4.293 13.707C4.488 13.902 4.724 14 5 14L5.5 14C5.641 14 5.759 14.048 5.856 14.144C5.952 14.241 6 14.359 6 14.5C6 14.641 5.952 14.759 5.856 14.856C5.759 14.952 5.641 15 5.5 15L5 15C4.746 15 4.5 14.953 4.264 14.86C4.007 14.758 3.781 14.609 3.586 14.414C3.391 14.219 3.242 13.993 3.14 13.736C3.047 13.5 3 13.254 3 13L3 3C3 2.746 3.047 2.5 3.14 2.264ZM9 2.707L9 4C9 4.276 9.098 4.512 9.293 4.707C9.488 4.902 9.724 5 10 5L11.293 5L9 2.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"/>
</vector>
```

### Flutter

```dart
// Gentleface "file-lock" (line-round), MIT. https://gentleface.com/icons/file-lock
import 'package:flutter/widgets.dart';

class FileLockIcon extends StatelessWidget {
  const FileLockIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _FileLockIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _FileLockIconPainter extends CustomPainter {
  _FileLockIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(3.14, 2.264)
      ..cubicTo(3.242, 2.007, 3.391, 1.781, 3.586, 1.586)
      ..cubicTo(3.781, 1.391, 4.007, 1.242, 4.264, 1.14)
      ..cubicTo(4.5, 1.047, 4.746, 1, 5, 1)
      ..lineTo(7.5, 1)
      ..cubicTo(7.886, 1, 8.258, 1.074, 8.615, 1.222)
      ..cubicTo(8.972, 1.37, 9.287, 1.58, 9.561, 1.854)
      ..lineTo(12.146, 4.439)
      ..cubicTo(12.456, 4.749, 12.684, 5.109, 12.831, 5.522)
      ..cubicTo(12.877, 5.652, 12.871, 5.779, 12.812, 5.904)
      ..cubicTo(12.752, 6.029, 12.658, 6.114, 12.528, 6.16)
      ..cubicTo(12.502, 6.17, 12.476, 6.177, 12.45, 6.182)
      ..cubicTo(12.324, 6.146, 12.195, 6.117, 12.066, 6.095)
      ..cubicTo(12.03, 6.069, 11.997, 6.037, 11.968, 6)
      ..lineTo(10, 6)
      ..cubicTo(9.746, 6, 9.5, 5.953, 9.264, 5.86)
      ..cubicTo(9.007, 5.758, 8.781, 5.609, 8.586, 5.414)
      ..cubicTo(8.391, 5.219, 8.242, 4.993, 8.14, 4.736)
      ..cubicTo(8.047, 4.5, 8, 4.254, 8, 4)
      ..lineTo(8, 2.066)
      ..cubicTo(7.838, 2.022, 7.671, 2, 7.5, 2)
      ..lineTo(5, 2)
      ..cubicTo(4.724, 2, 4.488, 2.098, 4.293, 2.293)
      ..cubicTo(4.098, 2.488, 4, 2.724, 4, 3)
      ..lineTo(4, 13)
      ..cubicTo(4, 13.276, 4.098, 13.512, 4.293, 13.707)
      ..cubicTo(4.488, 13.902, 4.724, 14, 5, 14)
      ..lineTo(5.5, 14)
      ..cubicTo(5.641, 14, 5.759, 14.048, 5.856, 14.144)
      ..cubicTo(5.952, 14.241, 6, 14.359, 6, 14.5)
      ..cubicTo(6, 14.641, 5.952, 14.759, 5.856, 14.856)
      ..cubicTo(5.759, 14.952, 5.641, 15, 5.5, 15)
      ..lineTo(5, 15)
      ..cubicTo(4.746, 15, 4.5, 14.953, 4.264, 14.86)
      ..cubicTo(4.007, 14.758, 3.781, 14.609, 3.586, 14.414)
      ..cubicTo(3.391, 14.219, 3.242, 13.993, 3.14, 13.736)
      ..cubicTo(3.047, 13.5, 3, 13.254, 3, 13)
      ..lineTo(3, 3)
      ..cubicTo(3, 2.746, 3.047, 2.5, 3.14, 2.264)
      ..close()
      ..moveTo(9, 2.707)
      ..lineTo(9, 4)
      ..cubicTo(9, 4.276, 9.098, 4.512, 9.293, 4.707)
      ..cubicTo(9.488, 4.902, 9.724, 5, 10, 5)
      ..lineTo(11.293, 5)
      ..lineTo(9, 2.707)
      ..close()
      ..moveTo(9.176, 8.58)
      ..cubicTo(9.303, 8.259, 9.488, 7.976, 9.732, 7.732)
      ..cubicTo(9.976, 7.488, 10.259, 7.303, 10.58, 7.176)
      ..cubicTo(10.875, 7.059, 11.182, 7, 11.5, 7)
      ..cubicTo(11.818, 7, 12.125, 7.059, 12.42, 7.176)
      ..cubicTo(12.741, 7.303, 13.024, 7.488, 13.268, 7.732)
      ..cubicTo(13.512, 7.976, 13.697, 8.259, 13.824, 8.58)
      ..cubicTo(13.941, 8.875, 14, 9.182, 14, 9.5)
      ..lineTo(14, 11)
      ..cubicTo(14.276, 11, 14.512, 11.098, 14.707, 11.293)
      ..cubicTo(14.902, 11.488, 15, 11.724, 15, 12)
      ..lineTo(15, 15)
      ..cubicTo(15, 15.276, 14.902, 15.512, 14.707, 15.707)
      ..cubicTo(14.512, 15.902, 14.276, 16, 14, 16)
      ..lineTo(9, 16)
      ..cubicTo(8.724, 16, 8.488, 15.902, 8.293, 15.707)
      ..cubicTo(8.098, 15.512, 8, 15.276, 8, 15)
      ..lineTo(8, 12)
      ..cubicTo(8, 11.724, 8.098, 11.488, 8.293, 11.293)
      ..cubicTo(8.488, 11.098, 8.724, 11, 9, 11)
      ..lineTo(9, 9.5)
      ..cubicTo(9, 9.182, 9.059, 8.875, 9.176, 8.58)
      ..close()
      ..moveTo(13, 9.5)
      ..cubicTo(13, 9.309, 12.965, 9.125, 12.895, 8.948)
      ..cubicTo(12.818, 8.755, 12.707, 8.586, 12.561, 8.439)
      ..cubicTo(12.414, 8.293, 12.245, 8.182, 12.052, 8.105)
      ..cubicTo(11.875, 8.035, 11.691, 8, 11.5, 8)
      ..cubicTo(11.309, 8, 11.125, 8.035, 10.948, 8.105)
      ..cubicTo(10.755, 8.182, 10.586, 8.293, 10.439, 8.439)
      ..cubicTo(10.293, 8.586, 10.182, 8.755, 10.105, 8.948)
      ..cubicTo(10.035, 9.125, 10, 9.309, 10, 9.5)
      ..lineTo(10, 11)
      ..lineTo(13, 11)
      ..lineTo(13, 9.5)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_FileLockIconPainter old) => old.color != color;
}
```
