Key icon
openmoji:key
The Key icon (openmoji:key) is a free SVG icon from the OpenMoji set. It is drawn on a 72 × 72 grid. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- OpenMoji
- Author
- OpenMoji
- License
- CC-BY-SA-4.0
- Size
- 72 × 72
- Category
- Objects
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 72 72"><path fill="#f4aa41" d="M33.536 31.991c-1.402-4.288-.225-9.41 3.428-13.063c5.018-5.018 12.808-5.364 17.4-.773s4.244 12.381-.774 17.4c-4.057 4.056-10.434 5.512-14.268 2.588"/><path fill="#f4aa41" stroke="#f4aa41" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" d="m33.652 31.736l-2.434 2.451l-16.574 16.327v7.146h6.399v-4.576h5.011v-5.782h5.986l2.351-2.373v-4.302h1.971l3.09-3.09"/><path fill="#e27022" d="m15.985 53.346l.001-1.907l15.912-15.565l.952.974z"/><circle cx="48.52" cy="23.998" r="3.952" fill="#e27022"/><g fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"><path d="M30.735 34.656L14.303 50.681v7.24h7.565v-4.636h5.125v-5.858h5.098l2.405-2.404v-4.358h2.015"/><circle cx="48.52" cy="23.998" r="3.952"/><path d="M34.226 31.178c-1.43-4.238-.347-9.22 3.18-12.695c4.845-4.771 12.465-4.889 17.022-.263s4.322 12.244-.523 17.016c-3.917 3.857-9.648 4.673-14.108 2.4"/></g></svg>How to use the Key icon
React
import { Icon } from "@iconify/react";
<Icon icon="openmoji:key" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="openmoji:key" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="openmoji:key" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[openmoji--key]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/openmoji -->
<div class="i-openmoji:key"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="openmoji:key"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/openmoji/key.svg" alt="Key icon" width="24" height="24">Related icons in OpenMoji
Key icon in other icon sets
Key icon FAQ
Is the Key icon free for commercial use?
Yes. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.
How do I use the Key icon in React?
Install @iconify/react and render <Icon icon="openmoji: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/openmoji/key.svg" alt="Key icon">, or paste the SVG code inline to style it with CSS.