ICONYZ
English
File Lock 20 icon from Energy Icons

File Lock 20 icon

energy-icons:file-lock-20

The File Lock 20 icon (energy-icons:file-lock-20) is a free SVG icon from the Energy Icons set by Sam Passmore. It is drawn on a 20 × 20 grid. Energy 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
Energy Icons
Author
Sam Passmore
License
MIT
Size
20 × 20
Tags
filelock
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M15.333 11.034V5.208l-3.04-3.04H4.667v15.666h7.25a.5.5 0 1 1 0 1h-7.75a.5.5 0 0 1-.5-.5V1.668a.5.5 0 0 1 .5-.5H12.5l.098.01a.5.5 0 0 1 .255.136l3.333 3.333a.5.5 0 0 1 .147.354v6.033a.5.5 0 0 1-1 0"/><path fill="currentColor" d="M13 1.668v2.833h2.833v1H12.5a.5.5 0 0 1-.5-.5V1.668zm4.417 14.375a.125.125 0 0 0-.125-.125h-3.334a.125.125 0 0 0-.125.125v1.666c0 .069.056.125.125.125h3.334a.125.125 0 0 0 .125-.125zm1 1.666c0 .621-.504 1.125-1.125 1.125h-3.334a1.125 1.125 0 0 1-1.125-1.125v-1.666c0-.621.504-1.125 1.125-1.125h3.334c.621 0 1.125.504 1.125 1.125z"/><path fill="currentColor" d="M16.375 14.168a.73.73 0 0 0-.75-.75a.73.73 0 0 0-.75.75v1.25h-1v-1.25c0-.985.766-1.75 1.75-1.75s1.75.765 1.75 1.75v1.25h-1z"/></svg>

How to use the File Lock 20 icon

React

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

<Icon icon="energy-icons:file-lock-20" width="24" />

Vue

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

<template>
  <Icon icon="energy-icons:file-lock-20" width="24" />
</template>

Svelte

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

<Icon icon="energy-icons:file-lock-20" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="energy-icons:file-lock-20"></iconify-icon>

HTML image

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

Related icons in Energy Icons

File Lock 20 icon FAQ

Is the File Lock 20 icon free for commercial use?

Yes. Energy Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the File Lock 20 icon in React?

Install @iconify/react and render <Icon icon="energy-icons:file-lock-20" />, or use “Copy code” on this page to get a standalone React component.

How do I add the File Lock 20 icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/energy-icons/file-lock-20.svg" alt="File Lock 20 icon">, or paste the SVG code inline to style it with CSS.

Browse all Energy Icons →