About the Slash Square outline icon
The Slash Square icon is an outline (line) icon drawn with strokes, so colour and stroke width are easy to restyle from Iconoir (simple, elegant line icons). It is filed under the Arrows category. It inherits the surrounding text colour through currentColor, so you can recolour it with plain CSS.
Search keywords: slash square
Use it inline in HTML, as an image, in React or Vue components, in Figma or in any design tool that accepts SVG. Licence: MIT (Iconoir) – check the licence terms before redistributing.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M21 3.6V20.4C21 20.7314 20.7314 21 20.4 21H3.6C3.26863 21 3 20.7314 3 20.4V3.6C3 3.26863 3.26863 3 3.6 3H20.4C20.7314 3 21 3.26863 21 3.6Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M10 16L14 8" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/></svg>