Keyhole icon
whh:keyhole
The Keyhole icon (whh:keyhole) is a free SVG icon from the WebHostingHub Glyphs set by WebHostingHub. It is drawn on a 512 × 1024 grid. WebHostingHub Glyphs icons are released under the Open Font 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
- WebHostingHub Glyphs
- Author
- WebHostingHub
- License
- OFL-1.1
- Size
- 512 × 1024
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="1024" viewBox="0 0 512 1024"><path fill="currentColor" d="m363 488l149 472q0 27-18.5 45.5T448 1024H64q-26 0-45-18.5T0 960l149-472q-67-31-108-93.5T0 256Q0 150 75 75T256 0t181 75t75 181q0 76-41 138.5T363 488"/></svg>How to use the Keyhole icon
React
import { Icon } from "@iconify/react";
<Icon icon="whh:keyhole" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="whh:keyhole" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="whh:keyhole" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[whh--keyhole]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/whh -->
<div class="i-whh:keyhole"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="whh:keyhole"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/whh/keyhole.svg" alt="Keyhole icon" width="24" height="24">Keyhole icon in other icon sets
Keyhole icon FAQ
Is the Keyhole icon free for commercial use?
Yes. WebHostingHub Glyphs icons are released under the Open Font License, which allows use in personal and commercial projects.
How do I use the Keyhole icon in React?
Install @iconify/react and render <Icon icon="whh:keyhole" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Keyhole icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/whh/keyhole.svg" alt="Keyhole icon">, or paste the SVG code inline to style it with CSS.