Eraser icon
keyline-icons:eraser
The Eraser icon (keyline-icons:eraser) is a free SVG icon from the Keyline Icons set. It is drawn on a 24 × 24 grid. Keyline 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
- Keyline Icons
- Author
- Keyline Icons
- 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="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17.1716 3.5858L21.4142 7.8284C22.1952 8.6095 22.1952 9.8758 21.4142 10.6569L11.0711 21L5.4142 21L2.5858 18.1716C1.8047 17.3905 1.8047 16.1242 2.5858 15.3431L14.3431 3.5858C15.1242 2.8047 16.3905 2.8047 17.1716 3.5858ZM8 9.9289L15.0711 17M8.2427 21L22 21"/></svg>How to use the Eraser icon
React
import { Icon } from "@iconify/react";
<Icon icon="keyline-icons:eraser" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="keyline-icons:eraser" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="keyline-icons:eraser" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--eraser]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:eraser"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="keyline-icons:eraser"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/keyline-icons/eraser.svg" alt="Eraser icon" width="24" height="24">Related icons in Keyline Icons
eraser-duotone
eraser-fill
eraser-sharp
eraser-sharp-duotone
eraser-sharp-fill
eraser-sharp-two-tone
eraser-sparkles
eraser-sparkles-duotone
eraser-sparkles-fill
eraser-sparkles-sharp
eraser-sparkles-sharp-duotone
eraser-sparkles-sharp-fill
eraser-sparkles-sharp-two-tone
eraser-sparkles-two-tone
eraser-two-tone
Eraser icon in other icon sets
Eraser icon FAQ
Is the Eraser icon free for commercial use?
Yes. Keyline Icons 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="keyline-icons: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/keyline-icons/eraser.svg" alt="Eraser icon">, or paste the SVG code inline to style it with CSS.