Eraser Icon
Tilted two-part eraser on a base line, for eraser tools, clearing marks and removing drawn content. Available in 4 styles (outline, solid, duotone and filled) as a React component you install with the shadcn CLI.
Preview
Install and code
Eraser icon in shadcn/ui components
Button
Icon button
Button group
Dropdown menu
Input group
Eraser icon FAQ
What does this icon show?
Tilted two-part eraser on a base line, for eraser tools, clearing marks and removing drawn content. Typical uses: eraser tool in a drawing toolbar, clear annotations on a canvas and clear formatting in a text editor.
When should I use it instead of a similar icon?
Use it for:
- Canvas tools in a paint, whiteboard or PDF markup toolbar that remove only the strokes they cross
- Format reset buttons in a rich editor toolbar that strip bold, color and links from a selection
- Reset controls on a signature pad or an annotated slide that wipe the ink and keep the page
For removing the last typed digit on a PIN pad or phone dialer, use the Backspace icon. For deleting a file, a row or a saved drawing for good, use the Trash icon. For marking words as removed in a doc while keeping them readable, use the Text Strikethrough icon.
Which styles does it come in?
4 styles: Outline, Solid, Duotone and Filled. Every style is drawn on the same 24 by 24 grid and installs as its own file, so you can switch styles without touching the layout.
How do I install it with the shadcn CLI?
Copy the install command from the panel above, in the style you want, and run it in your project. The shadcn CLI adds the icon as a React component that you import and render like any other. It draws in the current text color, so your text color and size classes style it. Icon installs need a ReUI Ultimate license.
What icons go well with it?
Brush and Paint Bucket sit beside it in the same toolbar or menu. More from the same family and the Design set: Bezier Curve, Bucket, Bucket Square and Color Swatch.
When was it added?
It joined the ReUI icon library on June 30, 2026.
Icons related to Eraser
For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Installs with a ReUI Ultimate license.
When to use
- Canvas tools in a paint, whiteboard or PDF markup toolbar that remove only the strokes they cross
- Format reset buttons in a rich editor toolbar that strip bold, color and links from a selection
- Reset controls on a signature pad or an annotated slide that wipe the ink and keep the page
When not to use
- Removing the last typed digit on a PIN pad or phone dialer: use the Backspace icon
- Deleting a file, a row or a saved drawing for good: use the Trash icon
- Marking words as removed in a doc while keeping them readable: use the Text Strikethrough icon
Agent notes
- Name an icon-only button with its label, "Eraser tool", as the aria-label
Markdown
https://reui.io/icons/preview/eraser.mdMCP
get_icon("eraser")Install
npx shadcn@latest add @reui/icons/default/duotone/eraserStart building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
Get All-Access
From $249, once. Lifetime updates.