The Tabler trash x icon depicts a trash bin with an 'x' mark, commonly used to represent actions like deleting, removing, or discarding items in a user interface.
Common uses
- Delete button
- Clear all data action
- Remove item from list
Use it in React
Install
npm i @tabler/icons-reactImport & render
import { IconTrashX } from '@tabler/icons-react';
<IconTrashX size={24} stroke={2} />Styles
Tabler ships this icon in 2 styles — each its own import:
outline
<IconTrashX size={24} stroke={2} />filled
<IconTrashXFilled size={24} stroke={2} />Details
- Library
- Tabler (5,093 icons)
- License
- MIT
- viewBox
0 0 24 24- Category
- System
- Keywords
- binlitterrecycleremovedeletethrowawaywastetrashcontrolsystemxcleardiscard
FAQ
- What does the trash x icon represent?
- It visually signifies an action to delete, remove, or discard something. It's often used for irreversible actions.
- How do I use this icon in React?
- You can import it directly from the '@tabler/icons-react' library using: import { IconTrashX } from '@tabler/icons-react'.
- What is the license for this icon?
- The Tabler icon library, including the trash-x icon, is available under the MIT license.
Related icons
The same idea in other libraries, and near matches in Tabler.