Lock Unlock icon
si-glyph:lock-unlock
The Lock Unlock icon (si-glyph:lock-unlock) is a free SVG icon from the SmartIcons Glyph set by SmartIcons. It is drawn on a 17 × 24 grid. SmartIcons Glyph icons are released under the CC BY SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- SmartIcons Glyph
- Author
- SmartIcons
- License
- CC-BY-SA-4.0
- Size
- 17 × 24
- Tags
- lockunlock
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="17" height="24" viewBox="0 0 17 24"><path fill="currentColor" fill-rule="evenodd" d="M12.927 0c-2.148 0-3.896 1.802-3.896 4.017v1.662a5.4 5.4 0 0 0-2.552-.651a5.457 5.457 0 0 0-5.458 5.458a5.458 5.458 0 1 0 10.916 0a5.4 5.4 0 0 0-1-3.106V4.018c0-1.112.943-2.017 1.989-2.017h.177c1.046 0 1.896.904 1.896 2.017v2.883h2V4.018C17 1.802 15.252 0 13.104 0zM7.416 11.467l2.578-.753a3.53 3.53 0 0 1-3.515 3.312a3.539 3.539 0 1 1 0-7.076A3.53 3.53 0 0 1 10 10.299l-2.573-.781a1.35 1.35 0 0 0-.947-.388a1.358 1.358 0 0 0-.001 2.716c.363 0 .693-.147.937-.379"/></svg>How to use the Lock Unlock icon
React
import { Icon } from "@iconify/react";
<Icon icon="si-glyph:lock-unlock" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="si-glyph:lock-unlock" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="si-glyph:lock-unlock" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[si-glyph--lock-unlock]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/si-glyph -->
<div class="i-si-glyph:lock-unlock"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="si-glyph:lock-unlock"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/si-glyph/lock-unlock.svg" alt="Lock Unlock icon" width="24" height="24">Related icons in SmartIcons Glyph
Lock Unlock icon in other icon sets
Lock Unlock icon FAQ
Is the Lock Unlock icon free for commercial use?
Yes. SmartIcons Glyph icons are released under the CC BY SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.
How do I use the Lock Unlock icon in React?
Install @iconify/react and render <Icon icon="si-glyph:lock-unlock" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Lock Unlock icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/si-glyph/lock-unlock.svg" alt="Lock Unlock icon">, or paste the SVG code inline to style it with CSS.