ICONYZ
English
Trash icon from SmartIcons Glyph

Trash icon

si-glyph:trash

The Trash icon (si-glyph:trash) is a free SVG icon from the SmartIcons Glyph set by SmartIcons. It is drawn on a 16 × 24 grid. SmartIcons Glyph icons are released under the CC BY SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
SmartIcons Glyph
Author
SmartIcons
License
CC-BY-SA-4.0
Size
16 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="24" viewBox="0 0 16 24"><path fill="currentColor" fill-rule="evenodd" d="m1.982 5.073l1.025 10.266c0 .366.307.661.684.661h7.58a.673.673 0 0 0 .684-.661L12.98 5.073zm6.051 8.995H6.961V6.989h1.072zm2 0H8.961l1-7.079h1.072zm-4 0H4.961l-1-7.079h1.072zm7.042-11.963H9.937V.709C9.937.317 9.481 0 9.081 0H5.986c-.4 0-.955.225-.955.615v1.396l-3.145.094a.717.717 0 0 0-.727.708v1.155H13.8V2.813a.715.715 0 0 0-.725-.708M5.947 1.44c0-.312.351-.565.783-.565h1.564c.432 0 .782.254.782.565v.665h-3.13z"/></svg>

How to use the Trash icon

React

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

<Icon icon="si-glyph:trash" width="24" />

Vue

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

<template>
  <Icon icon="si-glyph:trash" width="24" />
</template>

Svelte

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

<Icon icon="si-glyph:trash" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="si-glyph:trash"></iconify-icon>

HTML image

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

Trash icon in other icon sets

Trash icon FAQ

Is the Trash icon free for commercial use?

Yes. SmartIcons Glyph icons are released under the CC BY SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.

How do I use the Trash icon in React?

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

Browse all SmartIcons Glyph icons →