Trash Empty icon
ci:trash-empty
The Trash Empty icon (ci:trash-empty) is a free SVG icon from the coolicons set by Kryston Schwarze. It is drawn on a 24 × 24 grid. coolicons 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
- coolicons
- Author
- Kryston Schwarze
- License
- CC-BY-4.0
- Size
- 24 × 24
- Category
- Interface
- Tags
- trashempty
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 6v11.8c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874c.427.218.987.218 2.105.218h5.606c1.118 0 1.677 0 2.104-.218c.377-.192.683-.498.875-.874c.218-.428.218-.987.218-2.105V6M6 6h2M6 6H4m4 0h8M8 6c0-.932 0-1.398.152-1.765a2 2 0 0 1 1.082-1.083C9.602 3 10.068 3 11 3h2c.932 0 1.398 0 1.765.152a2 2 0 0 1 1.083 1.083C16 4.602 16 5.068 16 6m0 0h2m0 0h2"/></svg>How to use the Trash Empty icon
React
import { Icon } from "@iconify/react";
<Icon icon="ci:trash-empty" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ci:trash-empty" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ci:trash-empty" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ci--trash-empty]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ci -->
<div class="i-ci:trash-empty"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ci:trash-empty"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ci/trash-empty.svg" alt="Trash Empty icon" width="24" height="24">Related icons in coolicons
Trash Empty icon in other icon sets
Trash Empty icon FAQ
Is the Trash Empty icon free for commercial use?
Yes. coolicons 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 Empty icon in React?
Install @iconify/react and render <Icon icon="ci:trash-empty" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Trash Empty icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ci/trash-empty.svg" alt="Trash Empty icon">, or paste the SVG code inline to style it with CSS.