Key icon
flat-ui:key
The Key icon (flat-ui:key) is a free SVG icon from the Flat UI Icons set by Designmodo, Inc.. It is drawn on a 100 × 100 grid. Flat UI 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
- Flat UI Icons
- Author
- Designmodo, Inc.
- 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="#35495E" d="M50 0c27.613 0 50 22.386 50 50s-22.387 50-50 50C22.386 100 0 77.615 0 50S22.386 0 50 0"/><path fill="#F0C419" d="M54 20c-14.359 0-26 11.64-26 26c0 3.887.859 7.568 2.388 10.882l-3.534 3.533c-.913.913-.86 5.54-.867 5.608c-.04.041-4.297-.443-5.235.494l-1.879 1.961c-1.196 1.197-.924 5.596-.945 5.521l-.005.006c.014.003-4.301-.357-5.217.557l-2.111 2.112c-.936.937-.696 5.353-.682 5.343c.005-.006-4.482-.14-4.953.291C1.995 85.021 0 87.27 0 87.27l.018 12.756c0 .008 12.712-.023 12.712-.023l30.388-30.391A25.9 25.9 0 0 0 54 72c14.359 0 26-11.643 26-26c0-14.359-11.641-26-26-26m6.741 13.481a5.778 5.778 0 1 1 1.237 11.42a5.98 5.98 0 0 1-5.215-1.665a5.98 5.98 0 0 1-1.664-5.213a5.78 5.78 0 0 1 5.642-4.542"/><path fill="#F29C1F" d="M66.652 33.314a8.02 8.02 0 0 0-11.338 0a8.02 8.02 0 0 0 0 11.337a8.015 8.015 0 0 0 11.338 0a8.016 8.016 0 0 0 0-11.337M64.5 42.499a4.994 4.994 0 1 1-7.062-7.064a4.99 4.99 0 0 1 7.062 0a4.993 4.993 0 0 1 0 7.064M37.864 66.378a26 26 0 0 1-2.249-1.994L.018 99.98v.043c0 .002 1.887 0 4.206-.006z"/><path fill="#EBECED" d="M75.967 0C64.055 0 54.174 8.682 52.294 20.061A27 27 0 0 1 54 20c1.089 0 2.159.075 3.212.206c1.763-8.75 9.488-15.34 18.755-15.34c10.567 0 19.135 8.565 19.135 19.134c0 10.567-8.564 19.134-19.135 19.134c-6.839 0-12.822-3.6-16.207-8.996a4.96 4.96 0 0 0-2.324 1.296a4.93 4.93 0 0 0-1.246 2.158C60.518 43.877 67.76 48 75.967 48c13.254 0 24-10.745 24-24c0-13.254-10.744-24-24-24"/><path fill="#C8C9CB" d="M61.104 36.017a20 20 0 0 1-1.344-1.879a5 5 0 0 0-.627.198l-.006.002a5 5 0 0 0-.559.259l-.287.177l-.262.168q-.284.208-.543.458l-.074.073a5 5 0 0 0-.44.523l-.183.276l-.141.229a5.2 5.2 0 0 0-.449 1.088c.451.655.938 1.28 1.453 1.886z"/></svg>How to use the Key icon
React
import { Icon } from "@iconify/react";
<Icon icon="flat-ui:key" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="flat-ui:key" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="flat-ui:key" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[flat-ui--key]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/flat-ui -->
<div class="i-flat-ui:key"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="flat-ui:key"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/flat-ui/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. Flat UI 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="flat-ui: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/flat-ui/key.svg" alt="Key icon">, or paste the SVG code inline to style it with CSS.