The Phosphor eraser icon depicts a classic pencil eraser, commonly used in user interfaces to signify actions like deleting, clearing, or undoing content.
Common uses
- Clear input fields
- Remove selected items
- Undo last action
Use it in React
Install
npm i @phosphor-icons/reactImport & render
import { Eraser } from '@phosphor-icons/react';
<Eraser size={24} />Styles
Phosphor ships this icon in 6 styles — each its own import:
regular
<Eraser size={24} />thin
<Eraser size={24} weight="thin" />light
<Eraser size={24} weight="light" />bold
<Eraser size={24} weight="bold" />fill
<Eraser size={24} weight="fill" />duotone
<Eraser size={24} weight="duotone" />Details
- Library
- Phosphor (1,512 icons)
- License
- MIT
- viewBox
0 0 256 256- Category
- design
- Keywords
- writewritingeditingundodeleteddesigneditoreraserdeleteclearremovecleanup
FAQ
- What is the eraser icon used for?
- It's used to represent actions like deleting, clearing, or undoing content within an application.
- How do I use the eraser icon in React?
- You can import and use it like this: `import { Eraser } from '@phosphor-icons/react'`. Then render it as `<Eraser />`.
- What is the license for the Phosphor eraser icon?
- The Phosphor icon library, including the eraser icon, is available under the MIT license.
Related icons
The same idea in other libraries, and near matches in Phosphor.
Looking for something else? Search Phosphor and 4 more libraries by description →
The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →