Trash 2 icon
matita:trash-2
The Trash 2 icon (matita:trash-2) is a free SVG icon from the Matita set by matita.dev. It is drawn on a 24 × 24 grid. Matita 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
- Matita
- Author
- matita.dev
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.6"><path stroke-width="1.376" d="M3.96 6.43q8.26-.21 16.53.03"/><path d="M9.01 6.63q.43-1.27.68-2.6q2.35-.17 4.71-.23q.26 1.55.69 3.07"/><path stroke-width="1.376" d="M6.17 6.23q.31 6.9.88 13.8q5.07.04 10.13-.17q.66-6.87.88-13.77"/><path stroke-width="1.488" d="M9.95 9.81q.11 3.47.35 6.94"/><path stroke-width="1.648" d="M14.18 9.91q-.25 3.35-.59 6.69"/></g></svg>How to use the Trash 2 icon
React
import { Icon } from "@iconify/react";
<Icon icon="matita:trash-2" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="matita:trash-2" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="matita:trash-2" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[matita--trash-2]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/matita -->
<div class="i-matita:trash-2"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="matita:trash-2"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/matita/trash-2.svg" alt="Trash 2 icon" width="24" height="24">Related icons in Matita
Trash 2 icon in other icon sets
Trash 2 icon FAQ
Is the Trash 2 icon free for commercial use?
Yes. Matita icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Trash 2 icon in React?
Install @iconify/react and render <Icon icon="matita:trash-2" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Trash 2 icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/matita/trash-2.svg" alt="Trash 2 icon">, or paste the SVG code inline to style it with CSS.