# eraser-sparkle icon

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

- Category: Design
- Use it for: magic eraser, ai object removal, generative remove, ai eraser
- Example: Magic eraser next to the manual eraser in a photo editor
- Built from: eraser + sparkle
- Tags: eraser, erase, rubber, remove, clean, wipe, sparkle
- Family: eraser
- Component name: EraserSparkleIcon
- Added: 2026-10-15

## Alternatives

- `brush-sparkle`: paint over an area and describe the change (generative fill)

## Also fits

- improve with ai: remove objects from an image with AI (magic eraser)
- generative fill: remove an object and fill the gap (generative remove)
- eraser: remove an object with AI (magic 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-sparkle.svg · PNG https://gentleface.com/png/line-round/16/eraser-sparkle.png · https://gentleface.com/png/line-round/32/eraser-sparkle.png · https://gentleface.com/png/line-round/48/eraser-sparkle.png
- line-soft: https://gentleface.com/svg/line-soft/16/eraser-sparkle.svg · PNG https://gentleface.com/png/line-soft/16/eraser-sparkle.png · https://gentleface.com/png/line-soft/32/eraser-sparkle.png · https://gentleface.com/png/line-soft/48/eraser-sparkle.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/eraser-sparkle.svg · PNG https://gentleface.com/png/line-sharp/16/eraser-sparkle.png · https://gentleface.com/png/line-sharp/32/eraser-sparkle.png · https://gentleface.com/png/line-sharp/48/eraser-sparkle.png
- solid-round: https://gentleface.com/svg/solid-round/16/eraser-sparkle.svg · PNG https://gentleface.com/png/solid-round/16/eraser-sparkle.png · https://gentleface.com/png/solid-round/32/eraser-sparkle.png · https://gentleface.com/png/solid-round/48/eraser-sparkle.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/eraser-sparkle.svg · PNG https://gentleface.com/png/solid-soft/16/eraser-sparkle.png · https://gentleface.com/png/solid-soft/32/eraser-sparkle.png · https://gentleface.com/png/solid-soft/48/eraser-sparkle.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/eraser-sparkle.svg · PNG https://gentleface.com/png/solid-sharp/16/eraser-sparkle.png · https://gentleface.com/png/solid-sharp/32/eraser-sparkle.png · https://gentleface.com/png/solid-sharp/48/eraser-sparkle.png

The SVG of every style: https://gentleface.com/icons/eraser-sparkle.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="M5.385 13.778C5.028 13.63 4.713 13.42 4.439 13.146L2.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.914L13.509 8.198C13.41 8.298 13.292 8.347 13.156 8.347C13.02 8.347 12.902 8.298 12.802 8.198L12.802 8.198C12.755 8.053 12.71 7.896 12.668 7.728C12.689 7.639 12.733 7.56 12.802 7.491L13.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.5L8.198 9.491C8.298 9.591 8.347 9.708 8.347 9.844C8.347 9.98 8.298 10.098 8.198 10.198L8.198 10.198C8.053 10.245 7.896 10.29 7.727 10.332C7.639 10.311 7.56 10.267 7.491 10.198L4.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 13L7.491 12.802C7.559 12.733 7.637 12.688 7.722 12.667C7.893 12.71 8.051 12.754 8.198 12.802L8.198 12.802C8.254 12.858 8.295 12.924 8.32 13L8.5 13C8.641 13 8.759 13.048 8.856 13.144C8.952 13.241 9 13.359 9 13.5C9 13.641 8.952 13.759 8.856 13.856C8.759 13.952 8.641 14 8.5 14L6.5 14C6.114 14 5.742 13.926 5.385 13.778ZM11.5 16C11 13 10 12 7 11.5C10 11 11 10 11.5 7C12 10 13 11 16 11.5C13 12 12 13 11.5 16Z"/></svg>
```

### React

```tsx
// Gentleface "eraser-sparkle" (line-round), MIT. https://gentleface.com/icons/eraser-sparkle
import type { SVGProps } from 'react';

export function EraserSparkleIcon(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="M5.385 13.778C5.028 13.63 4.713 13.42 4.439 13.146L2.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.914L13.509 8.198C13.41 8.298 13.292 8.347 13.156 8.347C13.02 8.347 12.902 8.298 12.802 8.198L12.802 8.198C12.755 8.053 12.71 7.896 12.668 7.728C12.689 7.639 12.733 7.56 12.802 7.491L13.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.5L8.198 9.491C8.298 9.591 8.347 9.708 8.347 9.844C8.347 9.98 8.298 10.098 8.198 10.198L8.198 10.198C8.053 10.245 7.896 10.29 7.727 10.332C7.639 10.311 7.56 10.267 7.491 10.198L4.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 13L7.491 12.802C7.559 12.733 7.637 12.688 7.722 12.667C7.893 12.71 8.051 12.754 8.198 12.802L8.198 12.802C8.254 12.858 8.295 12.924 8.32 13L8.5 13C8.641 13 8.759 13.048 8.856 13.144C8.952 13.241 9 13.359 9 13.5C9 13.641 8.952 13.759 8.856 13.856C8.759 13.952 8.641 14 8.5 14L6.5 14C6.114 14 5.742 13.926 5.385 13.778ZM11.5 16C11 13 10 12 7 11.5C10 11 11 10 11.5 7C12 10 13 11 16 11.5C13 12 12 13 11.5 16Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "eraser-sparkle" (line-round), MIT. https://gentleface.com/icons/eraser-sparkle -->
<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="M5.385 13.778C5.028 13.63 4.713 13.42 4.439 13.146L2.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.914L13.509 8.198C13.41 8.298 13.292 8.347 13.156 8.347C13.02 8.347 12.902 8.298 12.802 8.198L12.802 8.198C12.755 8.053 12.71 7.896 12.668 7.728C12.689 7.639 12.733 7.56 12.802 7.491L13.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.5L8.198 9.491C8.298 9.591 8.347 9.708 8.347 9.844C8.347 9.98 8.298 10.098 8.198 10.198L8.198 10.198C8.053 10.245 7.896 10.29 7.727 10.332C7.639 10.311 7.56 10.267 7.491 10.198L4.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 13L7.491 12.802C7.559 12.733 7.637 12.688 7.722 12.667C7.893 12.71 8.051 12.754 8.198 12.802L8.198 12.802C8.254 12.858 8.295 12.924 8.32 13L8.5 13C8.641 13 8.759 13.048 8.856 13.144C8.952 13.241 9 13.359 9 13.5C9 13.641 8.952 13.759 8.856 13.856C8.759 13.952 8.641 14 8.5 14L6.5 14C6.114 14 5.742 13.926 5.385 13.778ZM11.5 16C11 13 10 12 7 11.5C10 11 11 10 11.5 7C12 10 13 11 16 11.5C13 12 12 13 11.5 16Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "eraser-sparkle" (line-round), MIT. https://gentleface.com/icons/eraser-sparkle -->
<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="M5.385 13.778C5.028 13.63 4.713 13.42 4.439 13.146L2.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.914L13.509 8.198C13.41 8.298 13.292 8.347 13.156 8.347C13.02 8.347 12.902 8.298 12.802 8.198L12.802 8.198C12.755 8.053 12.71 7.896 12.668 7.728C12.689 7.639 12.733 7.56 12.802 7.491L13.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.5L8.198 9.491C8.298 9.591 8.347 9.708 8.347 9.844C8.347 9.98 8.298 10.098 8.198 10.198L8.198 10.198C8.053 10.245 7.896 10.29 7.727 10.332C7.639 10.311 7.56 10.267 7.491 10.198L4.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 13L7.491 12.802C7.559 12.733 7.637 12.688 7.722 12.667C7.893 12.71 8.051 12.754 8.198 12.802L8.198 12.802C8.254 12.858 8.295 12.924 8.32 13L8.5 13C8.641 13 8.759 13.048 8.856 13.144C8.952 13.241 9 13.359 9 13.5C9 13.641 8.952 13.759 8.856 13.856C8.759 13.952 8.641 14 8.5 14L6.5 14C6.114 14 5.742 13.926 5.385 13.778ZM11.5 16C11 13 10 12 7 11.5C10 11 11 10 11.5 7C12 10 13 11 16 11.5C13 12 12 13 11.5 16Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "eraser-sparkle" (line-round), MIT. https://gentleface.com/icons/eraser-sparkle. 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-sparkle.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "eraser-sparkle" (line-round), MIT. https://gentleface.com/icons/eraser-sparkle. Takes the text color. */
.icon-eraser-sparkle {
  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='M5.385 13.778C5.028 13.63 4.713 13.42 4.439 13.146L2.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.914L13.509 8.198C13.41 8.298 13.292 8.347 13.156 8.347C13.02 8.347 12.902 8.298 12.802 8.198L12.802 8.198C12.755 8.053 12.71 7.896 12.668 7.728C12.689 7.639 12.733 7.56 12.802 7.491L13.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.5L8.198 9.491C8.298 9.591 8.347 9.708 8.347 9.844C8.347 9.98 8.298 10.098 8.198 10.198L8.198 10.198C8.053 10.245 7.896 10.29 7.727 10.332C7.639 10.311 7.56 10.267 7.491 10.198L4.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 13L7.491 12.802C7.559 12.733 7.637 12.688 7.722 12.667C7.893 12.71 8.051 12.754 8.198 12.802L8.198 12.802C8.254 12.858 8.295 12.924 8.32 13L8.5 13C8.641 13 8.759 13.048 8.856 13.144C8.952 13.241 9 13.359 9 13.5C9 13.641 8.952 13.759 8.856 13.856C8.759 13.952 8.641 14 8.5 14L6.5 14C6.114 14 5.742 13.926 5.385 13.778ZM11.5 16C11 13 10 12 7 11.5C10 11 11 10 11.5 7C12 10 13 11 16 11.5C13 12 12 13 11.5 16Z'/%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='M5.385 13.778C5.028 13.63 4.713 13.42 4.439 13.146L2.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.914L13.509 8.198C13.41 8.298 13.292 8.347 13.156 8.347C13.02 8.347 12.902 8.298 12.802 8.198L12.802 8.198C12.755 8.053 12.71 7.896 12.668 7.728C12.689 7.639 12.733 7.56 12.802 7.491L13.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.5L8.198 9.491C8.298 9.591 8.347 9.708 8.347 9.844C8.347 9.98 8.298 10.098 8.198 10.198L8.198 10.198C8.053 10.245 7.896 10.29 7.727 10.332C7.639 10.311 7.56 10.267 7.491 10.198L4.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 13L7.491 12.802C7.559 12.733 7.637 12.688 7.722 12.667C7.893 12.71 8.051 12.754 8.198 12.802L8.198 12.802C8.254 12.858 8.295 12.924 8.32 13L8.5 13C8.641 13 8.759 13.048 8.856 13.144C8.952 13.241 9 13.359 9 13.5C9 13.641 8.952 13.759 8.856 13.856C8.759 13.952 8.641 14 8.5 14L6.5 14C6.114 14 5.742 13.926 5.385 13.778ZM11.5 16C11 13 10 12 7 11.5C10 11 11 10 11.5 7C12 10 13 11 16 11.5C13 12 12 13 11.5 16Z'/%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='M5.385 13.778C5.028 13.63 4.713 13.42 4.439 13.146L2.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.914L13.509 8.198C13.41 8.298 13.292 8.347 13.156 8.347C13.02 8.347 12.902 8.298 12.802 8.198L12.802 8.198C12.755 8.053 12.71 7.896 12.668 7.728C12.689 7.639 12.733 7.56 12.802 7.491L13.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.5L8.198 9.491C8.298 9.591 8.347 9.708 8.347 9.844C8.347 9.98 8.298 10.098 8.198 10.198L8.198 10.198C8.053 10.245 7.896 10.29 7.727 10.332C7.639 10.311 7.56 10.267 7.491 10.198L4.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 13L7.491 12.802C7.559 12.733 7.637 12.688 7.722 12.667C7.893 12.71 8.051 12.754 8.198 12.802L8.198 12.802C8.254 12.858 8.295 12.924 8.32 13L8.5 13C8.641 13 8.759 13.048 8.856 13.144C8.952 13.241 9 13.359 9 13.5C9 13.641 8.952 13.759 8.856 13.856C8.759 13.952 8.641 14 8.5 14L6.5 14C6.114 14 5.742 13.926 5.385 13.778ZM11.5 16C11 13 10 12 7 11.5C10 11 11 10 11.5 7C12 10 13 11 16 11.5C13 12 12 13 11.5 16Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct EraserSparkleIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 5.385, y: 13.778))
        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.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: 13.509, y: 8.198))
        p.addCurve(to: CGPoint(x: 13.156, y: 8.347), control1: CGPoint(x: 13.41, y: 8.298), control2: CGPoint(x: 13.292, y: 8.347))
        p.addCurve(to: CGPoint(x: 12.802, y: 8.198), control1: CGPoint(x: 13.02, y: 8.347), control2: CGPoint(x: 12.902, y: 8.298))
        p.addLine(to: CGPoint(x: 12.802, y: 8.198))
        p.addCurve(to: CGPoint(x: 12.668, y: 7.728), control1: CGPoint(x: 12.755, y: 8.053), control2: CGPoint(x: 12.71, y: 7.896))
        p.addCurve(to: CGPoint(x: 12.802, y: 7.491), control1: CGPoint(x: 12.689, y: 7.639), control2: CGPoint(x: 12.733, y: 7.56))
        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: 8.198, y: 9.491))
        p.addCurve(to: CGPoint(x: 8.347, y: 9.844), control1: CGPoint(x: 8.298, y: 9.591), control2: CGPoint(x: 8.347, y: 9.708))
        p.addCurve(to: CGPoint(x: 8.198, y: 10.198), control1: CGPoint(x: 8.347, y: 9.98), control2: CGPoint(x: 8.298, y: 10.098))
        p.addLine(to: CGPoint(x: 8.198, y: 10.198))
        p.addCurve(to: CGPoint(x: 7.727, y: 10.332), control1: CGPoint(x: 8.053, y: 10.245), control2: CGPoint(x: 7.896, y: 10.29))
        p.addCurve(to: CGPoint(x: 7.491, y: 10.198), control1: CGPoint(x: 7.639, y: 10.311), control2: CGPoint(x: 7.56, y: 10.267))
        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: 7.491, y: 12.802))
        p.addCurve(to: CGPoint(x: 7.722, y: 12.667), control1: CGPoint(x: 7.559, y: 12.733), control2: CGPoint(x: 7.637, y: 12.688))
        p.addCurve(to: CGPoint(x: 8.198, y: 12.802), control1: CGPoint(x: 7.893, y: 12.71), control2: CGPoint(x: 8.051, y: 12.754))
        p.addLine(to: CGPoint(x: 8.198, y: 12.802))
        p.addCurve(to: CGPoint(x: 8.32, y: 13), control1: CGPoint(x: 8.254, y: 12.858), control2: CGPoint(x: 8.295, y: 12.924))
        p.addLine(to: CGPoint(x: 8.5, y: 13))
        p.addCurve(to: CGPoint(x: 8.856, y: 13.144), control1: CGPoint(x: 8.641, y: 13), control2: CGPoint(x: 8.759, y: 13.048))
        p.addCurve(to: CGPoint(x: 9, y: 13.5), control1: CGPoint(x: 8.952, y: 13.241), control2: CGPoint(x: 9, y: 13.359))
        p.addCurve(to: CGPoint(x: 8.856, y: 13.856), control1: CGPoint(x: 9, y: 13.641), control2: CGPoint(x: 8.952, y: 13.759))
        p.addCurve(to: CGPoint(x: 8.5, y: 14), control1: CGPoint(x: 8.759, y: 13.952), control2: CGPoint(x: 8.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.closeSubpath()
        p.move(to: CGPoint(x: 11.5, y: 16))
        p.addCurve(to: CGPoint(x: 7, y: 11.5), control1: CGPoint(x: 11, y: 13), control2: CGPoint(x: 10, y: 12))
        p.addCurve(to: CGPoint(x: 11.5, y: 7), control1: CGPoint(x: 10, y: 11), control2: CGPoint(x: 11, y: 10))
        p.addCurve(to: CGPoint(x: 16, y: 11.5), control1: CGPoint(x: 12, y: 10), control2: CGPoint(x: 13, y: 11))
        p.addCurve(to: CGPoint(x: 11.5, y: 16), control1: CGPoint(x: 13, y: 12), control2: CGPoint(x: 12, y: 13))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "eraser-sparkle" (line-round), MIT. https://gentleface.com/icons/eraser-sparkle
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 EraserSparkleIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "eraser-sparkle", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M5.385 13.778C5.028 13.63 4.713 13.42 4.439 13.146L2.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.914L13.509 8.198C13.41 8.298 13.292 8.347 13.156 8.347C13.02 8.347 12.902 8.298 12.802 8.198L12.802 8.198C12.755 8.053 12.71 7.896 12.668 7.728C12.689 7.639 12.733 7.56 12.802 7.491L13.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.5L8.198 9.491C8.298 9.591 8.347 9.708 8.347 9.844C8.347 9.98 8.298 10.098 8.198 10.198L8.198 10.198C8.053 10.245 7.896 10.29 7.727 10.332C7.639 10.311 7.56 10.267 7.491 10.198L4.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 13L7.491 12.802C7.559 12.733 7.637 12.688 7.722 12.667C7.893 12.71 8.051 12.754 8.198 12.802L8.198 12.802C8.254 12.858 8.295 12.924 8.32 13L8.5 13C8.641 13 8.759 13.048 8.856 13.144C8.952 13.241 9 13.359 9 13.5C9 13.641 8.952 13.759 8.856 13.856C8.759 13.952 8.641 14 8.5 14L6.5 14C6.114 14 5.742 13.926 5.385 13.778ZM11.5 16C11 13 10 12 7 11.5C10 11 11 10 11.5 7C12 10 13 11 16 11.5C13 12 12 13 11.5 16Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_eraser_sparkle.xml · Gentleface "eraser-sparkle" (line-round), MIT. https://gentleface.com/icons/eraser-sparkle -->
<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="M5.385 13.778C5.028 13.63 4.713 13.42 4.439 13.146L2.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.914L13.509 8.198C13.41 8.298 13.292 8.347 13.156 8.347C13.02 8.347 12.902 8.298 12.802 8.198L12.802 8.198C12.755 8.053 12.71 7.896 12.668 7.728C12.689 7.639 12.733 7.56 12.802 7.491L13.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.5L8.198 9.491C8.298 9.591 8.347 9.708 8.347 9.844C8.347 9.98 8.298 10.098 8.198 10.198L8.198 10.198C8.053 10.245 7.896 10.29 7.727 10.332C7.639 10.311 7.56 10.267 7.491 10.198L4.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 13L7.491 12.802C7.559 12.733 7.637 12.688 7.722 12.667C7.893 12.71 8.051 12.754 8.198 12.802L8.198 12.802C8.254 12.858 8.295 12.924 8.32 13L8.5 13C8.641 13 8.759 13.048 8.856 13.144C8.952 13.241 9 13.359 9 13.5C9 13.641 8.952 13.759 8.856 13.856C8.759 13.952 8.641 14 8.5 14L6.5 14C6.114 14 5.742 13.926 5.385 13.778ZM11.5 16C11 13 10 12 7 11.5C10 11 11 10 11.5 7C12 10 13 11 16 11.5C13 12 12 13 11.5 16Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(5.385, 13.778)
      ..cubicTo(5.028, 13.63, 4.713, 13.42, 4.439, 13.146)
      ..lineTo(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(13.509, 8.198)
      ..cubicTo(13.41, 8.298, 13.292, 8.347, 13.156, 8.347)
      ..cubicTo(13.02, 8.347, 12.902, 8.298, 12.802, 8.198)
      ..lineTo(12.802, 8.198)
      ..cubicTo(12.755, 8.053, 12.71, 7.896, 12.668, 7.728)
      ..cubicTo(12.689, 7.639, 12.733, 7.56, 12.802, 7.491)
      ..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(8.198, 9.491)
      ..cubicTo(8.298, 9.591, 8.347, 9.708, 8.347, 9.844)
      ..cubicTo(8.347, 9.98, 8.298, 10.098, 8.198, 10.198)
      ..lineTo(8.198, 10.198)
      ..cubicTo(8.053, 10.245, 7.896, 10.29, 7.727, 10.332)
      ..cubicTo(7.639, 10.311, 7.56, 10.267, 7.491, 10.198)
      ..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(7.491, 12.802)
      ..cubicTo(7.559, 12.733, 7.637, 12.688, 7.722, 12.667)
      ..cubicTo(7.893, 12.71, 8.051, 12.754, 8.198, 12.802)
      ..lineTo(8.198, 12.802)
      ..cubicTo(8.254, 12.858, 8.295, 12.924, 8.32, 13)
      ..lineTo(8.5, 13)
      ..cubicTo(8.641, 13, 8.759, 13.048, 8.856, 13.144)
      ..cubicTo(8.952, 13.241, 9, 13.359, 9, 13.5)
      ..cubicTo(9, 13.641, 8.952, 13.759, 8.856, 13.856)
      ..cubicTo(8.759, 13.952, 8.641, 14, 8.5, 14)
      ..lineTo(6.5, 14)
      ..cubicTo(6.114, 14, 5.742, 13.926, 5.385, 13.778)
      ..close()
      ..moveTo(11.5, 16)
      ..cubicTo(11, 13, 10, 12, 7, 11.5)
      ..cubicTo(10, 11, 11, 10, 11.5, 7)
      ..cubicTo(12, 10, 13, 11, 16, 11.5)
      ..cubicTo(13, 12, 12, 13, 11.5, 16)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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