ICONYZ
English
Key Square Fill icon from Keyline Icons

Key Square Fill icon

keyline-icons:key-square-fill

The Key Square Fill icon (keyline-icons:key-square-fill) 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, squarefill, keysquarefill
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M5.2929 13.7929L1.5858 17.5C1.2107 17.8751 1 18.3838 1 18.9142L1 20C1 21.6569 2.3431 23 4 23L5.0858 23C5.6162 23 6.1249 22.7893 6.5 22.4142L7.4142 21.5L9 21.5C9.8284 21.5 10.5 20.8284 10.5 20L10.5 19L11.5 19C12.3284 19 13 18.3284 13 17.5L13 15.9142L13.9142 15L19 15C21.2091 15 23 13.2091 23 11L23 5C23 2.7909 21.2091 1 19 1L13 1C10.7909 1 9 2.7909 9 5L9 10.0858L5.2929 13.7929ZM14.2929 8.2929L16.2929 6.2929C16.4804 6.1054 16.7348 6 17 6C17.5523 6 18 6.4477 18 7C18 7.2652 17.8946 7.5196 17.7071 7.7071L15.7071 9.7071C15.5196 9.8946 15.2652 10 15 10C14.4477 10 14 9.5523 14 9C14 8.7348 14.1054 8.4804 14.2929 8.2929Z"/></svg>

How to use the Key Square Fill icon

React

import { Icon } from "@iconify/react";

<Icon icon="keyline-icons:key-square-fill" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="keyline-icons:key-square-fill" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="keyline-icons:key-square-fill" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--key-square-fill]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:key-square-fill"></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-fill"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/keyline-icons/key-square-fill.svg" alt="Key Square Fill icon" width="24" height="24">

Related icons in Keyline Icons

Key Square Fill icon FAQ

Is the Key Square Fill 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 Fill icon in React?

Install @iconify/react and render <Icon icon="keyline-icons:key-square-fill" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Key Square Fill 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-fill.svg" alt="Key Square Fill icon">, or paste the SVG code inline to style it with CSS.

Browse all Keyline Icons →