ICONYZ
English
Lock Off icon from Majesticons

Lock Off icon

majesticons:lock-off

The Lock Off icon (majesticons:lock-off) is a free SVG icon from the Majesticons set by Gerrit Halfmann. It is drawn on a 24 × 24 grid. Majesticons 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
Majesticons
Author
Gerrit Halfmann
License
MIT
Size
24 × 24
Tags
lockoff
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 fill="currentColor" fill-rule="evenodd" d="M7 7.828V9H6a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h12c.872 0 1.657-.372 2.205-.966l-7.223-7.223A1 1 0 0 1 13 14v3a1 1 0 1 1-2 0v-3a1 1 0 0 1 1.19-.982zm14 8.344V12a3 3 0 0 0-3-3h-1V7a5 5 0 0 0-8.62-3.449l1.415 1.415A3 3 0 0 1 15 7v2h-1.172z" clip-rule="evenodd"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m3 3l18 18"/></g></svg>

How to use the Lock Off icon

React

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

<Icon icon="majesticons:lock-off" width="24" />

Vue

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

<template>
  <Icon icon="majesticons:lock-off" width="24" />
</template>

Svelte

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

<Icon icon="majesticons:lock-off" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="majesticons:lock-off"></iconify-icon>

HTML image

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

Related icons in Majesticons

Lock Off icon in other icon sets

Lock Off icon FAQ

Is the Lock Off icon free for commercial use?

Yes. Majesticons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Lock Off icon in React?

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

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

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

Browse all Majesticons →