Key Square Sharp icon
keyline-icons:key-square-sharp
The Key Square Sharp icon (keyline-icons:key-square-sharp) is a free SVG icon from the Keyline Icons set. It is drawn on a 24 × 24 grid. Keyline 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
- Keyline Icons
- Author
- Keyline Icons
- License
- MIT
- Size
- 24 × 24
- Tags
- keysquare, squaresharp, keysquaresharp
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="2" d="M6 14.5L2 18.5L2 22L5.5 22L7 20.5L9.5 20.5L9.5 18L12 18L12 15.5L13.5 14L22 14L22 2L10 2L10 10.5ZM14.7071 9.2929L17.2929 6.7071"/></svg>How to use the Key Square Sharp icon
React
import { Icon } from "@iconify/react";
<Icon icon="keyline-icons:key-square-sharp" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="keyline-icons:key-square-sharp" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="keyline-icons:key-square-sharp" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--key-square-sharp]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:key-square-sharp"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="keyline-icons:key-square-sharp"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/keyline-icons/key-square-sharp.svg" alt="Key Square Sharp icon" width="24" height="24">Related icons in Keyline Icons
Key Square Sharp icon FAQ
Is the Key Square Sharp icon free for commercial use?
Yes. Keyline Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Key Square Sharp icon in React?
Install @iconify/react and render <Icon icon="keyline-icons:key-square-sharp" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Key Square Sharp icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/keyline-icons/key-square-sharp.svg" alt="Key Square Sharp icon">, or paste the SVG code inline to style it with CSS.