Trash Icon
Free SVG icon from the Mage Icons collection. Download or copy for use in any project.
The Trash 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/310359.svg" alt="Trash icon" width="24" height="24">
React JSX
<img src="https://proicons.com/icon/310359.svg" alt="Trash icon" width={24} height={24} />
Vue template
<img src="https://proicons.com/icon/310359.svg" alt="Trash icon" :width="24" :height="24" />
CSS background
.icon-trash {
background-image: url('https://proicons.com/icon/310359.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="M20.725 5.27503H16.035V4.38501C16.0302 3.75505 15.779 3.152 15.335 2.70502C15.1134 2.48265 14.85 2.3063 14.56 2.18616C14.2699 2.06602 13.9589 2.00446 13.645 2.00501H10.385C10.0711 2.00446 9.76012 2.06602 9.47008 2.18616C9.18003 2.3063 8.91661 2.48265 8.69501 2.70502C8.25382 3.15302 8.00606 3.75625 8.005 4.38501V5.27503H3.315C3.11609 5.27503 2.92534 5.35404 2.78468 5.49469C2.64403 5.63535 2.565 5.82612 2.565 6.02503C2.565 6.22394 2.64403 6.41468 2.78468 6.55533C2.92534 6.69598 3.11609 6.77503 3.315 6.77503H4.73502V18.535C4.73094 18.9908 4.81721 19.4429 4.98885 19.8651C5.16049 20.2873 5.4141 20.6713 5.73502 20.995C6.38935 21.6361 7.26895 21.9951 8.18501 21.995H15.805C16.7211 21.9951 17.6007 21.6361 18.255 20.995C18.5759 20.6713 18.8295 20.2873 19.0012 19.8651C19.1728 19.4429 19.2591 18.9908 19.255 18.535V6.77503H20.685C20.8839 6.77503 21.0747 6.69598 21.2153 6.55533C21.356 6.41468 21.435 6.22394 21.435 6.02503C21.435 5.82612 21.356 5.63535 21.2153 5.49469C21.0747 5.35404 20.8839 5.27503 20.685 5.27503H20.725ZM9.52501 4.38501C9.52505 4.26959 9.54806 4.15534 9.5927 4.04889C9.63733 3.94245 9.70272 3.84595 9.78502 3.76502C9.95034 3.60152 10.1725 3.50833 10.405 3.50501H13.665C13.782 3.50428 13.898 3.52689 14.0062 3.57154C14.1144 3.61618 14.2126 3.68197 14.295 3.76502C14.4576 3.93092 14.5507 4.15273 14.555 4.38501V5.27503H9.55501L9.52501 4.38501ZM10.855 16.995C10.855 17.2602 10.7497 17.5146 10.5621 17.7021C10.3746 17.8897 10.1202 17.995 9.855 17.995C9.58978 17.995 9.33544 17.8897 9.1479 17.7021C8.96037 17.5146 8.85501 17.2602 8.85501 16.995V11.565C8.85501 11.2998 8.96037 11.0455 9.1479 10.8579C9.33544 10.6704 9.58978 10.565 9.855 10.565C10.1202 10.565 10.3746 10.6704 10.5621 10.8579C10.7497 11.0455 10.855 11.2998 10.855 11.565V16.995ZM15.215 16.995C15.215 17.2602 15.1096 17.5146 14.9221 17.7021C14.7346 17.8897 14.4802 17.995 14.215 17.995C13.9498 17.995 13.6954 17.8897 13.5079 17.7021C13.3204 17.5146 13.215 17.2602 13.215 16.995V11.565C13.215 11.2998 13.3204 11.0455 13.5079 10.8579C13.6954 10.6704 13.9498 10.565 14.215 10.565C14.4802 10.565 14.7346 10.6704 14.9221 10.8579C15.1096 11.0455 15.215 11.2998 15.215 11.565V16.995Z" fill="black"/> </svg>
Trash in other icon packs
Copied!