Key icon
foundation:key
The Key icon (foundation:key) is a free SVG icon from the Foundation set by Zurb. It is drawn on a 100 × 100 grid. Foundation icons are released under the MIT 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
- Foundation
- Author
- Zurb
- License
- MIT
- Size
- 100 × 100
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="currentColor" d="M93.481 44.925a1.88 1.88 0 0 0-1.882-1.709H52.128c-2.601-9.968-11.654-17.354-22.426-17.354C16.907 25.862 6.5 36.269 6.5 49.064c0 12.798 10.407 23.202 23.202 23.202c11.445 0 20.953-8.332 22.84-19.242h8.79v12.517h.014a1.893 1.893 0 0 0 1.886 1.758c.026 0 .049-.006.075-.007v.011h6.1V67.3a1.89 1.89 0 0 0 1.886-1.758h.016V53.025h4.979v19.353h.015a1.9 1.9 0 0 0 1.887 1.76l.021-.002h6.112l.021.002a1.9 1.9 0 0 0 1.887-1.76h.015V53.024h5.355v-.002a1.903 1.903 0 0 0 1.9-1.901H93.5v-6.197h-.019zM29.702 62.532c-7.338 0-13.308-5.974-13.308-13.311c0-7.338 5.97-13.311 13.308-13.311c7.337 0 13.304 5.973 13.304 13.311c.001 7.338-5.967 13.311-13.304 13.311"/></svg>How to use the Key icon
React
import { Icon } from "@iconify/react";
<Icon icon="foundation:key" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="foundation:key" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="foundation:key" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[foundation--key]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/foundation -->
<div class="i-foundation:key"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="foundation:key"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/foundation/key.svg" alt="Key icon" width="24" height="24">Key icon in other icon sets
Key icon FAQ
Is the Key icon free for commercial use?
Yes. Foundation icons are released under the MIT 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="foundation: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/foundation/key.svg" alt="Key icon">, or paste the SVG code inline to style it with CSS.