ICONYZ
English
Trash Can icon from Font Awesome 6 Regular

Trash Can icon

fa6-regular:trash-can

The Trash Can icon (fa6-regular:trash-can) is a free SVG icon from the Font Awesome 6 Regular set by Dave Gandy. It is drawn on a 448 × 512 grid. Font Awesome 6 Regular 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 6 Regular
Author
Dave Gandy
License
CC-BY-4.0
Size
448 × 512
Tags
trashcan
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="448" height="512" viewBox="0 0 448 512"><path fill="currentColor" d="m170.5 51.6l-19 28.4h145l-19-28.4c-1.5-2.2-4-3.6-6.7-3.6h-93.7c-2.7 0-5.2 1.3-6.7 3.6zm147-26.6l36.7 55H424c13.3 0 24 10.7 24 24s-10.7 24-24 24h-8v304c0 44.2-35.8 80-80 80H112c-44.2 0-80-35.8-80-80V128h-8c-13.3 0-24-10.7-24-24s10.7-24 24-24h69.8l36.7-55.1C140.9 9.4 158.4 0 177.1 0h93.7c18.7 0 36.2 9.4 46.6 24.9zM80 128v304c0 17.7 14.3 32 32 32h224c17.7 0 32-14.3 32-32V128zm80 64v208c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16m80 0v208c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16m80 0v208c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16"/></svg>

How to use the Trash Can icon

React

import { Icon } from "@iconify/react";

<Icon icon="fa6-regular:trash-can" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="fa6-regular:trash-can" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="fa6-regular:trash-can" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[fa6-regular--trash-can]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/fa6-regular -->
<div class="i-fa6-regular:trash-can"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="fa6-regular:trash-can"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/fa6-regular/trash-can.svg" alt="Trash Can icon" width="24" height="24">

Trash Can icon in other icon sets

Trash Can icon FAQ

Is the Trash Can icon free for commercial use?

Yes. Font Awesome 6 Regular 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 Can icon in React?

Install @iconify/react and render <Icon icon="fa6-regular:trash-can" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Trash Can icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/fa6-regular/trash-can.svg" alt="Trash Can icon">, or paste the SVG code inline to style it with CSS.

Browse all Font Awesome 6 Regular icons →