Eraser icon
boxicons:eraser
The Eraser icon (boxicons:eraser) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons 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" d="M21 12.41c.78-.78.78-2.05 0-2.83l-5.59-5.59c-.78-.78-2.05-.78-2.83 0L3 13.59c-.78.78-.78 2.05 0 2.83l4.29 4.29c.19.19.44.29.71.29h14v-2h-7.59zm-7-7L19.59 11L17 13.59L11.41 8zM8.41 19l-4-4L10 9.41L15.59 15l-4 4H8.42Z"/></svg>How to use the Eraser icon
React
import { Icon } from "@iconify/react";
<Icon icon="boxicons:eraser" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="boxicons:eraser" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="boxicons:eraser" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--eraser]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:eraser"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="boxicons:eraser"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/boxicons/eraser.svg" alt="Eraser icon" width="24" height="24">Related icons in Boxicons
Eraser icon in other icon sets
Eraser icon FAQ
Is the Eraser icon free for commercial use?
Yes. Boxicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Eraser icon in React?
Install @iconify/react and render <Icon icon="boxicons:eraser" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Eraser icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/eraser.svg" alt="Eraser icon">, or paste the SVG code inline to style it with CSS.