ICONYZ
English
Trash icon from Radix Icons

Trash icon

radix-icons:trash

The Trash icon (radix-icons:trash) is a free SVG icon from the Radix Icons set by WorkOS. It is drawn on a 15 × 15 grid. Radix 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
Radix Icons
Author
WorkOS
License
MIT
Size
15 × 15
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><path fill="currentColor" d="M11.5 3a.5.5 0 0 1 0 1H11v8l-.005.102a1 1 0 0 1-.893.893L10 13H5l-.103-.005a1 1 0 0 1-.892-.893L4 12V4h-.5a.5.5 0 0 1 0-1zM5 12h5V4H5zM9.5 1a.5.5 0 0 1 0 1h-4a.5.5 0 0 1 0-1z"/></svg>

How to use the Trash icon

React

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

<Icon icon="radix-icons:trash" width="24" />

Vue

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

<template>
  <Icon icon="radix-icons:trash" width="24" />
</template>

Svelte

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

<Icon icon="radix-icons:trash" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="radix-icons:trash"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/radix-icons/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. Radix 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="radix-icons: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/radix-icons/trash.svg" alt="Trash icon">, or paste the SVG code inline to style it with CSS.

Browse all Radix Icons →