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/310358.svg" alt="Trash Square icon" width="24" height="24">
React JSX
<img src="https://proicons.com/icon/310358.svg" alt="Trash Square icon" width={24} height={24} />
Vue template
<img src="https://proicons.com/icon/310358.svg" alt="Trash Square icon" :width="24" :height="24" />
CSS background
.icon-trash-square {
background-image: url('https://proicons.com/icon/310358.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="M13.5898 7.47009V8.03009H10.4697V7.47009C10.4807 7.36859 10.5187 7.27186 10.5798 7.19006C10.6595 7.13377 10.7526 7.09932 10.8497 7.09009H13.2498H13.3998C13.4429 7.11116 13.4806 7.142 13.5098 7.18011C13.546 7.21504 13.5763 7.25555 13.5997 7.30011C13.6118 7.35664 13.6084 7.41537 13.5898 7.47009Z" fill="black"/> <path d="M15.25 2H8.75C6.9606 2.00265 5.24528 2.71468 3.97998 3.97998C2.71468 5.24528 2.00265 6.9606 2 8.75V15.25C2.00265 17.0394 2.71468 18.7548 3.97998 20.0201C5.24528 21.2854 6.9606 21.9974 8.75 22H15.25C17.0402 22 18.7571 21.2889 20.0229 20.023C21.2888 18.7571 22 17.0402 22 15.25V8.75C22 6.95979 21.2888 5.24292 20.0229 3.97705C18.7571 2.71118 17.0402 2 15.25 2ZM17.5 8.88C17.4688 8.96171 17.4172 9.03404 17.35 9.09003C17.287 9.1513 17.2122 9.19897 17.13 9.23004C17.0445 9.25007 16.9555 9.25007 16.87 9.23004H16.32V15.58C16.322 15.8611 16.2671 16.1398 16.1589 16.3992C16.0506 16.6587 15.8912 16.8936 15.69 17.09C15.4943 17.2921 15.2595 17.4522 14.9999 17.5605C14.7403 17.6689 14.4613 17.7231 14.18 17.72H9.92999C9.36324 17.7174 8.82044 17.4911 8.41968 17.0903C8.01892 16.6896 7.79261 16.1468 7.78998 15.58V9.21002H7.25C7.17408 9.22511 7.09594 9.22511 7.02002 9.21002C6.94446 9.17755 6.87638 9.12989 6.82001 9.07001C6.76131 9.01263 6.71382 8.94485 6.67999 8.87006C6.66597 8.79067 6.66597 8.70939 6.67999 8.63C6.68547 8.46753 6.75355 8.31346 6.87 8.20001C6.92482 8.14056 6.99128 8.09305 7.06525 8.06036C7.13922 8.02768 7.21912 8.01052 7.29999 8.01001H9.71997V7.72003C9.72964 7.31347 9.89003 6.92498 10.17 6.63C10.4596 6.34923 10.8467 6.19153 11.25 6.19H13.08C13.4852 6.19208 13.8732 6.35378 14.16 6.64001C14.3076 6.78054 14.4236 6.95102 14.5 7.14001C14.5814 7.32214 14.619 7.52077 14.61 7.72003V8.01001H17.03C17.1124 8.01033 17.1938 8.02734 17.2695 8.06C17.3451 8.09265 17.4133 8.14028 17.47 8.20001C17.5281 8.25534 17.5741 8.32216 17.6051 8.39618C17.6361 8.47019 17.6514 8.54978 17.65 8.63C17.6312 8.72195 17.59 8.80782 17.53 8.88H17.5Z" fill="black"/> </svg>
Copied!