Icons / trash-02 trash-02 Trash02, one of the 856 Vela UI icons, in the General group: a 24px grid drawn in currentColor, so it takes the colour of the text around it. It installs on its own as @velaui/icon-trash-02.
Installation
pnpm npm yarn bun
pnpm dlx velaui add @velaui/icon-trash-02Copy npx shadcn@latest add @velaui/icon-trash-02Copy yarn dlx shadcn@latest add @velaui/icon-trash-02Copy bunx --bun shadcn@latest add @velaui/icon-trash-02Copy Usage
Copy // components/icons/trash-02.tsx
import Trash02 from "@/components/icons/trash-02"
<Trash02 className = "size-5 text-muted" /> In use In a button
Add event
In a sentence
Due Friday , or whenever the venue confirms.
In an input
As a badge
Scheduled
In an empty state
Source Copy import * as React from "react" ;
export interface Trash02Props extends React.SVGProps<SVGSVGElement> {
size ?: number | string;
}
/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Trash02 ({ size = 24, strokeWidth = 1, className, ref, ... props } : Trash02Props) {
return (
<svg
ref = {ref}
width = {size}
height = {size}
viewBox = "0 0 24 24"
fill = "none"
strokeWidth = {strokeWidth}
className = {className}
{ ... props}
>
<path d = "M4 6.17647H20M10 16.7647V10.4118M14 16.7647V10.4118M16 21H8C6.89543 21 6 20.0519 6 18.8824V7.23529C6 6.65052 6.44772 6.17647 7 6.17647H17C17.5523 6.17647 18 6.65052 18 7.23529V18.8824C18 20.0519 17.1046 21 16 21ZM10 6.17647H14C14.5523 6.17647 15 5.70242 15 5.11765V4.05882C15 3.47405 14.5523 3 14 3H10C9.44772 3 9 3.47405 9 4.05882V5.11765C9 5.70242 9.44772 6.17647 10 6.17647Z" stroke = "currentColor" strokeLinecap = "round" strokeLinejoin = "round" />
</svg>
);
}
Trash02.displayName = "Trash02" ;
export default Trash02;