ICONYZ
English
Key icon from SmartIcons Glyph

Key icon

si-glyph:key

The Key icon (si-glyph:key) is a free SVG icon from the SmartIcons Glyph set by SmartIcons. It is drawn on a 17 × 24 grid. SmartIcons Glyph 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
SmartIcons Glyph
Author
SmartIcons
License
CC-BY-SA-4.0
Size
17 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="17" height="24" viewBox="0 0 17 24"><path fill="currentColor" fill-rule="evenodd" d="M9.885.764C8.678 1.971 8.862 3.473 9.609 4.22l1.121 1.121l-9.496 9.497c-.246.246-.229.667.041.937s.689.288.937.04l1.387-1.386l1.556 1.555l.534-.532l.444-.446l.533-.532l-1.556-1.557l1.355-1.355l1.066 1.066l.979-.979l-1.065-1.065l4.263-4.265l1.121 1.121c.783.783 2.434.748 3.457-.275s.82-2.748.111-3.458L13.176.488c-.592-.593-2.248-.767-3.291.276m5.42 3.969c.297.297-.162 1.12-.27 1.228c-.104.104-.926.562-1.224.265l-2.946-2.945c-.297-.297.162-1.118.268-1.224c.107-.107.929-.565 1.226-.27z"/></svg>

How to use the Key icon

React

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

<Icon icon="si-glyph:key" width="24" />

Vue

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

<template>
  <Icon icon="si-glyph:key" width="24" />
</template>

Svelte

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

<Icon icon="si-glyph:key" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="si-glyph:key"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/si-glyph/key.svg" alt="Key icon" width="24" height="24">

Related icons in SmartIcons Glyph

Key icon in other icon sets

Key icon FAQ

Is the Key icon free for commercial use?

Yes. SmartIcons Glyph 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="si-glyph: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/si-glyph/key.svg" alt="Key icon">, or paste the SVG code inline to style it with CSS.

Browse all SmartIcons Glyph icons →