Lock Unlocked icon
roentgen:lock-unlocked
The Lock Unlocked icon (roentgen:lock-unlocked) is a free SVG icon from the Röntgen set by Sergey Vartanov. It is drawn on a 24 × 24 grid. Röntgen 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
- Röntgen
- Author
- Sergey Vartanov
- License
- CC-BY-4.0
- Size
- 24 × 24
- Tags
- lockunlocked
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12 2c-1.099 0-2 .901-2 2v3H5c-.554 0-1 .446-1 1v4c0 .554.446 1 1 1h6c.554 0 1-.446 1-1V8c0-.554-.446-1-1-1V4c0-.558.442-1 1-1s1 .442 1 1v.5a.5.5 0 0 0 .5.5a.5.5 0 0 0 .5-.5v-.531A2.01 2.01 0 0 0 12 2M8 8.5a1 1 0 0 1 1 1a1 1 0 0 1-.5.863V11.5a.499.499 0 1 1-1 0v-1.137A1 1 0 0 1 7 9.5a1 1 0 0 1 1-1"/></svg>How to use the Lock Unlocked icon
React
import { Icon } from "@iconify/react";
<Icon icon="roentgen:lock-unlocked" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="roentgen:lock-unlocked" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="roentgen:lock-unlocked" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[roentgen--lock-unlocked]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/roentgen -->
<div class="i-roentgen:lock-unlocked"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="roentgen:lock-unlocked"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/roentgen/lock-unlocked.svg" alt="Lock Unlocked icon" width="24" height="24">Related icons in Röntgen
Lock Unlocked icon in other icon sets
Lock Unlocked icon FAQ
Is the Lock Unlocked icon free for commercial use?
Yes. Röntgen 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 Lock Unlocked icon in React?
Install @iconify/react and render <Icon icon="roentgen:lock-unlocked" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Lock Unlocked icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/roentgen/lock-unlocked.svg" alt="Lock Unlocked icon">, or paste the SVG code inline to style it with CSS.