The Tabler trash icon depicts a waste bin and is typically used to represent actions related to deleting, removing, or discarding items.
Common uses
- Delete selected item
- Clear all items
- Empty trash folder
Use it in React
Install
npm i @tabler/icons-reactImport & render
import { IconTrash } from '@tabler/icons-react';
<IconTrash size={24} stroke={2} />Styles
Tabler ships this icon in 2 styles — each its own import:
outline
<IconTrash size={24} stroke={2} />filled
<IconTrashFilled size={24} stroke={2} />Details
- Library
- Tabler (5,093 icons)
- License
- MIT
- viewBox
0 0 24 24- Category
- System
- Keywords
- garbagedeleteremovebinash-binuninstalldustbintrashcontroloperationsystem
FAQ
- What is the trash icon used for?
- It signifies deletion or removal of data, files, or items from a system or interface.
- How do I use the trash icon in React?
- Import it using `import { IconTrash } from '@tabler/icons-react'` and then use it as a component: `<IconTrash />`.
- What is the license for this icon?
- The Tabler icons, including the trash icon, are released under the MIT license.
Related icons
The same idea in other libraries, and near matches in Tabler.