Skip to content

TrashIcon

const TrashIcon: NamedExoticComponent<Omit<{ children: ReactNode; className?: string; color?: IconColor; decorative?: boolean; ref?: Ref<SVGSVGElement>; size?: IconSize; testId?: string; title?: string; }, "children">>

Defined in: src/components/Icons/TrashIcon.tsx:28

Trash icon component for delete actions.

A standard trash can icon commonly used for deleting items, removing content, and destructive operations in editor interfaces.

Example

// Basic usage
<TrashIcon />
// With custom size and color
<TrashIcon size="md" color="error" />
// In a delete button
<Button icon={<TrashIcon />}>Delete</Button>