Key icon
el:key
The Key icon (el:key) is a free SVG icon from the Elusive Icons set by Team Redux. It is drawn on a 1200 × 1200 grid. Elusive 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
- Elusive Icons
- Author
- Team Redux
- License
- OFL-1.1
- Size
- 1200 × 1200
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="1200" viewBox="0 0 1200 1200"><path fill="currentColor" d="M328.261 271.758C146.977 271.758 0 418.697 0 599.981c0 181.283 146.977 328.261 328.261 328.261c161.72 0 296.083-116.959 323.206-270.903c.306.017.605.064.912.076h126.386v182.46h139.538v-182.46h65.796v264.068h139.538V657.414H1200V517.878H647.095c-.322.026-.63.048-.95.076c-36.424-141.583-164.926-246.196-317.884-246.196m0 151.853c97.415 0 176.37 78.955 176.37 176.37c0 97.414-78.955 176.407-176.37 176.407s-176.408-78.993-176.408-176.407s78.994-176.37 176.408-176.37"/></svg>How to use the Key icon
React
import { Icon } from "@iconify/react";
<Icon icon="el:key" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="el:key" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="el:key" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[el--key]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/el -->
<div class="i-el:key"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="el:key"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/el/key.svg" alt="Key icon" width="24" height="24">Key icon in other icon sets
Key icon FAQ
Is the Key icon free for commercial use?
Yes. Elusive 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="el: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/el/key.svg" alt="Key icon">, or paste the SVG code inline to style it with CSS.