ICONYZ
English
Keycap 2 icon from Emoji One (Monotone)

Keycap 2 icon

emojione-monotone:keycap-2

The Keycap 2 icon (emojione-monotone:keycap-2) is a free SVG icon from the Emoji One (Monotone) set by Emoji One. It is drawn on a 64 × 64 grid. Emoji One (Monotone) 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
Emoji One (Monotone)
Author
Emoji One
License
CC-BY-4.0
Size
64 × 64
Category
Symbols
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64"><path fill="currentColor" d="M52 2H12C6.479 2 2 6.477 2 12v40c0 5.523 4.479 10 10 10h40c5.523 0 10-4.477 10-10V12c0-5.523-4.477-10-10-10m5 43.666A8.33 8.33 0 0 1 48.668 54H15.334A8.334 8.334 0 0 1 7 45.666V12.334A8.334 8.334 0 0 1 15.334 4h33.334A8.33 8.33 0 0 1 57 12.334z"/><path fill="currentColor" d="M42 39.326V45H22a15.4 15.4 0 0 1 1.949-6.098q1.625-2.881 6.416-7.643q3.857-3.846 4.732-5.217q1.175-1.892 1.176-3.738q0-2.044-1.025-3.143c-1.025-1.099-1.627-1.098-2.832-1.098q-1.787 0-2.842 1.152q-1.057 1.153-1.219 3.826l-5.686-.609q.508-5.041 3.188-7.238q2.682-2.193 6.702-2.194q4.405 0 6.924 2.543C42.002 18.086 42 19.348 42 21.869q0 2.152-.721 4.098q-.72 1.947-2.283 4.076q-1.037 1.412-3.738 4.064q-2.699 2.654-3.42 3.523a10.5 10.5 0 0 0-1.168 1.695z"/></svg>

How to use the Keycap 2 icon

React

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

<Icon icon="emojione-monotone:keycap-2" width="24" />

Vue

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

<template>
  <Icon icon="emojione-monotone:keycap-2" width="24" />
</template>

Svelte

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

<Icon icon="emojione-monotone:keycap-2" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[emojione-monotone--keycap-2]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/emojione-monotone -->
<div class="i-emojione-monotone:keycap-2"></div>

Web component

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

<iconify-icon icon="emojione-monotone:keycap-2"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/emojione-monotone/keycap-2.svg" alt="Keycap 2 icon" width="24" height="24">

Related icons in Emoji One (Monotone)

Keycap 2 icon in other icon sets

Keycap 2 icon FAQ

Is the Keycap 2 icon free for commercial use?

Yes. Emoji One (Monotone) 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 Keycap 2 icon in React?

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

How do I add the Keycap 2 icon to a web page?

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

Browse all Emoji One (Monotone) icons →