Skip to content

Trash

The trash icon represents a trash can or a delete action.

Exports at 24 × 24 px

Trash icon from css.gg
Get Pro

Code

Trash in your framework

In any framework. Customize it above, and the code follows.

export const TrashIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" {...props}>
    <g fill="currentColor"><path fillRule="evenodd" d="M17 5V4a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v1H4a1 1 0 0 0 0 2h1v11a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V7h1a1 1 0 1 0 0-2zm-2-1H9v1h6zm2 3H7v11a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1z" clipRule="evenodd"/><path d="M9 9h2v8H9zm4 0h2v8h-2z"/></g>
  </svg>
);

Other libraries

Trash in 8 more libraries

Each library draws it its own way. Open one to compare.

css.gg

Icons that share its tags, in the same style.

  • Trash Empty icon from css.gg
  • Compress Left icon from css.gg
  • Compress Right icon from css.gg
  • Compress V icon from css.gg
  • Align Middle icon from css.gg
  • Align Right icon from css.gg
  • Align Top icon from css.gg
  • Anchor icon from css.gg
  • Apple Watch icon from css.gg
  • Arrange Back icon from css.gg
  • Arrange Front icon from css.gg
  • Arrow Align H icon from css.gg
  • Arrow Align V icon from css.gg
  • Arrow Bottom Left icon from css.gg
  • Arrow Left R icon from css.gg
  • Arrow Long Down icon from css.gg
  • Arrow Long Left icon from css.gg
  • Components icon from css.gg
  • Corner Double Right Down icon from css.gg
  • Corner Double Right Up icon from css.gg
  • Corner Double Up Left icon from css.gg
  • Corner Double Up Right icon from css.gg
  • Corner Down Left icon from css.gg
  • Corner Down Right icon from css.gg

Skip the copy and paste. With Pro, your AI agent finds and installs any css.gg icon from a prompt.

Get Pro

Pricing

css.gg MCP, with Pro

Ask for Trash or any of 704 css.gg icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What the Trash icon means and where it's used, then how to install, style, label and license it.

4.9 out of 5 from 150+ developers

Install Trash from a prompt

MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.

Get Pro