Key icon
ls:key
The Key icon (ls:key) is a free SVG icon from the Ligature Symbols set by Kazuyuki Motoyama. It is drawn on a 717 × 730 grid. Ligature Symbols 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
- Ligature Symbols
- Author
- Kazuyuki Motoyama
- License
- OFL-1.1
- Size
- 717 × 730
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="717" height="730" viewBox="0 0 717 730"><path fill="currentColor" d="m318 483l-39-40s-111 43-223-68c-95-95-53-244 9-305c66-66 207-106 310-3s59 225 59 225l283 282l-8 147l-144 9l-8-72l-75-9l-7-75l-74-10l-11-72zM104 110c-44 44-56 103-27 131c29 29 87 17 131-27s57-103 28-131c-28-29-88-17-132 27m579 520l2-42l-269-269l-22 22z"/></svg>How to use the Key icon
React
import { Icon } from "@iconify/react";
<Icon icon="ls:key" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ls:key" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ls:key" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ls--key]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ls -->
<div class="i-ls:key"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ls:key"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ls/key.svg" alt="Key icon" width="24" height="24">Related icons in Ligature Symbols
Key icon in other icon sets
Key icon FAQ
Is the Key icon free for commercial use?
Yes. Ligature Symbols 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="ls: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/ls/key.svg" alt="Key icon">, or paste the SVG code inline to style it with CSS.