eraser icon
eraser from Keyline Icons by Keyline Icons · Stroke · MIT Free for personal and commercial use.
- Name
- eraser
- Set
- Keyline Icons
- Style
- Stroke
- Viewbox
- 24×24
- License
- MIT
7 other variants in Keyline Icons
The same icon in other sets
eraserBootstrap IconseraserBoxIcons v2eraserBoxIcons v2 SolideraserCodiconseraserFont Awesome 6 SolideraserFont Awesome Solideraser-20-filledFluent UI System IconseraserHuge IconseraserLine AwesomeeraserSVG LogoseraserLucideeraserMajesticonseraserMaterial Design Iconseraser-fillMingCute IconeraserNoto EmojieraserOpenMojieraserPhosphoreraserPixelarticonseraserPrime IconseraserRadix Iconseraser-fillRemix IconeraserSimple Iconseraser-boldSolareraserTabler Icons
Use the eraser icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" 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>
React
import type { SVGProps } from "react";
export function KeylineIconsEraser(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="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>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" 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> </template>
CSS
.icon-eraser {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22M17.1716%203.5858L21.4142%207.8284C22.1952%208.6095%2022.1952%209.8758%2021.4142%2010.6569L11.0711%2021L5.4142%2021L2.5858%2018.1716C1.8047%2017.3905%201.8047%2016.1242%202.5858%2015.3431L14.3431%203.5858C15.1242%202.8047%2016.3905%202.8047%2017.1716%203.5858ZM8%209.9289L15.0711%2017M8.2427%2021L22%2021%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22M17.1716%203.5858L21.4142%207.8284C22.1952%208.6095%2022.1952%209.8758%2021.4142%2010.6569L11.0711%2021L5.4142%2021L2.5858%2018.1716C1.8047%2017.3905%201.8047%2016.1242%202.5858%2015.3431L14.3431%203.5858C15.1242%202.8047%2016.3905%202.8047%2017.1716%203.5858ZM8%209.9289L15.0711%2017M8.2427%2021L22%2021%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/keyline-icons/eraser.svg?color=%231a73e8&size=48