An eraser with sparkles, for AI object removal, magic erase and smart clean-up. On a 24×24 grid in stroke, two-tone, duotone and fill, free under MIT.

AINewv1.1.0Added Updated
Drawn byKeyline Icons
16
20
24 px
32
24px
2px
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  <path d="M17.1716 4.5858L21.4142 8.8284C22.1952 9.6095 22.1952 10.8758 21.4142 11.6569L11.0711 22L5.4142 22L2.5858 19.1716C1.8047 18.3905 1.8047 17.1242 2.5858 16.3431L14.3431 4.5858C15.1242 3.8047 16.3905 3.8047 17.1716 4.5858ZM8 10.9289L15.0711 18M8.2427 22L22 22"/>
  <path d="M5.5492 1.3739L6.1373 2.8648C6.3173 3.3213 6.6787 3.6827 7.1352 3.8627L8.6261 4.4508C8.8518 4.5397 9 4.7576 9 5C9 5.2424 8.8518 5.4603 8.6261 5.5492L7.1352 6.1373C6.6787 6.3173 6.3173 6.6787 6.1373 7.1352L5.5492 8.6261C5.4603 8.8518 5.2424 9 5 9C4.7576 9 4.5397 8.8518 4.4508 8.6261L3.8627 7.1352C3.6827 6.6787 3.3213 6.3173 2.8648 6.1373L1.3739 5.5492C1.1482 5.4603 1 5.2424 1 5C1 4.7576 1.1482 4.5397 1.3739 4.4508L2.8648 3.8627C3.3213 3.6827 3.6827 3.3213 3.8627 2.8648L4.4508 1.3739C4.5397 1.1482 4.7576 1 5 1C5.2424 1 5.4603 1.1482 5.5492 1.3739ZM15.2746 9.1869L15.5687 9.9324C15.6587 10.1607 15.8393 10.3413 16.0676 10.4313L16.8131 10.7254C16.9259 10.7698 17 10.8788 17 11C17 11.1212 16.9259 11.2302 16.8131 11.2746L16.0676 11.5687C15.8393 11.6587 15.6587 11.8393 15.5687 12.0676L15.2746 12.8131C15.2302 12.9259 15.1212 13 15 13C14.8788 13 14.7698 12.9259 14.7254 12.8131L14.4313 12.0676C14.3413 11.8393 14.1607 11.6587 13.9324 11.5687L13.1869 11.2746C13.0741 11.2302 13 11.1212 13 11C13 10.8788 13.0741 10.7698 13.1869 10.7254L13.9324 10.4313C14.1607 10.3413 14.3413 10.1607 14.4313 9.9324L14.7254 9.1869C14.7698 9.0741 14.8788 9 15 9C15.1212 9 15.2302 9.0741 15.2746 9.1869Z" fill="currentColor" stroke="none"/>
</svg>

Also called

What someone searching for this drawing would have typed instead. These are the words the browser's search matches on.

  • magic eraser
  • object removal
  • ai erase
  • smart clean up
  • remove background

Related icons

The rest of the eraser family first, then the AI shelf.

FAQ

Answered from eraser-sparkles's own facts: its shelf, the weights it was drawn in, its siblings and its dates.

What is the eraser-sparkles icon for?
An eraser with sparkles, for AI object removal, magic erase and smart clean-up. It is filed under AI in Keyline Icons, drawn on the same 24×24 grid as the rest of the set. People look for it as magic eraser, object removal, ai erase, smart clean up and remove background, and the browser's search matches all of those.
What styles does the eraser-sparkles icon come in?
All four: stroke, two-tone, duotone and fill. They are drawn from the same geometry, so swapping style never moves anything.
Is there a square or circle version of eraser-sparkles?
No. eraser-sparkles is drawn as a bare glyph, and the set has no boxed variant of it.
What other icons go with eraser-sparkles?
eraser, activity-sparkles, app-window-sparkles, audio-lines-sparkles, battery-sparkles and bell-sparkles, and 12 more, all shown below. The eraser family is listed first, then the rest of the AI shelf, so the row under this one is the useful one even where a shelf runs long.
How do I import eraser-sparkles in React?
<EraserSparkles /> is the component, and the weight decides the module: stroke from "@keyline-icons/react", two-tone from "@keyline-icons/react/two-tone", duotone from "@keyline-icons/react/duotone" and fill from "@keyline-icons/react/fill". It takes the usual SVG props plus a size, so <EraserSparkles size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
Where is the eraser-sparkles SVG?
icons/stroke/eraser-sparkles.svg, icons/two-tone/eraser-sparkles.svg, icons/duotone/eraser-sparkles.svg and icons/fill/eraser-sparkles.svg in the repository, normalised: no wrapper, no ids and no classes to strip out. The tabs above hand you the same drawing as SVG or JSX without the download, and neither needs an install.
When was eraser-sparkles added to the set?
Added 22 Sept 2026, and last redrawn 23 Sept 2026. It ships in v1.1.0, so an install at that version or later has it.

Questions about the set rather than about this drawing are answered where they belong. The home page covers what the set is, how the three styles differ, why some icons come boxed and where the Figma file is; installing the set in a shadcn/ui project covers the React package, the CLI and using an icon without React. The MIT licence is stated in the footer of every page.