Trash icon
andrsrxn:trash
The Trash icon (andrsrxn:trash) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/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
- andrsrxn/icons
- Author
- Andrés Raxón
- License
- MIT
- Size
- 24 × 24
- Category
- Tools
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="M13.54 22.02c1.58 0 2.37 0 2.93-.46c.55-.46.7-1.24 1-2.8l1.61-8.49c.42-2.2.63-3.3.03-4.02c-.6-.73-1.72-.73-3.96-.73H9.2c-2.14 0-3.22 0-3.81.7c-.6.68-.45 1.74-.15 3.87l1.21 8.5c.23 1.63.35 2.45.91 2.94c.57.5 1.4.5 3.05.5z" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M19.47 6.14L17.8 17.27c-.34 2.29-.5 3.43-1.27 4.14q-.09.1-.2.17c-.81.65-1.97.65-4.28.65c-2.3 0-3.46 0-4.27-.64l-.2-.17c-.76-.71-.93-1.85-1.28-4.12L4.59 6.14m5.47 9.59v-5.3m3.88 5.3v-5.3M3.53 5.7h16.94M17 5.52l-.27-.63c-.53-1.23-.8-1.85-1.25-2.28a3 3 0 0 0-.86-.57c-.57-.24-1.24-.24-2.59-.24c-1.32 0-1.98 0-2.55.24a3 3 0 0 0-.86.56c-.45.42-.72 1.02-1.25 2.23l-.31.7"/></g></svg>How to use the Trash icon
React
import { Icon } from "@iconify/react";
<Icon icon="andrsrxn:trash" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="andrsrxn:trash" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="andrsrxn:trash" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--trash]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:trash"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="andrsrxn:trash"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/andrsrxn/trash.svg" alt="Trash icon" width="24" height="24">Related icons in andrsrxn/icons
Trash icon in other icon sets
Trash icon FAQ
Is the Trash icon free for commercial use?
Yes. andrsrxn/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="andrsrxn: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/andrsrxn/trash.svg" alt="Trash icon">, or paste the SVG code inline to style it with CSS.