Key Square 2 Line Duotone icon
solar:key-square-2-line-duotone
The Key Square 2 Line Duotone icon (solar:key-square-2-line-duotone) is a free SVG icon from the Solar set by 480 Design. It is drawn on a 24 × 24 grid. Solar icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Solar
- Author
- 480 Design
- License
- CC-BY-4.0
- Size
- 24 × 24
- Category
- Security
- Tags
- keysquare, squareline, lineduotone, keysquarelineduotone
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-linejoin="round" d="M17.2606 11.4402C19.8781 11.4402 22 9.3269 22 6.72008C22 4.11325 19.8781 2 17.2606 2C14.643 2 12.5211 4.11325 12.5211 6.72008C12.5211 7.92754 13.0722 8.80569 13.0722 8.80569L7.3408 14.5137C7.08363 14.7698 6.72357 15.4358 7.3408 16.0505L8.00212 16.7091C8.25929 16.9286 8.90589 17.236 9.43495 16.7091L10.2065 15.9407C10.978 16.7091 11.8598 16.27 12.1904 15.8309C12.7415 15.0625 12.0802 14.2942 12.0802 14.2942L12.3007 14.0746C13.3588 15.1284 14.2846 14.5137 14.6153 14.0746C15.1664 13.3062 14.6153 12.5378 14.6153 12.5378C14.3948 12.0988 13.954 12.0988 14.505 11.5499L15.1664 10.8913C15.6954 11.3304 16.7829 11.4402 17.2606 11.4402Z"/><path d="M17.2605 8.36632C18.1736 8.36632 18.9138 7.62914 18.9138 6.71978C18.9138 5.81042 18.1736 5.07324 17.2605 5.07324C16.3474 5.07324 15.6072 5.81042 15.6072 6.71978C15.6072 7.62914 16.3474 8.36632 17.2605 8.36632Z" opacity=".5"/><path stroke-linecap="round" d="M22 14.993C21.9361 17.787 21.6692 19.419 20.5542 20.5341C19.0882 22 16.7288 22 12.0101 22C7.29127 22 4.93188 22 3.46594 20.5341C2 19.0681 2 16.7087 2 11.9899C2 7.27117 2 4.91177 3.46594 3.44584C4.58099 2.33078 6.21298 2.06388 9.00704 2" opacity=".5"/></g></svg>How to use the Key Square 2 Line Duotone icon
React
import { Icon } from "@iconify/react";
<Icon icon="solar:key-square-2-line-duotone" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="solar:key-square-2-line-duotone" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="solar:key-square-2-line-duotone" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[solar--key-square-2-line-duotone]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/solar -->
<div class="i-solar:key-square-2-line-duotone"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="solar:key-square-2-line-duotone"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/solar/key-square-2-line-duotone.svg" alt="Key Square 2 Line Duotone icon" width="24" height="24">Related icons in Solar
Key Square 2 Line Duotone icon FAQ
Is the Key Square 2 Line Duotone icon free for commercial use?
Yes. Solar icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Key Square 2 Line Duotone icon in React?
Install @iconify/react and render <Icon icon="solar:key-square-2-line-duotone" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Key Square 2 Line Duotone icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/solar/key-square-2-line-duotone.svg" alt="Key Square 2 Line Duotone icon">, or paste the SVG code inline to style it with CSS.