Skip to content
tablericons

documents

File Lock icon

Download the File Lock icon as free SVG or PNG. Customize its outline stroke. Copy React, Vue or Svelte code.

  • locked
  • secure
  • private
  • protected
  • password
  • encrypted
  • confidential
  • document
  • security
  • file
Size
Stroke
Color
Download SVG

Press C to copy SVG, J for JSX, D to download.

Category
documents
Styles
Outline
Component
IconFileLock
License
MIT · Paweł Kuna

Code

Copy it the way you use it

file-lock.svg
<svg
  xmlns="http://www.w3.org/2000/svg"
  width="24"
  height="24"
  viewBox="0 0 24 24"
  fill="none"
  stroke="currentColor"
  stroke-width="2"
  stroke-linecap="round"
  stroke-linejoin="round"
 
>
  <path d="M14 3v4a1 1 0 0 0 1 1h4" />
  <path d="M13 21h-6a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v3" />
  <path d="M17 19a1 1 0 0 1 1 -1h3a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-3a1 1 0 0 1 -1 -1v-2" />
  <path d="M18 18v-1.5a1.5 1.5 0 1 1 3 0v1.5" />
</svg>

Use the File Lock icon

For a decorative icon beside text, add aria-hidden="true" to the SVG. For an icon-only control, put its accessible name on the button or link.

React example
import { IconFileLock } from '@tabler/icons-react';

<IconFileLock size={24} stroke={2} />
Read the React guide
Vue example
import { IconFileLock } from '@tabler/icons-vue';

<IconFileLock :size="24" :stroke="2" />
Read the Vue guide
Svelte 5 example
import { IconFileLock } from '@tabler/icons-svelte-runes';

<IconFileLock size={24} stroke={2} />
Read the Svelte guide

Related

Related icons

See all 176 documents icons