Trash One icon
mynaui:trash-one
The Trash One icon (mynaui:trash-one) 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
- Tags
- trashone
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 7l-.886 10.342c-.111 1.29-.166 1.936-.453 2.424a2.5 2.5 0 0 1-1.078.99c-.511.244-1.16.244-2.455.244h-2.256c-1.296 0-1.944 0-2.455-.244a2.5 2.5 0 0 1-1.078-.99c-.287-.488-.342-1.134-.453-2.424L6 7m-1.5-.5h4.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 One icon
React
import { Icon } from "@iconify/react";
<Icon icon="mynaui:trash-one" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="mynaui:trash-one" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="mynaui:trash-one" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[mynaui--trash-one]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/mynaui -->
<div class="i-mynaui:trash-one"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="mynaui:trash-one"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/mynaui/trash-one.svg" alt="Trash One icon" width="24" height="24">Related icons in Myna UI Icons
Trash One icon FAQ
Is the Trash One 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 One icon in React?
Install @iconify/react and render <Icon icon="mynaui:trash-one" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Trash One icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/mynaui/trash-one.svg" alt="Trash One icon">, or paste the SVG code inline to style it with CSS.