Key Square icon
hugeicons:key-square
The Key Square icon (hugeicons:key-square) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge 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
- Huge Icons
- Author
- Hugeicons
- License
- MIT
- Size
- 24 × 24
- Tags
- keysquare
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="m13.212 14.285l-3.41 3.432H7.776v2.037H5.754v2.036H2.212v-1.883c0-.829 0-1.243.157-1.615c.156-.372.452-.662 1.044-1.242l5.8-5.683"/><path d="m18.997 5.26l-.654-.652c-1.427-1.424-2.14-2.136-2.99-2.326a3 3 0 0 0-1.303-.001c-.85.188-1.564.899-2.994 2.32c-1.438 1.43-2.157 2.145-2.349 2.997a3 3 0 0 0-.001 1.31c.19.853.906 1.57 2.34 3.003l1.036 1.036c1.436 1.436 2.154 2.154 3.008 2.343c.43.096.877.095 1.307-.002c.854-.192 1.57-.913 3-2.354c1.423-1.433 2.134-2.15 2.32-3a3 3 0 0 0-.002-1.302c-.191-.85-.906-1.563-2.335-2.989z" clip-rule="evenodd"/><path stroke-linecap="round" stroke-linejoin="round" d="m15.212 5.79l3 3"/></g></svg>How to use the Key Square icon
React
import { Icon } from "@iconify/react";
<Icon icon="hugeicons:key-square" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="hugeicons:key-square" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="hugeicons:key-square" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--key-square]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:key-square"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="hugeicons:key-square"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/hugeicons/key-square.svg" alt="Key Square icon" width="24" height="24">Related icons in Huge Icons
key-01
key-02
key-generator-fob
key-round
keyboard
keyboard-off
keyframe
keyframe-add
keyframe-align-center
keyframe-align-horizontal
keyframe-align-vertical
keyframe-bottom
keyframe-left
keyframe-remove
keyframe-right
keyframe-top
keyframes-double
keyframes-double-add
keyframes-double-remove
keyframes-multiple
keyframes-multiple-add
keyframes-multiple-remove
Key Square icon in other icon sets
Key Square icon FAQ
Is the Key Square icon free for commercial use?
Yes. Huge Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Key Square icon in React?
Install @iconify/react and render <Icon icon="hugeicons:key-square" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Key Square icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/hugeicons/key-square.svg" alt="Key Square icon">, or paste the SVG code inline to style it with CSS.