ICONYZ
English
Xmark Square Solid icon from Iconoir

Xmark Square Solid icon

iconoir:xmark-square-solid

The Xmark Square Solid icon (iconoir:xmark-square-solid) is a free SVG icon from the Iconoir set by Luca Burgio. It is drawn on a 24 × 24 grid. Iconoir icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Iconoir
Author
Luca Burgio
License
MIT
Size
24 × 24
Category
Actions
Tags
xmarksquare, squaresolid, xmarksquaresolid
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M3.6 2.25A1.35 1.35 0 0 0 2.25 3.6v16.8c0 .746.604 1.35 1.35 1.35h16.8a1.35 1.35 0 0 0 1.35-1.35V3.6a1.35 1.35 0 0 0-1.35-1.35zm6.809 7.098a.75.75 0 0 0-1.06 1.061L10.938 12l-1.59 1.591a.75.75 0 0 0 1.06 1.06L12 13.062l1.591 1.59a.75.75 0 0 0 1.06-1.06L13.062 12l1.59-1.591a.75.75 0 0 0-1.06-1.06L12 10.938z" clip-rule="evenodd"/></svg>

How to use the Xmark Square Solid icon

React

import { Icon } from "@iconify/react";

<Icon icon="iconoir:xmark-square-solid" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="iconoir:xmark-square-solid" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="iconoir:xmark-square-solid" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[iconoir--xmark-square-solid]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/iconoir -->
<div class="i-iconoir:xmark-square-solid"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="iconoir:xmark-square-solid"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/iconoir/xmark-square-solid.svg" alt="Xmark Square Solid icon" width="24" height="24">

Related icons in Iconoir

Xmark Square Solid icon FAQ

Is the Xmark Square Solid icon free for commercial use?

Yes. Iconoir icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Xmark Square Solid icon in React?

Install @iconify/react and render <Icon icon="iconoir:xmark-square-solid" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Xmark Square Solid icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/iconoir/xmark-square-solid.svg" alt="Xmark Square Solid icon">, or paste the SVG code inline to style it with CSS.

Browse all Iconoir icons →