ICONYZ
English
Unlock icon from Lets Icons

Unlock icon

lets-icons:unlock

The Unlock icon (lets-icons:unlock) is a free SVG icon from the Lets Icons set by Leonid Tsvetkov. It is drawn on a 24 × 24 grid. Lets Icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Lets Icons
Author
Leonid Tsvetkov
License
CC-BY-4.0
Size
24 × 24
Category
Secure
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path stroke="currentColor" stroke-width="2" d="M4 13c0-1.885 0-2.828.586-3.414S6.114 9 8 9h8c1.886 0 2.828 0 3.414.586S20 11.115 20 13v2c0 2.829 0 4.243-.879 5.122C18.243 21 16.828 21 14 21h-4c-2.828 0-4.243 0-5.121-.878C4 19.242 4 17.829 4 15z"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="m16.5 9l.078-.62a5.519 5.519 0 0 0-9.09-4.857l-.818.709"/><circle cx="12" cy="15" r="2" fill="currentColor"/></g></svg>

How to use the Unlock icon

React

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

<Icon icon="lets-icons:unlock" width="24" />

Vue

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

<template>
  <Icon icon="lets-icons:unlock" width="24" />
</template>

Svelte

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

<Icon icon="lets-icons:unlock" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[lets-icons--unlock]"></span>

UnoCSS

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

Web component

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

<iconify-icon icon="lets-icons:unlock"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/lets-icons/unlock.svg" alt="Unlock icon" width="24" height="24">

Related icons in Lets Icons

Unlock icon in other icon sets

Unlock icon FAQ

Is the Unlock icon free for commercial use?

Yes. Lets Icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Unlock icon in React?

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

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

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

Browse all Lets Icons →