ICONYZ
English
Trashcan icon from Arcticons

Trashcan icon

arcticons:trashcan

The Trashcan icon (arcticons:trashcan) is a free SVG icon from the Arcticons set by Donnnno. It is drawn on a 48 × 48 grid. Arcticons 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
Arcticons
Author
Donnnno
License
CC-BY-SA-4.0
Size
48 × 48
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M31.945 7.624L28.84 4.5h-9.68l-3.105 3.124H8.872v4.647h30.256V7.624zm-19.9 4.647h23.95v28.124A3.106 3.106 0 0 1 32.89 43.5H15.15a3.106 3.106 0 0 1-3.105-3.105zM24 17.886v20m6-20v20m-12-20v20"/></svg>

How to use the Trashcan icon

React

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

<Icon icon="arcticons:trashcan" width="24" />

Vue

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

<template>
  <Icon icon="arcticons:trashcan" width="24" />
</template>

Svelte

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

<Icon icon="arcticons:trashcan" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[arcticons--trashcan]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/arcticons -->
<div class="i-arcticons:trashcan"></div>

Web component

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

<iconify-icon icon="arcticons:trashcan"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/arcticons/trashcan.svg" alt="Trashcan icon" width="24" height="24">

Trashcan icon in other icon sets

Trashcan icon FAQ

Is the Trashcan icon free for commercial use?

Yes. Arcticons 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 Trashcan icon in React?

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

How do I add the Trashcan icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/arcticons/trashcan.svg" alt="Trashcan icon">, or paste the SVG code inline to style it with CSS.

Browse all Arcticons →