Key icon
whh:key
The Key icon (whh:key) is a free SVG icon from the WebHostingHub Glyphs set by WebHostingHub. It is drawn on a 1025 × 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
- 1025 × 1024
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="1025" height="1024" viewBox="0 0 1025 1024"><path fill="currentColor" d="m955.48 852l-103 103q-69 69-167 69t-167.5-69t-69.5-167t69-167l38-38l-171-172l-83 83q-18 18-44 17t-45-20t-20-45t17-44l83-82l-101-101l-82 83q-18 18-44 17t-45-20t-20-45t17-44l82-82l-19-19q-17-18-16.5-44t19.5-45t45.5-20t43.5 17l478 477q69-51 156-44.5t149 68.5q69 69 69 167t-69 167m-91-243q-33-33-79.5-33t-79.5 33l-96 96q-33 33-33 79.5t33 79.5t80 33t80-33l95-95q33-33 33-80t-33-80"/></svg>How to use the Key icon
React
import { Icon } from "@iconify/react";
<Icon icon="whh:key" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="whh:key" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="whh:key" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[whh--key]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/whh -->
<div class="i-whh:key"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="whh:key"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/whh/key.svg" alt="Key icon" width="24" height="24">Related icons in WebHostingHub Glyphs
Key icon in other icon sets
Key icon FAQ
Is the Key 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 Key icon in React?
Install @iconify/react and render <Icon icon="whh:key" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Key icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/whh/key.svg" alt="Key icon">, or paste the SVG code inline to style it with CSS.