Trash icon
mynaui:trash
The Trash icon (mynaui:trash) is a free SVG icon from the Myna UI Icons set by Praveen Juge. It is drawn on a 24 × 24 grid. Myna 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
- Myna UI Icons
- Author
- Praveen Juge
- License
- MIT
- Size
- 24 × 24
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="1.5" d="m18 9l-.84 8.398c-.127 1.273-.19 1.909-.48 2.39a2.5 2.5 0 0 1-1.075.973C15.098 21 14.46 21 13.18 21h-2.36c-1.279 0-1.918 0-2.425-.24a2.5 2.5 0 0 1-1.076-.973c-.288-.48-.352-1.116-.48-2.389L6 9m7.5 6.5v-5m-3 5v-5m-6-4h4.615m0 0l.386-2.672c.112-.486.516-.828.98-.828h3.038c.464 0 .867.342.98.828l.386 2.672m-5.77 0h5.77m0 0H19.5"/></svg>How to use the Trash icon
React
import { Icon } from "@iconify/react";
<Icon icon="mynaui:trash" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="mynaui:trash" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="mynaui:trash" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[mynaui--trash]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/mynaui -->
<div class="i-mynaui:trash"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="mynaui:trash"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/mynaui/trash.svg" alt="Trash icon" width="24" height="24">Related icons in Myna UI Icons
Trash icon in other icon sets
Trash icon FAQ
Is the Trash icon free for commercial use?
Yes. Myna UI 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="mynaui: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/mynaui/trash.svg" alt="Trash icon">, or paste the SVG code inline to style it with CSS.