ICONYZ
English
Lock Key icon from Huge Icons

Lock Key icon

hugeicons:lock-key

The Lock Key icon (hugeicons:lock-key) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge 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
Huge Icons
Author
Hugeicons
License
MIT
Size
24 × 24
Tags
lockkey
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" d="M18 10.997c-.392-.8-1.452-1.975-3.63-1.925c0 0-1.727-.075-3.68-.075c-1.952 0-2.866.045-4.43.075c-1.001-.025-2.904.2-3.78 2.275c-.576 1.75-.6 5.427-.25 7.277c.075.95.576 2.276 2.128 2.976c.95.5 2.478.3 3.63.4M5.984 8.196c-.05-2.375-.15-4.25 2.603-5.801c.926-.375 2.303-.7 4.005.1c1.777 1.075 1.999 2.213 2.153 2.5c.425 1.126.2 2.726.25 3.376"/><path d="M15.5 19.735a2.23 2.23 0 0 1-2.245 2.23c-1.236 0-2.255-.986-2.255-2.23a2.25 2.25 0 0 1 2.255-2.244c1.236 0 2.245 1 2.245 2.244Z"/><path stroke-linecap="round" d="m22 15.848l-1.627-1.54c-.773-.739-1.423-.093-1.747.183l-1.41 1.357l-1.991 1.943m1.99-1.943l1.61 1.546"/></g></svg>

How to use the Lock Key icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Huge Icons

Lock Key icon in other icon sets

Lock Key icon FAQ

Is the Lock Key icon free for commercial use?

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

How do I use the Lock Key icon in React?

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

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

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

Browse all Huge Icons →