ICONYZ
English
Trash icon from FormKit Icons

Trash icon

formkit:trash

The Trash icon (formkit:trash) is a free SVG icon from the FormKit Icons set by FormKit, Inc. It is drawn on a 24 × 24 grid. FormKit 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
FormKit Icons
Author
FormKit, Inc
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M14.5 4h-13c-.28 0-.5-.22-.5-.5s.22-.5.5-.5h13c.28 0 .5.22.5.5s-.22.5-.5.5"/><path fill="currentColor" d="m11.02 3.81l-.44-1.46a.5.5 0 0 0-.48-.36H5.9a.5.5 0 0 0-.48.36l-.44 1.46l-.96-.29l.44-1.46C4.65 1.42 5.23.99 5.9.99h4.2c.67 0 1.24.43 1.44 1.07l.44 1.46z"/><path fill="currentColor" d="M11.53 15H4.47c-.81 0-1.47-.64-1.5-1.45l-.34-9.87l1-.03l.34 9.87c0 .27.23.48.5.48h7.07c.27 0 .49-.21.5-.48l.34-9.87l1 .03l-.34 9.87c-.03.81-.69 1.45-1.5 1.45Z"/><path fill="currentColor" d="M6.5 11.62c-.28 0-.5-.22-.5-.5v-4c0-.28.22-.5.5-.5s.5.22.5.5v4c0 .28-.22.5-.5.5m3 0c-.28 0-.5-.22-.5-.5v-4c0-.28.22-.5.5-.5s.5.22.5.5v4c0 .28-.22.5-.5.5"/></svg>

How to use the Trash icon

React

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

<Icon icon="formkit:trash" width="24" />

Vue

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

<template>
  <Icon icon="formkit:trash" width="24" />
</template>

Svelte

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

<Icon icon="formkit:trash" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="formkit:trash"></iconify-icon>

HTML image

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

Browse all FormKit Icons →