Trash Solid icon
clarity:trash-solid
The Trash Solid icon (clarity:trash-solid) is a free SVG icon from the Clarity set by VMware. It is drawn on a 36 × 36 grid. Clarity 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="36" height="36" viewBox="0 0 36 36"><path fill="currentColor" d="M6 9v22a2.93 2.93 0 0 0 2.86 3h18.23A2.93 2.93 0 0 0 30 31V9Zm9 20h-2V14h2Zm8 0h-2V14h2Z" class="clr-i-solid clr-i-solid-path-1"/><path fill="currentColor" d="M30.73 5H23V4a2 2 0 0 0-2-2h-6.2A2 2 0 0 0 13 4v1H5a1 1 0 1 0 0 2h25.73a1 1 0 0 0 0-2" class="clr-i-solid clr-i-solid-path-2"/><path fill="none" d="M0 0h36v36H0z"/></svg>How to use the Trash Solid icon
React
import { Icon } from "@iconify/react";
<Icon icon="clarity:trash-solid" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="clarity:trash-solid" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="clarity:trash-solid" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[clarity--trash-solid]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/clarity -->
<div class="i-clarity:trash-solid"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="clarity:trash-solid"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/clarity/trash-solid.svg" alt="Trash Solid icon" width="24" height="24">Related icons in Clarity
Trash Solid icon in other icon sets
Trash Solid icon FAQ
Is the Trash Solid icon free for commercial use?
Yes. Clarity icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Trash Solid icon in React?
Install @iconify/react and render <Icon icon="clarity:trash-solid" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Trash Solid icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/clarity/trash-solid.svg" alt="Trash Solid icon">, or paste the SVG code inline to style it with CSS.