Icons

Ionicons Trash Icon

IconStash indexes the Trash icon from Ionicons alongside 134,701 icons from 28 open-source libraries. It a clean SVG vector format, making it well suited for general-purpose product UIs, design systems, component libraries, web applications, and marketing sites. Set an exact pixel size from 16px to 512px and download a lossless PNG in one click.

Interactive Customizer

1.5px
128px

About this icon

Use the Trash icon

The Trash icon from Ionicons fits naturally in general-purpose product UIs, design systems, component libraries, web applications, and marketing sites. Its fill style makes it ideal for interface components and product UI.

Open it in IconStash to set stroke color via presets or a custom hex value, choose an exact pixel size (16–512px), control stroke width (0.1–3px), and preview against dark, light, or checkered backgrounds before downloading.

Export formats

Copy clean SVG vectors with one click, generate custom-size PNG files from 16px to 512px, export JSX/React components ready to paste into your project, or use the icon as a CSS background-mask for flexible theming.

All exports are based on the same editable vector — so the Trash icon stays pixel-perfect at 16px, 24px, 48px, and any large marketing size.

Design & UX integration

Aesthetic characteristics

Ionicons ships Trash in Outline, Filled and Sharp variants. Sharp drops the rounded corners for a more angular look, which makes the set unusually flexible — the same icon can read as approachable or as technical depending on which variant you pick.

UX best practices

As a general interface glyph, the Trash icon does its job best between 16px and 24px, sitting next to a text label. Icon-only treatments work for a small set of universally understood actions, but comprehension falls off quickly once the action is specific to your product — so when in doubt, add the word.

Use in your project

React / npm — Ionicons

npm install @ionic/react ionicons

import { IonIcon } from '@ionic/react';
import { trash } from 'ionicons/icons';

// JSX usage:
<IonIcon icon={trash} style={{ fontSize: '24px' }} />

Copy the SVG markup directly from the IconStash editor to use the Trash icon without any npm package — paste it into HTML, JSX, or a design tool.

Inline SVG (copy & paste)

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="trash icon"><path fill="none" d="M296 64h-80a7.91 7.91 0 0 0-8 8v24h96V72a7.91 7.91 0 0 0-8-8"/><path fill="currentColor" d="M432 96h-96V72a40 40 0 0 0-40-40h-80a40 40 0 0 0-40 40v24H80a16 16 0 0 0 0 32h17l19 304.92c1.42 26.85 22 47.08 48 47.08h184c26.13 0 46.3-19.78 48-47l19-305h17a16 16 0 0 0 0-32M192.57 416H192a16 16 0 0 1-16-15.43l-8-224a16 16 0 1 1 32-1.14l8 224A16 16 0 0 1 192.57 416M272 400a16 16 0 0 1-32 0V176a16 16 0 0 1 32 0Zm32-304h-96V72a7.91 7.91 0 0 1 8-8h80a7.91 7.91 0 0 1 8 8Zm32 304.57A16 16 0 0 1 320 416h-.58A16 16 0 0 1 304 399.43l8-224a16 16 0 1 1 32 1.14Z"/></svg>

Library & related icons

About Ionicons

Beautifully crafted open-source icons built for Ionic Framework. 2,600+ icons in Outline, Filled, and Sharp variants — works in any web framework.

  • Total icons: 2,607+
  • Style: multi-style
  • License: MIT
  • npm package: ionicons
Browse all 2,607 Ionicons icons →

People also search for

Frequently asked questions

What is the Trash icon?

The Trash icon is a fill-style SVG icon from the Ionicons library, categorized under Interface. It is designed for use in general-purpose product UIs, design systems, component libraries, web applications, and marketing sites. On IconStash you can preview it, customize its color and size, and export it in SVG, PNG, JSX, or CSS formats directly from your browser.

Is the Trash icon free to use?

Yes. Ionicons is licensed under MIT, making it free for personal and commercial use. This means you can freely use the Trash icon in personal, commercial, and open-source projects. IconStash provides SVG and PNG access at no cost with no login required.

How do I use the Trash icon in React?

Install the package with `npm install ionicons`, then import the component into your React file. IconStash's detail panel shows you the exact npm command, import statement, and JSX usage snippet for every icon — just click the Code tab and copy with one click.

What is the Ionicons icon library?

Beautifully crafted open-source icons built for Ionic Framework. 2,600+ icons in Outline, Filled, and Sharp variants — works in any web framework. It contains 2,607+ icons. IconStash indexes the complete Ionicons collection alongside 27 other open-source libraries — 134,701 icons total — in a single unified search interface.

Can I download the Trash icon as a PNG?

Yes. Open the Trash icon in IconStash, set your desired pixel size (16px to 512px) in the detail panel, and click Download PNG. You can also export a multi-resolution ZIP pack containing 16, 24, 32, 48, 64, 128, 256, and 512px PNGs with a single click.

What does the fill icon style mean?

An icon in fill style uses a clean SVG vector format. This style is best suited for interface components. The Ionicons Trash icon follows this visual convention throughout the Ionicons design system.

Can I change the Trash icon's color and size before downloading?

Yes. In IconStash's editor panel, choose from six color presets (blue, slate, green, purple, red, teal) or enter a custom hex value. Drag the size slider (16–256px) or type an exact pixel value up to 512px. Changes apply instantly to the SVG preview, the PNG output, and the copied code.