Erase icon
gg:erase
The Erase icon (gg:erase) is a free SVG icon from the css.gg set by Astrit. It is drawn on a 24 × 24 grid. css.gg 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.
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="M3.5 12.9a2 2 0 0 0 0 2.828l3.858 3.858H4.086a1 1 0 1 0 0 2h16a1 1 0 0 0 0-2h-9.13l9.515-9.515a2 2 0 0 0 0-2.828L16.228 3a2 2 0 0 0-2.829 0zm4.326-1.498l-2.912 2.912l4.243 4.242l2.911-2.911zM9.24 9.988l4.243 4.243l5.573-5.574l-4.242-4.243z" clip-rule="evenodd"/></svg>How to use the Erase icon
React
import { Icon } from "@iconify/react";
<Icon icon="gg:erase" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="gg:erase" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="gg:erase" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[gg--erase]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/gg -->
<div class="i-gg:erase"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="gg:erase"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/gg/erase.svg" alt="Erase icon" width="24" height="24">Erase icon in other icon sets
Erase icon FAQ
Is the Erase icon free for commercial use?
Yes. css.gg icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Erase icon in React?
Install @iconify/react and render <Icon icon="gg:erase" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Erase icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/gg/erase.svg" alt="Erase icon">, or paste the SVG code inline to style it with CSS.