Lock Keyhole icon
hugeicons:lock-keyhole
The Lock Keyhole icon (hugeicons:lock-keyhole) 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
- lockkeyhole
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" stroke-linejoin="round" d="M16.496 9V6.5a4.5 4.5 0 1 0-9 0V9"/><path stroke-linecap="round" d="M13.496 9h-3c-2.334 0-3.502 0-4.386.472a4 4 0 0 0-1.642 1.643c-.472.883-.472 2.05-.472 4.386c0 2.334 0 3.501.473 4.385a4 4 0 0 0 1.642 1.642C6.995 22 8.162 22 10.496 22h3c2.334 0 3.502 0 4.385-.472a4 4 0 0 0 1.642-1.642c.473-.884.473-2.051.473-4.386s0-3.502-.473-4.386a4 4 0 0 0-1.642-1.642C16.998 9 15.831 9 13.496 9Z"/><circle cx="11.996" cy="15.5" r="2"/></g></svg>How to use the Lock Keyhole icon
React
import { Icon } from "@iconify/react";
<Icon icon="hugeicons:lock-keyhole" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="hugeicons:lock-keyhole" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="hugeicons:lock-keyhole" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--lock-keyhole]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:lock-keyhole"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="hugeicons:lock-keyhole"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/hugeicons/lock-keyhole.svg" alt="Lock Keyhole icon" width="24" height="24">Related icons in Huge Icons
Lock Keyhole icon in other icon sets
Lock Keyhole icon FAQ
Is the Lock Keyhole 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 Keyhole icon in React?
Install @iconify/react and render <Icon icon="hugeicons:lock-keyhole" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Lock Keyhole icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/hugeicons/lock-keyhole.svg" alt="Lock Keyhole icon">, or paste the SVG code inline to style it with CSS.