ICONYZ
English
Close Square Fill icon from Sargam Icons

Close Square Fill icon

si:close-square-fill

The Close Square Fill icon (si:close-square-fill) is a free SVG icon from the Sargam Icons set by Abhimanyu Rana. It is drawn on a 24 × 24 grid. Sargam 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
Sargam Icons
Author
Abhimanyu Rana
License
MIT
Size
24 × 24
Tags
closesquare, squarefill, closesquarefill
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="M5.4 3h13.2A2.4 2.4 0 0 1 21 5.4v13.2a2.4 2.4 0 0 1-2.4 2.4H5.4A2.4 2.4 0 0 1 3 18.6V5.4A2.4 2.4 0 0 1 5.4 3m11.55 4.05a1 1 0 0 1 0 1.414L13.414 12l3.536 3.536a1 1 0 0 1-1.414 1.414L12 13.414L8.464 16.95a1 1 0 1 1-1.414-1.414L10.586 12L7.05 8.464A1 1 0 1 1 8.464 7.05L12 10.586l3.536-3.536a1 1 0 0 1 1.414 0" clip-rule="evenodd"/></svg>

How to use the Close Square Fill icon

React

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

<Icon icon="si:close-square-fill" width="24" />

Vue

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

<template>
  <Icon icon="si:close-square-fill" width="24" />
</template>

Svelte

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

<Icon icon="si:close-square-fill" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[si--close-square-fill]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/si -->
<div class="i-si:close-square-fill"></div>

Web component

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

<iconify-icon icon="si:close-square-fill"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/si/close-square-fill.svg" alt="Close Square Fill icon" width="24" height="24">

Related icons in Sargam Icons

Close Square Fill icon in other icon sets

Close Square Fill icon FAQ

Is the Close Square Fill icon free for commercial use?

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

How do I use the Close Square Fill icon in React?

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

How do I add the Close Square Fill icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/si/close-square-fill.svg" alt="Close Square Fill icon">, or paste the SVG code inline to style it with CSS.

Browse all Sargam Icons →