ICONYZ
English
Key2 icon from IcoMoon Free

Key2 icon

icomoon-free:key2

The Key2 icon (icomoon-free:key2) is a free SVG icon from the IcoMoon Free set by Keyamoon. It is drawn on a 24 × 24 grid. IcoMoon Free icons are released under the GPL license, which allows use in personal and commercial projects; modified versions of the icon files must keep the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
IcoMoon Free
Author
Keyamoon
License
GPL-3.0-or-later
Size
24 × 24
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="m15.658 4.91l-1.58-1.58l-1.409-1.409l-1.58-1.58c-.387-.387-1.077-.456-1.533-.152l-4.319 2.88a1.16 1.16 0 0 0-.383 1.444l1.101 2.203q.052.101.115.213L.499 12.5l-.5 3.5h3v-1h2v-2h2v-2h2V9.888q.151.09.284.157l2.203 1.101c.49.245 1.14.072 1.444-.383l2.88-4.319c.304-.456.236-1.146-.152-1.533zM2.354 13.354l-.707-.707l4.868-4.868l.707.707zm11.974-6.733l-.707.707a.5.5 0 0 1-.707 0L8.671 3.085a.5.5 0 0 1 0-.707l.707-.707a.5.5 0 0 1 .707 0l4.243 4.243a.5.5 0 0 1 0 .707"/></svg>

How to use the Key2 icon

React

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

<Icon icon="icomoon-free:key2" width="24" />

Vue

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

<template>
  <Icon icon="icomoon-free:key2" width="24" />
</template>

Svelte

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

<Icon icon="icomoon-free:key2" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[icomoon-free--key2]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/icomoon-free -->
<div class="i-icomoon-free:key2"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="icomoon-free:key2"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/icomoon-free/key2.svg" alt="Key2 icon" width="24" height="24">

Key2 icon in other icon sets

Key2 icon FAQ

Is the Key2 icon free for commercial use?

Yes. IcoMoon Free icons are released under the GPL license, which allows use in personal and commercial projects; modified versions of the icon files must keep the same license.

How do I use the Key2 icon in React?

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

How do I add the Key2 icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/icomoon-free/key2.svg" alt="Key2 icon">, or paste the SVG code inline to style it with CSS.

Browse all IcoMoon Free icons →