ICONYZ
English
Trash icon from Pepicons Print

Trash icon

pepicons-print:trash

The Trash icon (pepicons-print:trash) is a free SVG icon from the Pepicons Print set by CyCraft. It is drawn on a 20 × 20 grid. Pepicons Print 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
Pepicons Print
Author
CyCraft
License
CC-BY-4.0
Size
20 × 20
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><g fill="currentColor"><g opacity=".2"><rect width="10" height="11.5" x="7" y="7" rx="1"/><path fill-rule="evenodd" d="M10.016 4.25A2 2 0 0 1 12 2.5c1.018 0 1.86.765 1.984 1.75H17a.75.75 0 0 1 0 1.5H7a.75.75 0 0 1 0-1.5z" clip-rule="evenodd"/></g><path d="M8.5 14.999a.5.5 0 1 1-1 0v-6a.5.5 0 0 1 1 0zm2 0a.5.5 0 1 1-1 0v-6a.5.5 0 0 1 1 0zm2 0a.5.5 0 1 1-1 0v-6a.5.5 0 0 1 1 0zm-1-10.5h-3a1.501 1.501 0 0 1 3-.001"/><path d="M4.5 4.999a.5.5 0 1 1 0-1h11a.5.5 0 0 1 0 1z"/><path fill-rule="evenodd" d="M14.5 5.5h-9A.5.5 0 0 0 5 6v11a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5V6a.5.5 0 0 0-.5-.5M6 16.5v-10h8v10z" clip-rule="evenodd"/></g></svg>

How to use the Trash icon

React

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

<Icon icon="pepicons-print:trash" width="24" />

Vue

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

<template>
  <Icon icon="pepicons-print:trash" width="24" />
</template>

Svelte

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

<Icon icon="pepicons-print:trash" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="pepicons-print:trash"></iconify-icon>

HTML image

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

Related icons in Pepicons Print

Trash icon in other icon sets

Trash icon FAQ

Is the Trash icon free for commercial use?

Yes. Pepicons Print 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 icon in React?

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

Browse all Pepicons Print icons →