Key icon
arcticons:key
The Key icon (arcticons:key) is a free SVG icon from the Arcticons set by Donnnno. It is drawn on a 48 × 48 grid. Arcticons 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
- Arcticons
- Author
- Donnnno
- License
- CC-BY-SA-4.0
- Size
- 48 × 48
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><circle cx="13.05" cy="24" r="8.55" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M43.5 32.55V24h0h-21.91m16.3 4.93V24"/></svg>How to use the Key icon
React
import { Icon } from "@iconify/react";
<Icon icon="arcticons:key" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="arcticons:key" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="arcticons:key" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[arcticons--key]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/arcticons -->
<div class="i-arcticons:key"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="arcticons:key"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/arcticons/key.svg" alt="Key icon" width="24" height="24">Related icons in Arcticons
Key icon in other icon sets
Key icon FAQ
Is the Key icon free for commercial use?
Yes. Arcticons 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="arcticons: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/arcticons/key.svg" alt="Key icon">, or paste the SVG code inline to style it with CSS.