X Square Icon
Free SVG icon from the Mage Icons collection. Download or copy for use in any project.
The X Square icon is available as a free SVG and is ready to drop into any web or app project.
img tag
<img src="https://proicons.com/icon/310447.svg" alt="X Square icon" width="24" height="24">
React JSX
<img src="https://proicons.com/icon/310447.svg" alt="X Square icon" width={24} height={24} />
Vue template
<img src="https://proicons.com/icon/310447.svg" alt="X Square icon" :width="24" :height="24" />
CSS background
.icon-x-square {
background-image: url('https://proicons.com/icon/310447.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="M8.78001 6.91L16.46 17.02H15.27L7.51001 6.91H8.78001Z" fill="black"/> <path d="M17 2H7C5.67392 2 4.40215 2.52678 3.46447 3.46447C2.52678 4.40215 2 5.67392 2 7V17C2 18.3261 2.52678 19.5979 3.46447 20.5355C4.40215 21.4732 5.67392 22 7 22H17C18.3261 22 19.5979 21.4732 20.5355 20.5355C21.4732 19.5979 22 18.3261 22 17V7C22 5.67392 21.4732 4.40215 20.5355 3.46447C19.5979 2.52678 18.3261 2 17 2ZM14.68 18.3L11.3 13.9L7.42 18.3H5.28L10.28 12.59L5 5.7H9.43L12.49 9.7L16 5.7H18.14L13.48 11L19 18.3H14.68Z" fill="black"/> </svg>
X Square in other icon packs
Copied!