Keycap icon
glyphs:keycap
The Keycap icon (glyphs:keycap) is a free SVG icon from the Glyphs set by Goran Spasojevic. It is drawn on a 80 × 80 grid. Glyphs 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
- Glyphs
- Author
- Goran Spasojevic
- License
- MIT
- Size
- 80 × 80
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M21.396 12.982L10.91 21.348L8 69.5h64l-2.91-48.152l-10.486-8.366a139.4 139.4 0 0 1-37.208 0"/><path d="M56.133 13.292a2.024 2.024 0 0 1 2.263 1.909l1.328 29.214a1.964 1.964 0 0 1-1.467 2.001a73.9 73.9 0 0 1-36.513 0a1.964 1.964 0 0 1-1.467-2.001l1.328-29.214a2.024 2.024 0 0 1 2.262-1.909M8 69.5l12.31-24.62M72 69.5L59.69 44.88"/></g></svg>How to use the Keycap icon
React
import { Icon } from "@iconify/react";
<Icon icon="glyphs:keycap" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="glyphs:keycap" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="glyphs:keycap" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[glyphs--keycap]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/glyphs -->
<div class="i-glyphs:keycap"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="glyphs:keycap"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/glyphs/keycap.svg" alt="Keycap icon" width="24" height="24">Related icons in Glyphs
Keycap icon in other icon sets
Keycap icon FAQ
Is the Keycap icon free for commercial use?
Yes. Glyphs icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Keycap icon in React?
Install @iconify/react and render <Icon icon="glyphs:keycap" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Keycap icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/glyphs/keycap.svg" alt="Keycap icon">, or paste the SVG code inline to style it with CSS.