import { Trash } from "fmicon-react";
<Trash size={24} variant="bold" />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
size | number | string | 24 | Width and height in pixels |
variant | "linear" | "bold" | … | linear | Any of the 8 styles, plus glass-light for light backgrounds |
color | string | currentColor | Any CSS colour; inherits the text colour by default |
strokeWidth | number | 1.5 | Line weight for linear, twotone, broken and duotone |
...props | SVG attributes | – | className, aria-label, onClick and the rest |
More in Essentials
What is the Trash Icon?
The trash icon is a bin with a lid, and it means delete or move this to the bin. Use it on rows, cards and selected items where people remove things they no longer want, and pair it with a confirmation or undo option so a slip of the finger is never permanent.
The waste bin metaphor came from early desktop computers, where you dragged files to the trash or wastebasket and could still fish them out later. That is why many people expect the delete icon to be recoverable. British users often call it a bin icon. It differs from the archive box, which keeps an item but hides it, and from a close cross, which only dismisses a panel or clears a field.
When to Use the Trash Icon
- Email message toolbar: a delete button that moves the open message to the bin folder.
- Shopping basket: a control on each line that removes the item from the order.
- Photo app selection bar: a button that deletes the chosen photos after a confirmation step.
- Settings danger zone: the Delete account button, paired with a typed confirmation of the account name.
The Trash Icon in Bold Style
Bold icons are solid filled shapes. They read fastest at small sizes and carry the most visual weight, which is why they work so well for the selected state of a tab or toggle.
Best for: active and selected states, small sizes and bold brands.
The same icon also comes in linear, outline, bulk, twotone, broken, glass and duotone. See every icon in this look on the free bold icons page.
How to Use the Trash Icon
- Customise it. Bold is a filled style, so pick a size and colour on the left; stroke weight doesn't apply.
- Copy or download. Copy the SVG, or download SVG, PNG or WebP at any size from 16 to 512 px.
- Drop it into code. Choose React, React Native, Vue, Svelte, Angular or Flutter above and copy the ready-made
TrashIconcomponent. - Label it. If the icon is the only thing in a button, give it a name for screen readers:
aria-label="Delete item". If text sits next to it, usearia-hidden="true"instead.
Design Tips for the Trash Icon
- Colour it red only for destructive confirmation steps; a red bin on every list row turns into visual noise and loses its warning.
- Offer an undo toast for a few seconds after deleting, which is kinder than a dialog for small, recoverable removals.
- Keep the bin away from Save or Send buttons, since accidental taps on the bin cost far more than accidental saves.
Icons That Work Well with Trash
Browse all essentials iconsTrash Icon FAQ
The trash icon deletes an item, either straight away or after a stay in the bin. The archive box keeps the item but moves it out of your main view, so you can find it later. Use archive for things people may need again, like old emails.
Usually not on every row. Keep the bin neutral in lists and toolbars, and use red for the final confirmation button or for delete actions that cannot be undone. That way red keeps meaning danger, and people notice it when it matters.
Yes. The trash icon is one of 891 free, open-source icons you can use in personal and commercial work, including client projects and apps you sell. The packages are MIT licensed; keep the licence notice if you redistribute the icon files.
SVG, PNG and WebP, at any size from 16 to 512 pixels. You can also copy it as JSX or as a ready-made component for React, React Native, Vue, Svelte, Angular and Flutter, with your stroke weight and colour already applied.