Erg icon
token:erg
The Erg icon (token:erg) is a free SVG icon from the Web3 Icons set by 0xa3k5. It is drawn on a 24 × 24 grid. Web3 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
- Web3 Icons
- Author
- 0xa3k5
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="m12 3l6.363 2.636L21 12l-2.637 6.363L12 21l-6.364-2.637L3 12l2.636-6.364zm0 1.059l5.612 2.33L19.942 12l-2.33 5.612L12 19.942l-5.612-2.33L4.058 12l2.33-5.612zm2.647 4.235H9.353v1.059L11.608 12l-2.255 2.647v1.059h5.294v-1.059h-3.828L13.06 12l-2.24-2.647h3.828z" clip-rule="evenodd"/></svg>How to use the Erg icon
React
import { Icon } from "@iconify/react";
<Icon icon="token:erg" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="token:erg" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="token:erg" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[token--erg]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/token -->
<div class="i-token:erg"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="token:erg"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/token/erg.svg" alt="Erg icon" width="24" height="24">Erg icon in other icon sets
Erg icon FAQ
Is the Erg icon free for commercial use?
Yes. Web3 Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Erg icon in React?
Install @iconify/react and render <Icon icon="token:erg" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Erg icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/token/erg.svg" alt="Erg icon">, or paste the SVG code inline to style it with CSS.