ICONYZ
English
Trash Solid icon from Myna UI Icons

Trash Solid icon

mynaui:trash-solid

The Trash Solid icon (mynaui:trash-solid) 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
trashsolid
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m15.241 3.721l.293 2.029H19.5a.75.75 0 0 1 0 1.5h-.769l-.873 10.185c-.053.62-.096 1.13-.165 1.542c-.07.429-.177.813-.386 1.169a3.25 3.25 0 0 1-1.401 1.287c-.372.177-.764.25-1.198.284c-.417.033-.928.033-1.55.033h-2.316c-.622 0-1.133 0-1.55-.033c-.434-.034-.826-.107-1.198-.284a3.25 3.25 0 0 1-1.401-1.287c-.21-.356-.315-.74-.386-1.169c-.069-.413-.112-.922-.165-1.542L5.269 7.25H4.5a.75.75 0 0 1 0-1.5h3.966l.293-2.029l.011-.061c.182-.79.86-1.41 1.71-1.41h3.04c.85 0 1.528.62 1.71 1.41zM9.981 5.75h4.037l-.256-1.776c-.048-.167-.17-.224-.243-.224h-3.038c-.073 0-.195.057-.243.224zm1.269 4.75a.75.75 0 0 0-1.5 0v5a.75.75 0 0 0 1.5 0zm3 0a.75.75 0 0 0-1.5 0v5a.75.75 0 0 0 1.5 0z"/></svg>

How to use the Trash Solid icon

React

import { Icon } from "@iconify/react";

<Icon icon="mynaui:trash-solid" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="mynaui:trash-solid" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="mynaui:trash-solid" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[mynaui--trash-solid]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/mynaui -->
<div class="i-mynaui:trash-solid"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="mynaui:trash-solid"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/mynaui/trash-solid.svg" alt="Trash Solid icon" width="24" height="24">

Related icons in Myna UI Icons

Trash Solid icon in other icon sets

Trash Solid icon FAQ

Is the Trash Solid 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 Solid icon in React?

Install @iconify/react and render <Icon icon="mynaui: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/mynaui/trash-solid.svg" alt="Trash Solid icon">, or paste the SVG code inline to style it with CSS.

Browse all Myna UI Icons →