Gentleface › Design › eraser
eraser icon
eraserEraser: erase, eraser, rubber, eraser tool. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Animated eraser-rub · line-round
The eraser rubs right along its line in two strokes, and the line shortens only on the forward strokes. It lifts, goes back through the air and hovers up to the left, the line runs back in from the right under it, and the eraser lands.
Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.2 s to 2.95 s. Examples and helper.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M2.207 10.914C2.027 10.734 1.887 10.528 1.786 10.294C1.676 10.041 1.621 9.776 1.621 9.5C1.621 9.224 1.676 8.959 1.786 8.706C1.887 8.472 2.027 8.266 2.207 8.086L8.086 2.207C8.266 2.027 8.472 1.887 8.706 1.786C8.959 1.676 9.224 1.621 9.5 1.621C9.776 1.621 10.041 1.676 10.294 1.786C10.528 1.887 10.734 2.027 10.914 2.207L13.793 5.086C13.973 5.266 14.113 5.472 14.214 5.706C14.324 5.959 14.379 6.224 14.379 6.5C14.379 6.776 14.324 7.041 14.214 7.294C14.113 7.528 13.973 7.734 13.793 7.914L8.707 13L13.5 13C13.641 13 13.759 13.048 13.856 13.144C13.952 13.241 14 13.359 14 13.5C14 13.641 13.952 13.759 13.856 13.856C13.759 13.952 13.641 14 13.5 14L6.5 14C6.114 14 5.742 13.926 5.385 13.778C5.028 13.63 4.713 13.42 4.439 13.146L2.207 10.914ZM9.5 10.793L13.086 7.207C13.281 7.012 13.379 6.776 13.379 6.5C13.379 6.224 13.281 5.988 13.086 5.793L10.207 2.914C10.012 2.719 9.776 2.621 9.5 2.621C9.224 2.621 8.988 2.719 8.793 2.914L5.207 6.5L9.5 10.793ZM8.793 11.5L4.5 7.207L2.914 8.793C2.719 8.988 2.621 9.224 2.621 9.5C2.621 9.776 2.719 10.012 2.914 10.207L5.146 12.439C5.326 12.619 5.533 12.757 5.767 12.854C6.002 12.951 6.246 13 6.5 13L7.293 13L8.793 11.5Z"/></svg>
// Gentleface "eraser" (line-round), MIT. https://gentleface.com/icons/eraser
import type { SVGProps } from 'react';
export function EraserIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
<path d="M2.207 10.914C2.027 10.734 1.887 10.528 1.786 10.294C1.676 10.041 1.621 9.776 1.621 9.5C1.621 9.224 1.676 8.959 1.786 8.706C1.887 8.472 2.027 8.266 2.207 8.086L8.086 2.207C8.266 2.027 8.472 1.887 8.706 1.786C8.959 1.676 9.224 1.621 9.5 1.621C9.776 1.621 10.041 1.676 10.294 1.786C10.528 1.887 10.734 2.027 10.914 2.207L13.793 5.086C13.973 5.266 14.113 5.472 14.214 5.706C14.324 5.959 14.379 6.224 14.379 6.5C14.379 6.776 14.324 7.041 14.214 7.294C14.113 7.528 13.973 7.734 13.793 7.914L8.707 13L13.5 13C13.641 13 13.759 13.048 13.856 13.144C13.952 13.241 14 13.359 14 13.5C14 13.641 13.952 13.759 13.856 13.856C13.759 13.952 13.641 14 13.5 14L6.5 14C6.114 14 5.742 13.926 5.385 13.778C5.028 13.63 4.713 13.42 4.439 13.146L2.207 10.914ZM9.5 10.793L13.086 7.207C13.281 7.012 13.379 6.776 13.379 6.5C13.379 6.224 13.281 5.988 13.086 5.793L10.207 2.914C10.012 2.719 9.776 2.621 9.5 2.621C9.224 2.621 8.988 2.719 8.793 2.914L5.207 6.5L9.5 10.793ZM8.793 11.5L4.5 7.207L2.914 8.793C2.719 8.988 2.621 9.224 2.621 9.5C2.621 9.776 2.719 10.012 2.914 10.207L5.146 12.439C5.326 12.619 5.533 12.757 5.767 12.854C6.002 12.951 6.246 13 6.5 13L7.293 13L8.793 11.5Z" />
</svg>
);
}Vue: see /icons/eraser.md
Svelte: see /icons/eraser.md
HTML img: see /icons/eraser.md
CSS: see /icons/eraser.md
Data URL: see /icons/eraser.md
Sprite: see /icons/eraser.md
SwiftUI: see /icons/eraser.md
Compose: see /icons/eraser.md
Android XML: see /icons/eraser.md
Flutter: see /icons/eraser.md
Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.
With npm: import { EraserIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- erase, eraser, rubber, eraser tool
- Alternatives
eraser-sparkle: remove an object with AI (magic eraser)
- Don’t confuse with
trash: trash deletes an item; the eraser rubs out strokes or pixels
- Not for
- delete (use
trash): the eraser erases strokes or pixels, not an item - remove background (use
background-remove): the eraser rubs out pixels or strokes by hand (erase) - clear formatting (use
type-x): eraser erases strokes or pixels on a canvas (eraser)
- delete (use
- Tags
- eraser, erase, rubber, remove, clean, wipe
- Category
- Design
- Component name
EraserIcon- History
- added
- released in 0.1.0
- 20 px drawn, 24 px drawn
- Since
- version 0.1.0
Family 2
More design icons
align-horizontal-center align-objects-bottom align-objects-bottom-three align-objects-left align-objects-left-three align-objects-right align-objects-right-three align-objects-top align-objects-top-three align-vertical-center angle animation animation-off auto-layout-horizontal auto-layout-vertical auto-layout-wrap · all design icons
For agents
Metadata: /icons/eraser.json · Markdown: /icons/eraser.md · SVG: https://gentleface.com/svg/{style}/16/eraser.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/eraser.png