gentleface

Gentleface › Design › eraser

eraser icon

Eraser: erase, eraser, rubber, eraser tool. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<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>
React
// 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
Vue: see /icons/eraser.md
Svelte
Svelte: see /icons/eraser.md
HTML img
HTML img: see /icons/eraser.md
CSS
CSS: see /icons/eraser.md
Data URL
Data URL: see /icons/eraser.md
Sprite
Sprite: see /icons/eraser.md
SwiftUI
SwiftUI: see /icons/eraser.md
Compose
Compose: see /icons/eraser.md
Android XML
Android XML: see /icons/eraser.md
Flutter
Flutter: see /icons/eraser.md

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it. 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.

Meaning

Use it for
erase, eraser, rubber, eraser tool
Alternatives
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)
Tags
eraser, erase, rubber, remove, clean, wipe
Category
Design
Component name
EraserIcon
History
  • added

Family 1

More 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

Feedback