Unlock 2 icon
icons8:unlock-2
The Unlock 2 icon (icons8:unlock-2) is a free SVG icon from the Icons8 Windows 10 Icons set by Icons8. It is drawn on a 32 × 32 grid. Icons8 Windows 10 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
- Icons8 Windows 10 Icons
- Author
- Icons8
- License
- MIT
- Size
- 32 × 32
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M16 3c-3.036 0-5.584 1.966-6.625 4.625l1.844.75C11.977 6.435 13.835 5 16 5c2.755 0 5 2.245 5 5v1.375C19.525 10.515 17.826 10 16 10c-5.51 0-10 4.49-10 10s4.49 10 10 10s10-4.49 10-10a9.97 9.97 0 0 0-3-7.125V10c0-3.845-3.155-7-7-7m0 9c4.43 0 8 3.57 8 8s-3.57 8-8 8s-8-3.57-8-8s3.57-8 8-8m0 6a2 2 0 0 0-2 2c0 .74.403 1.373 1 1.72V25h2v-3.28c.597-.347 1-.98 1-1.72a2 2 0 0 0-2-2"/></svg>How to use the Unlock 2 icon
React
import { Icon } from "@iconify/react";
<Icon icon="icons8:unlock-2" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="icons8:unlock-2" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="icons8:unlock-2" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[icons8--unlock-2]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/icons8 -->
<div class="i-icons8:unlock-2"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="icons8:unlock-2"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/icons8/unlock-2.svg" alt="Unlock 2 icon" width="24" height="24">Unlock 2 icon in other icon sets
Unlock 2 icon FAQ
Is the Unlock 2 icon free for commercial use?
Yes. Icons8 Windows 10 Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Unlock 2 icon in React?
Install @iconify/react and render <Icon icon="icons8:unlock-2" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Unlock 2 icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/icons8/unlock-2.svg" alt="Unlock 2 icon">, or paste the SVG code inline to style it with CSS.