Key icon
pinhead:key
The Key icon (pinhead:key) is a free SVG icon from the Pinhead Map Icons set by Quincy Morgan. It is drawn on a 15 × 15 grid. Pinhead Map Icons are released under the CC0 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
- Pinhead Map Icons
- Author
- Quincy Morgan
- License
- CC0-1.0
- Size
- 15 × 15
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><path fill="currentColor" d="M5.44.24L7.29 2.1c.91.91 1.17 2.22.82 3.42L14 11.4V14h-2.61l.08-2.53l-2.54.06l.08-2.52l-2.54.07l-.95-.96C4.31 8.46 3 8.2 2.09 7.3L.24 5.45c-.33-.34-.32-.91.04-1.27l3.9-3.9c.36-.35.92-.37 1.26-.04M2.81 4.12c-.36.35-.37.92-.04 1.26c.35.34.92.32 1.27-.03l1.3-1.3c.36-.36.38-.93.04-1.27s-.91-.33-1.27.04z"/></svg>How to use the Key icon
React
import { Icon } from "@iconify/react";
<Icon icon="pinhead:key" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="pinhead:key" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="pinhead:key" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[pinhead--key]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/pinhead -->
<div class="i-pinhead:key"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="pinhead:key"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/pinhead/key.svg" alt="Key icon" width="24" height="24">Related icons in Pinhead Map Icons
Key icon in other icon sets
Key icon FAQ
Is the Key icon free for commercial use?
Yes. Pinhead Map Icons are released under the CC0 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="pinhead: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/pinhead/key.svg" alt="Key icon">, or paste the SVG code inline to style it with CSS.