ICONYZ
English
Key icon from Elegant

Key icon

et:key

The Key icon (et:key) is a free SVG icon from the Elegant set by Kenny Sing. It is drawn on a 32 × 32 grid. Elegant icons are released under the GPL 3.0 license, which allows use in personal and commercial projects; modified versions of the icon files must keep the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Elegant
Author
Kenny Sing
License
GPL-3.0-or-later
Size
32 × 32
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><g fill="currentColor"><path d="M14.683 14.698a.5.5 0 0 0 .33-.124L26.33 4.652l-.66-.752l-11.317 9.921a.5.5 0 0 0 .33.877"/><path d="M10.188 32C16.33 32 20 27.17 20 22.5c0-1.346-.322-2.829-.798-3.792l4.522-2.261A.5.5 0 0 0 24 16v-4h3l.113-.006c.666-.045.865-.257.887-.994V7h3c.129 0 .218.014.278.023c.121.019.347.054.543-.122c.202-.18.193-.408.185-.609Q32.001 6.186 32 6V1.469A1.47 1.47 0 0 0 30.531 0h-3.875a1.48 1.48 0 0 0-.969.364L12.5 11.924c-.649-.13-1.63-.299-2.313-.299C4.57 11.625 0 16.195 0 21.812S4.57 32 10.188 32m0-19.375c.501 0 1.359.12 2.354.328a.5.5 0 0 0 .432-.113L26.345 1.118A.47.47 0 0 1 26.656 1h3.875c.259 0 .469.21.469.469V6h-3.5a.5.5 0 0 0-.5.5V11h-3.5a.5.5 0 0 0-.5.5v4.191l-4.724 2.362a.5.5 0 0 0-.182.74c.44.607.906 2.114.906 3.707c0 4.178-3.296 8.5-8.812 8.5C5.122 31 1 26.878 1 21.812s4.122-9.187 9.188-9.187"/><path d="M8.5 27c1.93 0 3.5-1.57 3.5-3.5S10.43 20 8.5 20S5 21.57 5 23.5S6.57 27 8.5 27m0-6c1.378 0 2.5 1.122 2.5 2.5S9.878 26 8.5 26S6 24.878 6 23.5S7.122 21 8.5 21"/></g></svg>

How to use the Key icon

React

import { Icon } from "@iconify/react";

<Icon icon="et:key" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="et:key" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="et:key" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[et--key]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/et -->
<div class="i-et:key"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="et:key"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/et/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. Elegant icons are released under the GPL 3.0 license, which allows use in personal and commercial projects; modified versions of the icon files must keep the same license.

How do I use the Key icon in React?

Install @iconify/react and render <Icon icon="et: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/et/key.svg" alt="Key icon">, or paste the SVG code inline to style it with CSS.

Browse all Elegant icons →