ICONYZ
English
Trash Line icon from Clarity

Trash Line icon

clarity:trash-line

The Trash Line icon (clarity:trash-line) is a free SVG icon from the Clarity set by VMware. It is drawn on a 36 × 36 grid. Clarity 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
Clarity
Author
VMware
License
MIT
Size
36 × 36
Category
Essential
Tags
trashline
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"><path fill="currentColor" d="M27.14 34H8.86A2.93 2.93 0 0 1 6 31V11.23h2V31a.93.93 0 0 0 .86 1h18.28a.93.93 0 0 0 .86-1V11.23h2V31a2.93 2.93 0 0 1-2.86 3" class="clr-i-outline clr-i-outline-path-1"/><path fill="currentColor" d="M30.78 9H5a1 1 0 0 1 0-2h25.78a1 1 0 0 1 0 2" class="clr-i-outline clr-i-outline-path-2"/><path fill="currentColor" d="M21 13h2v15h-2z" class="clr-i-outline clr-i-outline-path-3"/><path fill="currentColor" d="M13 13h2v15h-2z" class="clr-i-outline clr-i-outline-path-4"/><path fill="currentColor" d="M23 5.86h-1.9V4h-6.2v1.86H13V4a2 2 0 0 1 1.9-2h6.2A2 2 0 0 1 23 4Z" class="clr-i-outline clr-i-outline-path-5"/><path fill="none" d="M0 0h36v36H0z"/></svg>

How to use the Trash Line icon

React

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

<Icon icon="clarity:trash-line" width="24" />

Vue

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

<template>
  <Icon icon="clarity:trash-line" width="24" />
</template>

Svelte

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

<Icon icon="clarity:trash-line" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="clarity:trash-line"></iconify-icon>

HTML image

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

Related icons in Clarity

Trash Line icon FAQ

Is the Trash Line icon free for commercial use?

Yes. Clarity icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Trash Line icon in React?

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

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

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

Browse all Clarity icons →