ICONYZ
English
Key Lock icon from andrsrxn/icons

Key Lock icon

andrsrxn:key-lock

The Key Lock icon (andrsrxn:key-lock) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/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
andrsrxn/icons
Author
Andrés Raxón
License
MIT
Size
24 × 24
Category
Security
Tags
keylock
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" d="M1.65 12a10.35 10.35 0 1 0 20.7 0a10.35 10.35 0 0 0-20.7 0m7.48-2.87a2.87 2.87 0 0 1 5.74 0c0 .91-1.1 2.25-1.1 2.25c.36 1.33 1.44 5.47 1.1 5.92c-.35.45-2.87.45-2.87.45s-2.52 0-2.87-.45c-.34-.45.74-4.6 1.1-5.92c0 0-1.1-1.34-1.1-2.25" opacity=".2"/><circle cx="12" cy="12" r="10.35" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" transform="rotate(90 12 12)"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12 6.25a2.87 2.87 0 0 0-2.87 2.88c0 .91.56 1.77 1.3 2.25l-1.12 3.8c-.35 1.18-.52 1.77-.22 2.17s.91.4 2.14.4h1.56c1.22 0 1.83 0 2.13-.4s.13-.98-.2-2.15l-1.1-3.82a2.8 2.8 0 0 0 1.25-2.25A2.87 2.87 0 0 0 12 6.25"/></g></svg>

How to use the Key Lock icon

React

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

<Icon icon="andrsrxn:key-lock" width="24" />

Vue

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

<template>
  <Icon icon="andrsrxn:key-lock" width="24" />
</template>

Svelte

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

<Icon icon="andrsrxn:key-lock" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="andrsrxn:key-lock"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/andrsrxn/key-lock.svg" alt="Key Lock icon" width="24" height="24">

Related icons in andrsrxn/icons

Key Lock icon in other icon sets

Key Lock icon FAQ

Is the Key Lock icon free for commercial use?

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

How do I use the Key Lock icon in React?

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

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

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

Browse all andrsrxn/icons →