# eraser icon

Eraser. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/eraser

- Category: Design
- Use it for: erase, eraser, rubber, eraser tool
- Tags: eraser, erase, rubber, remove, clean, wipe
- Family: eraser-sparkle
- Component name: EraserIcon
- Added: 2026-10-14

## 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)

## Files

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.

- line-round: https://gentleface.com/svg/line-round/16/eraser.svg · PNG https://gentleface.com/png/line-round/16/eraser.png · https://gentleface.com/png/line-round/32/eraser.png · https://gentleface.com/png/line-round/48/eraser.png
- line-soft: https://gentleface.com/svg/line-soft/16/eraser.svg · PNG https://gentleface.com/png/line-soft/16/eraser.png · https://gentleface.com/png/line-soft/32/eraser.png · https://gentleface.com/png/line-soft/48/eraser.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/eraser.svg · PNG https://gentleface.com/png/line-sharp/16/eraser.png · https://gentleface.com/png/line-sharp/32/eraser.png · https://gentleface.com/png/line-sharp/48/eraser.png
- solid-round: https://gentleface.com/svg/solid-round/16/eraser.svg · PNG https://gentleface.com/png/solid-round/16/eraser.png · https://gentleface.com/png/solid-round/32/eraser.png · https://gentleface.com/png/solid-round/48/eraser.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/eraser.svg · PNG https://gentleface.com/png/solid-soft/16/eraser.png · https://gentleface.com/png/solid-soft/32/eraser.png · https://gentleface.com/png/solid-soft/48/eraser.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/eraser.svg · PNG https://gentleface.com/png/solid-sharp/16/eraser.png · https://gentleface.com/png/solid-sharp/32/eraser.png · https://gentleface.com/png/solid-sharp/48/eraser.png

The SVG of every style: https://gentleface.com/icons/eraser.json (`svg`).

## Code (line-round)

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. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```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

```tsx
// 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
<!-- Gentleface "eraser" (line-round), MIT. https://gentleface.com/icons/eraser -->
<template>
  <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>
</template>
```

### Svelte

```svelte
<!-- Gentleface "eraser" (line-round), MIT. https://gentleface.com/icons/eraser -->
<script>
  let props = $props();
</script>

<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>
```

### HTML img

```html
<!-- Gentleface "eraser" (line-round), MIT. https://gentleface.com/icons/eraser. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/eraser.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "eraser" (line-round), MIT. https://gentleface.com/icons/eraser. Takes the text color. */
.icon-eraser {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath 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'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath 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'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath 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'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "eraser" (line-round), MIT. https://gentleface.com/icons/eraser
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#eraser"/></svg>
```

### SwiftUI

```swift
// Gentleface "eraser" (line-round), MIT. https://gentleface.com/icons/eraser
import SwiftUI

struct EraserIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 2.207, y: 10.914))
        p.addCurve(to: CGPoint(x: 1.786, y: 10.294), control1: CGPoint(x: 2.027, y: 10.734), control2: CGPoint(x: 1.887, y: 10.528))
        p.addCurve(to: CGPoint(x: 1.621, y: 9.5), control1: CGPoint(x: 1.676, y: 10.041), control2: CGPoint(x: 1.621, y: 9.776))
        p.addCurve(to: CGPoint(x: 1.786, y: 8.706), control1: CGPoint(x: 1.621, y: 9.224), control2: CGPoint(x: 1.676, y: 8.959))
        p.addCurve(to: CGPoint(x: 2.207, y: 8.086), control1: CGPoint(x: 1.887, y: 8.472), control2: CGPoint(x: 2.027, y: 8.266))
        p.addLine(to: CGPoint(x: 8.086, y: 2.207))
        p.addCurve(to: CGPoint(x: 8.706, y: 1.786), control1: CGPoint(x: 8.266, y: 2.027), control2: CGPoint(x: 8.472, y: 1.887))
        p.addCurve(to: CGPoint(x: 9.5, y: 1.621), control1: CGPoint(x: 8.959, y: 1.676), control2: CGPoint(x: 9.224, y: 1.621))
        p.addCurve(to: CGPoint(x: 10.294, y: 1.786), control1: CGPoint(x: 9.776, y: 1.621), control2: CGPoint(x: 10.041, y: 1.676))
        p.addCurve(to: CGPoint(x: 10.914, y: 2.207), control1: CGPoint(x: 10.528, y: 1.887), control2: CGPoint(x: 10.734, y: 2.027))
        p.addLine(to: CGPoint(x: 13.793, y: 5.086))
        p.addCurve(to: CGPoint(x: 14.214, y: 5.706), control1: CGPoint(x: 13.973, y: 5.266), control2: CGPoint(x: 14.113, y: 5.472))
        p.addCurve(to: CGPoint(x: 14.379, y: 6.5), control1: CGPoint(x: 14.324, y: 5.959), control2: CGPoint(x: 14.379, y: 6.224))
        p.addCurve(to: CGPoint(x: 14.214, y: 7.294), control1: CGPoint(x: 14.379, y: 6.776), control2: CGPoint(x: 14.324, y: 7.041))
        p.addCurve(to: CGPoint(x: 13.793, y: 7.914), control1: CGPoint(x: 14.113, y: 7.528), control2: CGPoint(x: 13.973, y: 7.734))
        p.addLine(to: CGPoint(x: 8.707, y: 13))
        p.addLine(to: CGPoint(x: 13.5, y: 13))
        p.addCurve(to: CGPoint(x: 13.856, y: 13.144), control1: CGPoint(x: 13.641, y: 13), control2: CGPoint(x: 13.759, y: 13.048))
        p.addCurve(to: CGPoint(x: 14, y: 13.5), control1: CGPoint(x: 13.952, y: 13.241), control2: CGPoint(x: 14, y: 13.359))
        p.addCurve(to: CGPoint(x: 13.856, y: 13.856), control1: CGPoint(x: 14, y: 13.641), control2: CGPoint(x: 13.952, y: 13.759))
        p.addCurve(to: CGPoint(x: 13.5, y: 14), control1: CGPoint(x: 13.759, y: 13.952), control2: CGPoint(x: 13.641, y: 14))
        p.addLine(to: CGPoint(x: 6.5, y: 14))
        p.addCurve(to: CGPoint(x: 5.385, y: 13.778), control1: CGPoint(x: 6.114, y: 14), control2: CGPoint(x: 5.742, y: 13.926))
        p.addCurve(to: CGPoint(x: 4.439, y: 13.146), control1: CGPoint(x: 5.028, y: 13.63), control2: CGPoint(x: 4.713, y: 13.42))
        p.addLine(to: CGPoint(x: 2.207, y: 10.914))
        p.closeSubpath()
        p.move(to: CGPoint(x: 9.5, y: 10.793))
        p.addLine(to: CGPoint(x: 13.086, y: 7.207))
        p.addCurve(to: CGPoint(x: 13.379, y: 6.5), control1: CGPoint(x: 13.281, y: 7.012), control2: CGPoint(x: 13.379, y: 6.776))
        p.addCurve(to: CGPoint(x: 13.086, y: 5.793), control1: CGPoint(x: 13.379, y: 6.224), control2: CGPoint(x: 13.281, y: 5.988))
        p.addLine(to: CGPoint(x: 10.207, y: 2.914))
        p.addCurve(to: CGPoint(x: 9.5, y: 2.621), control1: CGPoint(x: 10.012, y: 2.719), control2: CGPoint(x: 9.776, y: 2.621))
        p.addCurve(to: CGPoint(x: 8.793, y: 2.914), control1: CGPoint(x: 9.224, y: 2.621), control2: CGPoint(x: 8.988, y: 2.719))
        p.addLine(to: CGPoint(x: 5.207, y: 6.5))
        p.addLine(to: CGPoint(x: 9.5, y: 10.793))
        p.closeSubpath()
        p.move(to: CGPoint(x: 8.793, y: 11.5))
        p.addLine(to: CGPoint(x: 4.5, y: 7.207))
        p.addLine(to: CGPoint(x: 2.914, y: 8.793))
        p.addCurve(to: CGPoint(x: 2.621, y: 9.5), control1: CGPoint(x: 2.719, y: 8.988), control2: CGPoint(x: 2.621, y: 9.224))
        p.addCurve(to: CGPoint(x: 2.914, y: 10.207), control1: CGPoint(x: 2.621, y: 9.776), control2: CGPoint(x: 2.719, y: 10.012))
        p.addLine(to: CGPoint(x: 5.146, y: 12.439))
        p.addCurve(to: CGPoint(x: 5.767, y: 12.854), control1: CGPoint(x: 5.326, y: 12.619), control2: CGPoint(x: 5.533, y: 12.757))
        p.addCurve(to: CGPoint(x: 6.5, y: 13), control1: CGPoint(x: 6.002, y: 12.951), control2: CGPoint(x: 6.246, y: 13))
        p.addLine(to: CGPoint(x: 7.293, y: 13))
        p.addLine(to: CGPoint(x: 8.793, y: 11.5))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// EraserIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "eraser" (line-round), MIT. https://gentleface.com/icons/eraser
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val EraserIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "eraser", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("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"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(EraserIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_eraser.xml · Gentleface "eraser" (line-round), MIT. https://gentleface.com/icons/eraser -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="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"/>
</vector>
```

### Flutter

```dart
// Gentleface "eraser" (line-round), MIT. https://gentleface.com/icons/eraser
import 'package:flutter/widgets.dart';

class EraserIcon extends StatelessWidget {
  const EraserIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _EraserIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _EraserIconPainter extends CustomPainter {
  _EraserIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(2.207, 10.914)
      ..cubicTo(2.027, 10.734, 1.887, 10.528, 1.786, 10.294)
      ..cubicTo(1.676, 10.041, 1.621, 9.776, 1.621, 9.5)
      ..cubicTo(1.621, 9.224, 1.676, 8.959, 1.786, 8.706)
      ..cubicTo(1.887, 8.472, 2.027, 8.266, 2.207, 8.086)
      ..lineTo(8.086, 2.207)
      ..cubicTo(8.266, 2.027, 8.472, 1.887, 8.706, 1.786)
      ..cubicTo(8.959, 1.676, 9.224, 1.621, 9.5, 1.621)
      ..cubicTo(9.776, 1.621, 10.041, 1.676, 10.294, 1.786)
      ..cubicTo(10.528, 1.887, 10.734, 2.027, 10.914, 2.207)
      ..lineTo(13.793, 5.086)
      ..cubicTo(13.973, 5.266, 14.113, 5.472, 14.214, 5.706)
      ..cubicTo(14.324, 5.959, 14.379, 6.224, 14.379, 6.5)
      ..cubicTo(14.379, 6.776, 14.324, 7.041, 14.214, 7.294)
      ..cubicTo(14.113, 7.528, 13.973, 7.734, 13.793, 7.914)
      ..lineTo(8.707, 13)
      ..lineTo(13.5, 13)
      ..cubicTo(13.641, 13, 13.759, 13.048, 13.856, 13.144)
      ..cubicTo(13.952, 13.241, 14, 13.359, 14, 13.5)
      ..cubicTo(14, 13.641, 13.952, 13.759, 13.856, 13.856)
      ..cubicTo(13.759, 13.952, 13.641, 14, 13.5, 14)
      ..lineTo(6.5, 14)
      ..cubicTo(6.114, 14, 5.742, 13.926, 5.385, 13.778)
      ..cubicTo(5.028, 13.63, 4.713, 13.42, 4.439, 13.146)
      ..lineTo(2.207, 10.914)
      ..close()
      ..moveTo(9.5, 10.793)
      ..lineTo(13.086, 7.207)
      ..cubicTo(13.281, 7.012, 13.379, 6.776, 13.379, 6.5)
      ..cubicTo(13.379, 6.224, 13.281, 5.988, 13.086, 5.793)
      ..lineTo(10.207, 2.914)
      ..cubicTo(10.012, 2.719, 9.776, 2.621, 9.5, 2.621)
      ..cubicTo(9.224, 2.621, 8.988, 2.719, 8.793, 2.914)
      ..lineTo(5.207, 6.5)
      ..lineTo(9.5, 10.793)
      ..close()
      ..moveTo(8.793, 11.5)
      ..lineTo(4.5, 7.207)
      ..lineTo(2.914, 8.793)
      ..cubicTo(2.719, 8.988, 2.621, 9.224, 2.621, 9.5)
      ..cubicTo(2.621, 9.776, 2.719, 10.012, 2.914, 10.207)
      ..lineTo(5.146, 12.439)
      ..cubicTo(5.326, 12.619, 5.533, 12.757, 5.767, 12.854)
      ..cubicTo(6.002, 12.951, 6.246, 13, 6.5, 13)
      ..lineTo(7.293, 13)
      ..lineTo(8.793, 11.5)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_EraserIconPainter old) => old.color != color;
}
```
