The Lucide trash 2 icon depicts a trash can and is commonly used to represent actions like deleting, removing, or emptying content.
Common uses
- Delete selected items
- Empty trash bin
- Clear search history
Use it in React
Install
npm i lucide-reactImport & render
import { Trash2 } from 'lucide-react';
<Trash2 size={24} />Details
- Library
- Lucide (1,713 icons)
- License
- ISC
- viewBox
0 0 24 24- Keywords
- garbagedeleteremovebintrash2garbage binempty
FAQ
- What is the trash 2 icon used for?
- It's used for actions related to deletion, removal, or emptying. This could be deleting files, clearing data, or emptying a shopping cart.
- How do I use the trash 2 icon in React?
- You can import it from the 'lucide-react' library and use it as a component: import { Trash2 } from 'lucide-react'.
- What is the license for the Lucide trash 2 icon?
- The Lucide icon library, including the trash 2 icon, is available under the ISC license.
Related icons
The same idea in other libraries, and near matches in Lucide.
Looking for something else? Search Lucide 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 →