ICONYZ
English
File Lock icon from Huge Icons

File Lock icon

hugeicons:file-lock

The File Lock icon (hugeicons:file-lock) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge 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
Huge Icons
Author
Hugeicons
License
MIT
Size
24 × 24
Tags
filelock
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M4.5 11.004V9.459c0-3.246 0-4.87.886-5.969a4 4 0 0 1 .603-.604C7.09 2 8.711 2 11.956 2c.705 0 1.058 0 1.381.114a2 2 0 0 1 .197.082c.31.148.559.397 1.058.896l4.736 4.739c.579.578.867.867 1.02 1.235c.152.368.152.777.152 1.595v3.344c0 3.773 0 5.66-1.172 6.832c-.943.943-2.348 1.127-4.828 1.163m-1-19.5V3c0 2.83 0 4.245.879 5.124c.878.879 2.293.879 5.121.879h.5"/><path d="M9 17.5V16a2 2 0 1 0-4 0v1.5m4 0H5m4 0a1.5 1.5 0 0 1 1.5 1.5v.75c0 .699 0 1.048-.114 1.324a1.5 1.5 0 0 1-.812.812C9.298 22 8.949 22 8.25 22h-2.5c-.699 0-1.048 0-1.324-.114a1.5 1.5 0 0 1-.812-.812c-.114-.276-.114-.625-.114-1.324V19A1.5 1.5 0 0 1 5 17.5"/></g></svg>

How to use the File Lock icon

React

import { Icon } from "@iconify/react";

<Icon icon="hugeicons:file-lock" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="hugeicons:file-lock" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="hugeicons:file-lock" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--file-lock]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:file-lock"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="hugeicons:file-lock"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/hugeicons/file-lock.svg" alt="File Lock icon" width="24" height="24">

Related icons in Huge Icons

File Lock icon in other icon sets

File Lock icon FAQ

Is the File Lock icon free for commercial use?

Yes. Huge 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="hugeicons: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/hugeicons/file-lock.svg" alt="File Lock icon">, or paste the SVG code inline to style it with CSS.

Browse all Huge Icons →