1. Icon Monks
  2. Interface icons
  3. Trash X

Trash X icon

The trash x icon is a free interface icon from Icon Monks, drawn as one clean path on a 256-unit grid in six weights. It is free for personal and commercial use under the MIT license.

Trash X icon, thin weight
Thin
SVG
Trash X icon, light weight
Light
SVG
Trash X icon, regular weight
Regular
SVG
Trash X icon, bold weight
Bold
SVG
Trash X icon, fill weight
Fill
SVG
Trash X icon, duotone weight
Duotone
SVG

Open in the icon browserCustomize size and color, then download PNG, WebP or PDF.

About the trash x icon

It is the trash icon with an x badge, for cancelling, closing or deleting, so it keeps the exact outline of the trash icon. Use it to stand for delete permanently, trash and remove. The regular weight is a single path made of 4 shapes, and the duotone weight adds a 20% tint behind the outline.

Pairs well with the garbage truck, book minus and chat minus icons, which share the “trash” theme. Use the same weight for all of them so they read as one set.

When to use the trash x icon

It belongs to the interface set, made for buttons, menus, toolbars and app navigation. Pair it with the related icons below so a screen stays in one visual style.

Use the trash x icon in your code

React

import { TrashX } from '@icon-monks/react';

<TrashX size={24} />

Vue

<script setup>
import { TrashX } from '@icon-monks/vue';
</script>

<TrashX :size="24" />

Web component

<icon-monks name="trash-x" size="24"></icon-monks>

Icon font

<i class="im im-trash-x"></i>

Flutter

Icon(IconMonks.trashX)

SwiftUI

Image(iconMonks: .trashX)

Compose

import com.designmonks.icons.IconMonks
import com.designmonks.icons.regular.TrashX

Icon(IconMonks.Regular.TrashX, contentDescription = null)

Need setup steps? See the getting started guide or the page for React, Flutter, SwiftUI or Jetpack Compose.

Tags

Related interface icons

See all 489 interface icons

Similar icons in other categories

Questions about the trash x icon

Is the trash x icon free for commercial use?

Yes. The trash x icon is released under the MIT license, so you can use it in personal, client and commercial projects without paying or adding credit in your interface.

How do I change the color and size of the trash x icon?

The icon draws in currentColor, so it takes the text color around it. In React, Vue and the web component, set the size and color props; in the icon browser, pick a color and size before you download a PNG, WebP, SVG or PDF.

What is the difference between the trash x and trash icons?

The trash x icon is the trash icon with an x badge, for cancelling, closing or deleting. Both share the same outline and come in all six weights, so you can swap one for the other to show a change of state.

Last updated with version 0.4.3. Release notes