ICONYZ
English
Trash Fill icon from IconaMoon

Trash Fill icon

iconamoon:trash-fill

The Trash Fill icon (iconamoon:trash-fill) is a free SVG icon from the IconaMoon set by Dariush Habibpour. It is drawn on a 24 × 24 grid. IconaMoon icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
IconaMoon
Author
Dariush Habibpour
License
CC-BY-4.0
Size
24 × 24
Category
General
Tags
trashfill
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M8.106 2.553A1 1 0 0 1 9 2h6a1 1 0 0 1 .894.553L17.618 6H20a1 1 0 1 1 0 2h-1v11a3 3 0 0 1-3 3H8a3 3 0 0 1-3-3V8H4a1 1 0 0 1 0-2h2.382zM14.382 4l1 2H8.618l1-2zM11 11a1 1 0 1 0-2 0v6a1 1 0 1 0 2 0zm4 0a1 1 0 1 0-2 0v6a1 1 0 1 0 2 0z" clip-rule="evenodd"/></svg>

How to use the Trash Fill icon

React

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

<Icon icon="iconamoon:trash-fill" width="24" />

Vue

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

<template>
  <Icon icon="iconamoon:trash-fill" width="24" />
</template>

Svelte

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

<Icon icon="iconamoon:trash-fill" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="iconamoon:trash-fill"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/iconamoon/trash-fill.svg" alt="Trash Fill icon" width="24" height="24">

Related icons in IconaMoon

Trash Fill icon in other icon sets

Trash Fill icon FAQ

Is the Trash Fill icon free for commercial use?

Yes. IconaMoon icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Trash Fill icon in React?

Install @iconify/react and render <Icon icon="iconamoon:trash-fill" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Trash Fill icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/iconamoon/trash-fill.svg" alt="Trash Fill icon">, or paste the SVG code inline to style it with CSS.

Browse all IconaMoon icons →