ICONYZ
English
Lock icon from Elusive Icons

Lock icon

el:lock

The Lock icon (el:lock) is a free SVG icon from the Elusive Icons set by Team Redux. It is drawn on a 1200 × 1200 grid. Elusive Icons are released under the Open Font 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
Elusive Icons
Author
Team Redux
License
OFL-1.1
Size
1200 × 1200
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="1200" viewBox="0 0 1200 1200"><path fill="currentColor" d="M592.09.004C442.66-.708 311.458 88.89 248.073 228.885c-32.601 77.731-30.662 184.188-29.15 277.147H52.297V1200h1095.406V506.032h-181.2V374.417c0-51.599-10.623-99.226-30.469-145.532C878.015 95.938 741.52.716 592.09.004m0 220.971c87.291 2.317 150.961 67.954 154.76 152.124v132.933H438.575V374.417c8.239-91.624 66.223-155.759 153.515-153.442"/></svg>

How to use the Lock icon

React

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

<Icon icon="el:lock" width="24" />

Vue

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

<template>
  <Icon icon="el:lock" width="24" />
</template>

Svelte

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

<Icon icon="el:lock" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="el:lock"></iconify-icon>

HTML image

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

Related icons in Elusive Icons

Lock icon in other icon sets

Lock icon FAQ

Is the Lock icon free for commercial use?

Yes. Elusive Icons are released under the Open Font License, which allows use in personal and commercial projects.

How do I use the Lock icon in React?

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

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

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

Browse all Elusive Icons →