Skip to content

Trash

The Trash icon is a visual representation of the action to delete or remove something.

Add shadcn.io to your AI agent. · Pro It installs Trash, or any of 294k icons, from a prompt, with Pro.

Set up MCP

Exports at 24 × 24 px

Trash icon from CodeX Icons
Get Pro

78 in CodeX IconsMIT license (opens in a new tab)Free to copy and download

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" fill="none" stroke="currentColor" {...props}>
    <path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M18.133 7.723q.435.06.867.128m-.867-.128l-.906 9.68c-.037.434-.254.84-.607 1.136a2.02 2.02 0 0 1-1.297.461H8.677c-.48 0-.944-.164-1.297-.46a1.67 1.67 0 0 1-.607-1.138l-.906-9.679m12.266 0a45 45 0 0 0-2.951-.305m-9.315.305q-.435.06-.867.127m.867-.127a45 45 0 0 1 2.951-.305m6.364 0a45.5 45.5 0 0 0-6.364 0m6.364 0c0-2.114-1.455-3.07-3.182-3.07S8.818 5.44 8.818 7.418M10.5 15.5L10 11m4 0l-.5 4.5"/>
  </svg>
);

Other libraries

Trash in 8 more libraries

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

  • Trash icon from Phosphor
  • Trash icon from Tabler Icons
  • Trash icon from Myna UI Icons
  • Trash icon from IonIcons
  • Trash icon from Bootstrap Icons
  • Trash icon from Font Awesome Solid
  • Trash icon from IconaMoon
  • Trash icon from Iconoir

CodeX Icons

Icons that share its tags, then the ones next to it in CodeX Icons, in the same style.

  • Strikethrough icon from CodeX Icons
  • Remove Background icon from CodeX Icons
  • Replace icon from CodeX Icons
  • Save icon from CodeX Icons
  • Search icon from CodeX Icons
  • Star icon from CodeX Icons
  • Stretch icon from CodeX Icons
  • Table icon from CodeX Icons
  • Table With Headings icon from CodeX Icons
  • Table Without Headings icon from CodeX Icons
  • Text icon from CodeX Icons
  • Translate icon from CodeX Icons
  • Twitter icon from CodeX Icons
  • Underline icon from CodeX Icons
  • Undo icon from CodeX Icons
  • Unlink icon from CodeX Icons
  • User icon from CodeX Icons
  • Users Group icon from CodeX Icons
  • Warning icon from CodeX Icons

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

Get Pro

Tags

Browse by tag

Trash is tagged delete, remove, trash and 1 more. Related tags follow; each opens its icons from every library.

Pricing

CodeX Icons MCP, with Pro

Ask for Trash or any of 78 CodeX Icons 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.

Billed once a year in USD. Cancel anytime.

Individual

For personal projects & open source

$32instead of $49/mo

$389 billed yearly

  • How many people can use the license.Seats: 1 seat
  • Client work, SaaS products and anything you charge for.Commercial use: Personal & open source only
  • Production-ready React sections: hero, pricing, features, dashboards and more.Pro blocks: 6,000+ blocks
  • Complete multi-page sites you can ship as they are.Templates: All 14 templates
  • React icons from every major library, installable with one command.React icons: 294k+ icons
  • Presets that restyle every block, in light and dark.Themes: All 59 themes
  • Lets your AI editor search, preview and install blocks for you.MCP server: Basic usage
  • Priority requests are answered first.Support: Standard

Team

Most popular

For freelancers, agencies & startups

$66instead of $99/mo

$789 billed yearly · ≈ $13/dev/mo

Everything in Individual, plus

  • How many people can use the license.Seats: Up to 5 seats
  • Client work, SaaS products and anything you charge for.Commercial use: Included
  • Lets your AI editor search, preview and install blocks for you.MCP server: High usage
  • Priority requests are answered first.Support: Priority

Organization

For companies with larger teams

$132instead of $199/mo

$1,589 billed yearly

Everything in Team, plus

  • How many people can use the license.Seats: Unlimited seats
  • Lets your AI editor search, preview and install blocks for you.MCP server: Unlimited usage
  • 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 and license it.

Install Trash from a prompt

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

Get Pro