File Lock icon
andrsrxn:file-lock
The File Lock icon (andrsrxn:file-lock) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- andrsrxn/icons
- Author
- Andrés Raxón
- License
- MIT
- Size
- 24 × 24
- Category
- Documents
- Tags
- filelock
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="M7.67 22.2c-1.88 0-2.82 0-3.4-.6c-.6-.58-.6-1.52-.6-3.4V5.76c0-1.87 0-2.8.58-3.39c.58-.58 1.52-.59 3.38-.6l2.22-.03c1.3-.02 1.96-.02 2.44.26a2 2 0 0 1 .69.69c.29.47.29 1.13.29 2.43c0 1.29 0 1.93.28 2.4a2 2 0 0 0 .69.69c.47.29 1.12.29 2.4.29c1.3 0 1.94 0 2.42.28a2 2 0 0 1 .68.68c.29.48.29 1.13.29 2.42v5.66H17.8l-.28.03l-.17.04c-.52.12-.78.18-1 .29a2 2 0 0 0-1 1.17c-.07.23-.1.5-.13 1.03l-.15 2.08h-7.4" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M20.03 11.5v-1.26c0-1.25 0-1.87-.24-2.43s-.68-1-1.57-1.87L17.04 4.8l-1.23-1.23c-.87-.87-1.3-1.3-1.85-1.53s-1.17-.23-2.4-.23H9.68c-2.82 0-4.24 0-5.12.88S3.67 5 3.67 7.81v8.38c0 2.83 0 4.24.88 5.12s2.3.88 5.12.88h1.24"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M13.07 2.33v2.44c0 1.89 0 2.83.58 3.42c.59.58 1.53.58 3.42.58h2.45"/><rect width="6.39" height="4.77" x="14.95" y="17.54" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" rx="1"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m19.94 17.54l-.16-1.34a1.63 1.63 0 0 0-3.23-.01l-.17 1.35"/></g></svg>How to use the File Lock icon
React
import { Icon } from "@iconify/react";
<Icon icon="andrsrxn:file-lock" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="andrsrxn:file-lock" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="andrsrxn:file-lock" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--file-lock]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:file-lock"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="andrsrxn:file-lock"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/andrsrxn/file-lock.svg" alt="File Lock icon" width="24" height="24">Related icons in andrsrxn/icons
File Lock icon in other icon sets
File Lock icon FAQ
Is the File Lock icon free for commercial use?
Yes. andrsrxn/icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the File Lock icon in React?
Install @iconify/react and render <Icon icon="andrsrxn:file-lock" />, or use “Copy code” on this page to get a standalone React component.
How do I add the File Lock icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/andrsrxn/file-lock.svg" alt="File Lock icon">, or paste the SVG code inline to style it with CSS.