Trash Bin icon
ion:trash-bin
The Trash Bin icon (ion:trash-bin) is a free SVG icon from the IonIcons set by Ben Sperry. It is drawn on a 512 × 512 grid. IonIcons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- IonIcons
- Author
- Ben Sperry
- License
- MIT
- Size
- 512 × 512
- Tags
- trashbin
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><rect width="448" height="80" x="32" y="48" fill="currentColor" rx="32" ry="32"/><path fill="currentColor" d="M74.45 160a8 8 0 0 0-8 8.83l26.31 252.56a1.5 1.5 0 0 0 0 .22A48 48 0 0 0 140.45 464h231.09a48 48 0 0 0 47.67-42.39v-.21l26.27-252.57a8 8 0 0 0-8-8.83Zm248.86 180.69a16 16 0 1 1-22.63 22.62L256 318.63l-44.69 44.68a16 16 0 0 1-22.63-22.62L233.37 296l-44.69-44.69a16 16 0 0 1 22.63-22.62L256 273.37l44.68-44.68a16 16 0 0 1 22.63 22.62L278.62 296Z"/></svg>How to use the Trash Bin icon
React
import { Icon } from "@iconify/react";
<Icon icon="ion:trash-bin" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ion:trash-bin" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ion:trash-bin" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ion--trash-bin]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ion -->
<div class="i-ion:trash-bin"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ion:trash-bin"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ion/trash-bin.svg" alt="Trash Bin icon" width="24" height="24">Related icons in IonIcons
Trash Bin icon in other icon sets
Trash Bin icon FAQ
Is the Trash Bin icon free for commercial use?
Yes. IonIcons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Trash Bin icon in React?
Install @iconify/react and render <Icon icon="ion:trash-bin" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Trash Bin icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ion/trash-bin.svg" alt="Trash Bin icon">, or paste the SVG code inline to style it with CSS.