Hover the icon or press Play. Suggested motion: shake. Pick another to preview it and update the animated code:
Trash icon
A free trash icon from Phosphor Icons, ready for React. Use it static or animated: both versions are below, copy-paste or one shadcn command away. Sized in em and colored by currentColor.
- License
- MIT license
- Project
- github.com
npx shadcn@latest add https://ui.cuelark.com/r/icons/phosphor/trash.jsonimport * as React from "react";
/**
* Trash from Phosphor Icons (https://github.com/phosphor-icons/core), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/phosphor/trash. Sized in em, colored by currentColor.
*/
export function PiTrashIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
aria-hidden="true"
viewBox="0 0 256 256"
stroke="currentColor"
fill="currentColor"
strokeWidth="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path
d="M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"
/>
</svg>
);
}import { PiTrash } from "react-icons/pi";
export function Example() {
return <PiTrash className="size-5" />;
}<svg
viewBox="0 0 256 256"
stroke="currentColor"
fill="currentColor"
stroke-width="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"
/>
</svg>"Trash" icon from Phosphor Icons (https://github.com/phosphor-icons/core), licensed under MIT license.Related icons: delete, bin, remove, garbage
- trash bold
- trash duotone
- trash fill
- trash light
- trash simple
- trash simple bold
- trash simple duotone
- trash simple fill
- trash simple light
- trash simple thin
- trash thin
- article ny times
- article ny times bold
- article ny times duotone
- article ny times fill
- article ny times light
- article ny times thin
- bluetooth x
- bluetooth x bold
- bluetooth x duotone
- bluetooth x fill
- bluetooth x light
- bluetooth x thin
- calendar minus
Trash icon in other sets
- Trash · Circum Icons
- Trash · Font Awesome 5
- Trash · Font Awesome 6
- Trash · Ionicons 5
- Trash · Typicons
- Trash · Github Octicons icons
- Trash · Feather
- Trash · Lucide
- Trash · Bootstrap Icons
- Trash · Grommet-Icons
- Trash · Heroicons
- Trash · Heroicons 2
- Trash · Simple Line Icons
- Trash · BoxIcons
- Trash · css.gg
- Trash · VS Code Icons
- Trash · Tabler Icons
- Trash · Themify Icons