ICONYZ
English
Key Square 2 Bold Duotone icon from Solar

Key Square 2 Bold Duotone icon

solar:key-square-2-bold-duotone

The Key Square 2 Bold Duotone icon (solar:key-square-2-bold-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, squarebold, boldduotone, keysquareboldduotone
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path d="M2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12Z" opacity=".5"/><path fill-rule="evenodd" d="M22 6.72008C22 9.3269 19.8781 11.4402 17.2606 11.4402C16.7829 11.4402 15.6954 11.3304 15.1664 10.8913L14.505 11.5499C14.1162 11.9372 14.2212 12.0512 14.3942 12.239C14.4664 12.3174 14.5504 12.4086 14.6153 12.5378C14.6153 12.5378 15.1664 13.3062 14.6153 14.0746C14.2846 14.5137 13.3588 15.1284 12.3007 14.0746L12.0802 14.2942C12.0802 14.2942 12.7415 15.0625 12.1904 15.8309C11.8598 16.27 10.978 16.7091 10.2065 15.9407L9.43495 16.7091C8.90589 17.236 8.25929 16.9286 8.00212 16.7091L7.3408 16.0505C6.72357 15.4358 7.08363 14.7698 7.3408 14.5137L13.0722 8.80569C13.0722 8.80569 12.5211 7.92754 12.5211 6.72008C12.5211 4.11325 14.643 2 17.2606 2C19.8781 2 22 4.11325 22 6.72008ZM18.914 6.72003C18.914 7.62938 18.1738 8.36656 17.2607 8.36656C16.3476 8.36656 15.6074 7.62938 15.6074 6.72003C15.6074 5.81067 16.3476 5.07349 17.2607 5.07349C18.1738 5.07349 18.914 5.81067 18.914 6.72003Z" clip-rule="evenodd"/></g></svg>

How to use the Key Square 2 Bold Duotone icon

React

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

<Icon icon="solar:key-square-2-bold-duotone" width="24" />

Vue

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

<template>
  <Icon icon="solar:key-square-2-bold-duotone" width="24" />
</template>

Svelte

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

<Icon icon="solar:key-square-2-bold-duotone" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[solar--key-square-2-bold-duotone]"></span>

UnoCSS

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

HTML image

<img src="https://iconyz.com/api/public/svg/solar/key-square-2-bold-duotone.svg" alt="Key Square 2 Bold Duotone icon" width="24" height="24">

Related icons in Solar

Key Square 2 Bold Duotone icon FAQ

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

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

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

Browse all Solar icons →