Trash Square Icon
Free SVG icon from the Mage Icons collection. Download or copy for use in any project.
The Trash Square icon is commonly used in list items, file managers and data tables. Available as a free SVG - copy the code or download directly.
img tag
<img src="https://proicons.com/icon/311002.svg" alt="Trash Square icon" width="24" height="24">
React JSX
<img src="https://proicons.com/icon/311002.svg" alt="Trash Square icon" width={24} height={24} />
Vue template
<img src="https://proicons.com/icon/311002.svg" alt="Trash Square icon" :width="24" :height="24" />
CSS background
.icon-trash-square {
background-image: url('https://proicons.com/icon/311002.svg');
background-size: contain;
background-repeat: no-repeat;
width: 24px;
height: 24px;
display: inline-block;
}
SVG markup
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M7.87402 8.21802V16.1258C7.87402 16.5817 8.05514 17.0189 8.37753 17.3413C8.69992 17.6637 9.13717 17.8448 9.5931 17.8448H14.4065C14.8624 17.8448 15.2997 17.6637 15.6221 17.3413C15.9445 17.0189 16.1256 16.5817 16.1256 16.1258V8.21802" stroke="black" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/> <path d="M6.49902 8.21802H17.5011" stroke="black" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/> <path d="M9.93701 8.21816V7.18672C9.93701 6.91316 10.0457 6.65081 10.2391 6.45738C10.4325 6.26394 10.6949 6.15527 10.9685 6.15527H13.0313C13.3049 6.15527 13.5673 6.26394 13.7607 6.45738C13.9541 6.65081 14.0628 6.91316 14.0628 7.18672V8.21816" stroke="black" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/> <rect x="2.75" y="2.75" width="18.5" height="18.5" rx="6" stroke="black" stroke-width="1.5"/> </svg>
Copied!