Trash icon
fa-solid:trash
The Trash icon (fa-solid:trash) is a free SVG icon from the Font Awesome 5 Solid set by Dave Gandy. It is drawn on a 448 × 512 grid. Font Awesome 5 Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Font Awesome 5 Solid
- Author
- Dave Gandy
- License
- CC-BY-4.0
- Size
- 448 × 512
- Category
- Objects, Editors, Interfaces
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="448" height="512" viewBox="0 0 448 512"><path fill="currentColor" d="M432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16M53.2 467a48 48 0 0 0 47.9 45h245.8a48 48 0 0 0 47.9-45L416 128H32z"/></svg>How to use the Trash icon
React
import { Icon } from "@iconify/react";
<Icon icon="fa-solid:trash" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fa-solid:trash" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fa-solid:trash" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fa-solid--trash]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fa-solid -->
<div class="i-fa-solid:trash"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fa-solid:trash"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fa-solid/trash.svg" alt="Trash icon" width="24" height="24">Related icons in Font Awesome 5 Solid
Trash icon in other icon sets
Trash icon FAQ
Is the Trash icon free for commercial use?
Yes. Font Awesome 5 Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Trash icon in React?
Install @iconify/react and render <Icon icon="fa-solid:trash" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Trash icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/fa-solid/trash.svg" alt="Trash icon">, or paste the SVG code inline to style it with CSS.