Trash Bin icon
gravity-ui:trash-bin
The Trash Bin icon (gravity-ui:trash-bin) is a free SVG icon from the Gravity UI Icons set by YANDEX LLC. It is drawn on a 24 × 24 grid. Gravity UI Icons 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
- Gravity UI Icons
- Author
- YANDEX LLC
- License
- MIT
- Size
- 24 × 24
- Tags
- trashbin
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M9 2H7a.5.5 0 0 0-.5.5V3h3v-.5A.5.5 0 0 0 9 2m2 1v-.5a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2V3H2.251a.75.75 0 0 0 0 1.5h.312l.317 7.625A3 3 0 0 0 5.878 15h4.245a3 3 0 0 0 2.997-2.875l.318-7.625h.312a.75.75 0 0 0 0-1.5zm.936 1.5H4.064l.315 7.562A1.5 1.5 0 0 0 5.878 13.5h4.245a1.5 1.5 0 0 0 1.498-1.438zm-6.186 2v5a.75.75 0 0 0 1.5 0v-5a.75.75 0 0 0-1.5 0m3.75-.75a.75.75 0 0 1 .75.75v5a.75.75 0 0 1-1.5 0v-5a.75.75 0 0 1 .75-.75" clip-rule="evenodd"/></svg>How to use the Trash Bin icon
React
import { Icon } from "@iconify/react";
<Icon icon="gravity-ui:trash-bin" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="gravity-ui:trash-bin" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="gravity-ui:trash-bin" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[gravity-ui--trash-bin]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/gravity-ui -->
<div class="i-gravity-ui:trash-bin"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="gravity-ui:trash-bin"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/gravity-ui/trash-bin.svg" alt="Trash Bin icon" width="24" height="24">Trash Bin icon in other icon sets
Trash Bin icon FAQ
Is the Trash Bin icon free for commercial use?
Yes. Gravity UI Icons 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="gravity-ui: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/gravity-ui/trash-bin.svg" alt="Trash Bin icon">, or paste the SVG code inline to style it with CSS.