Key Square Duotone icon
keyline-icons:key-square-duotone
The Key Square Duotone icon (keyline-icons:key-square-duotone) 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, squareduotone, keysquareduotone
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-linecap="round" stroke-linejoin="round" stroke-width="2"><path fill="currentColor" fill-opacity=".4" 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.7929Z" stroke="none"/><path d="M15 9L17 7"/></g></svg>How to use the Key Square Duotone icon
React
import { Icon } from "@iconify/react";
<Icon icon="keyline-icons:key-square-duotone" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="keyline-icons:key-square-duotone" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="keyline-icons:key-square-duotone" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--key-square-duotone]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:key-square-duotone"></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-duotone"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/keyline-icons/key-square-duotone.svg" alt="Key Square Duotone icon" width="24" height="24">Related icons in Keyline Icons
Key Square Duotone icon in other icon sets
Key Square Duotone icon FAQ
Is the Key Square Duotone 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 Duotone icon in React?
Install @iconify/react and render <Icon icon="keyline-icons:key-square-duotone" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Key Square Duotone 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-duotone.svg" alt="Key Square Duotone icon">, or paste the SVG code inline to style it with CSS.