Keychain icon
carbon:keychain
The Keychain icon (carbon:keychain) is a free SVG icon from the Carbon set by IBM. It is drawn on a 32 × 32 grid. Carbon icons are released under the Apache 2.0 license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M23 5c-1.05 0-2.07.23-3 .68c-.93-.45-1.95-.68-3-.68c-3.86 0-7 3.14-7 7c0 .48.05.96.15 1.43L2 21.59V27h4v-2H4v-2.59l7.66-7.65l.76-.76a4.9 4.9 0 0 1-.42-2c0-2.76 2.24-5 5-5c.35 0 .69.03 1.02.11c-2.06 2.05-2.2 4.7-1.87 6.33L8 21.59V27h5.41l8.16-8.15c.46.1.94.15 1.43.15c3.86 0 7-3.14 7-7s-3.14-7-7-7m0 12a4.8 4.8 0 0 1-1.99-.42l-.72.71l-.03.03L12.59 25H10v-2.59l7.96-7.96l.43-.44l-.18-.58c-.05-.14-1.11-3.62 2.26-5.74A4.9 4.9 0 0 1 23 7c2.76 0 5 2.24 5 5s-2.24 5-5 5m-1.5-5a1.5 1.5 0 1 1 3 0a1.5 1.5 0 0 1-3 0"/></svg>How to use the Keychain icon
React
import { Icon } from "@iconify/react";
<Icon icon="carbon:keychain" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="carbon:keychain" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="carbon:keychain" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[carbon--keychain]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/carbon -->
<div class="i-carbon:keychain"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="carbon:keychain"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/carbon/keychain.svg" alt="Keychain icon" width="24" height="24">Keychain icon in other icon sets
Keychain icon FAQ
Is the Keychain icon free for commercial use?
Yes. Carbon icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Keychain icon in React?
Install @iconify/react and render <Icon icon="carbon:keychain" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Keychain icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/carbon/keychain.svg" alt="Keychain icon">, or paste the SVG code inline to style it with CSS.