Trash icon
ooui:trash
The Trash icon (ooui:trash) is a free SVG icon from the OOUI set by OOUI Team. It is drawn on a 20 × 20 grid. OOUI 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M10 0a3 3 0 0 1 3 3v1h5v2h-2v14H4V6H2V4h5V3a3 3 0 0 1 3-3M6 18h8V6H6zm4-16a1 1 0 0 0-1 1v1h2V3a1 1 0 0 0-1-1"/></svg>How to use the Trash icon
React
import { Icon } from "@iconify/react";
<Icon icon="ooui:trash" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ooui:trash" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ooui:trash" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ooui--trash]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ooui -->
<div class="i-ooui:trash"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ooui:trash"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ooui/trash.svg" alt="Trash icon" width="24" height="24">Trash icon in other icon sets
Trash icon FAQ
Is the Trash icon free for commercial use?
Yes. OOUI icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Trash icon in React?
Install @iconify/react and render <Icon icon="ooui: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/ooui/trash.svg" alt="Trash icon">, or paste the SVG code inline to style it with CSS.