The Phosphor trash icon depicts a standard waste bin and is typically used to represent actions like deleting, removing, or discarding items.
Common uses
- Delete button for files or data
- Clear search history
- Empty shopping cart
Use it in React
Install
npm i @phosphor-icons/reactImport & render
import { Trash } from '@phosphor-icons/react';
<Trash size={24} />Styles
Phosphor ships this icon in 6 styles — each its own import:
regular
<Trash size={24} />thin
<Trash size={24} weight="thin" />light
<Trash size={24} weight="light" />bold
<Trash size={24} weight="bold" />fill
<Trash size={24} weight="fill" />duotone
<Trash size={24} weight="duotone" />Details
- Library
- Phosphor (1,512 icons)
- License
- MIT
- viewBox
0 0 256 256- Category
- office
- Keywords
- garbageremovedeletedestroyrecyclerecyclingofficesystemtrashbin
FAQ
- What is the trash icon used for?
- It signifies deletion, removal, or discarding of content. It's commonly used for buttons that permanently remove items.
- How do I use the trash icon in React?
- Import it from the library and use it as a component: `import { Trash } from '@phosphor-icons/react'; <Trash />`.
- What is the license for Phosphor icons?
- Phosphor icons are distributed under the MIT license, allowing for free use in commercial and non-commercial projects.
Related icons
The same idea in other libraries, and near matches in Phosphor.