Trash icon
A hand-drawn trash icon that animates on its own: an SVG on a 24px grid in thin, regular and bold strokes. Free to download and use in the apps you build (LumioUI License). It takes your text colour through currentColor.
- Category
- Interface
- Grid
- 24 × 24
- Strokes
- 1.5 · 2 · 2.5
- Name
trash
Stroke weights and sizes
Use it in React Native
The Icon component draws trash by name, sized and coloured from your theme. Add it with npx @lumioui/cli add icon.
TSX Example.tsx
import { Icon } from "@/components/ui/icon";
<Icon name="trash" size={24} />
// colour and stroke follow your theme; pass color / strokeWidth to override SVG code
The still glyph. The animated version, linked above, plays its motion on its own with SMIL, so it needs no script.
SVG trash.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g transform="translate(0 -0.5)"><g><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="4" y1="7.6" x2="20" y2="7.6"></line><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M9.8 7.6L9.8 6.3C9.8 5.4 10.5 4.7 11.4 4.7L12.6 4.7C13.5 4.7 14.2 5.4 14.2 6.3L14.2 7.6"></path></g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M6 7.6L6.9 17.9C7 19.3 8.2 20.4 9.6 20.4L14.4 20.4C15.8 20.4 17 19.3 17.1 17.9L18 7.6"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="10" y1="11" x2="10" y2="16.2"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="14" y1="11" x2="14" y2="16.2"></line></g></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/trash.svg" width="24" height="24" alt="Trash" /> Where LumioUI uses it
- Audio Recorder component
- Bloom Menu component
- Card component
- Cart Item component
- Context Menu component
- Alert component
- App Bar component
- Dropdown Menu component
- Icon component
- Toolbar component
- Zoom Transition component
- Message Bubble component
- Delete Account screen
- Chat Media screen
- Notifications screen
- Storage Data screen
- Profile Editor screen
- Address Book screen
- Food Cart screen
- Grocery List screen
- Saved Jobs screen
- My Listings screen
- Gallery Albums screen
- Photo Gallery screen
Related icons
Trash 2
A Arrow Down
A Arrow Up
A Large Small
Align Center
Align Center Horizontal
Align Center Vertical
Align End Horizontal
Align End Vertical
Align Horizontal Distribute Center
Align Horizontal Distribute End
Align Horizontal Distribute Start
Align Horizontal Justify Center
Align Horizontal Justify End
Align Horizontal Justify Start
Align Horizontal Space Around
Align Horizontal Space Between
Align Justify