ICONYZ
English
Close Square icon from uiw icons

Close Square icon

uiw:close-square

The Close Square icon (uiw:close-square) is a free SVG icon from the uiw icons set by liwen0526. It is drawn on a 20 × 20 grid. uiw 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
uiw icons
Author
liwen0526
License
MIT
Size
20 × 20
Tags
closesquare
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M18.182 0C19.186 0 20 .814 20 1.818v16.364A1.82 1.82 0 0 1 18.182 20H1.818A1.82 1.82 0 0 1 0 18.182V1.818C0 .814.814 0 1.818 0zm-5.975 6.818L10.01 9.01L7.815 6.818a.68.68 0 0 0-.88-.072l-.084.072a.68.68 0 0 0 0 .964l2.195 2.193l-2.195 2.193a.682.682 0 1 0 .964.965l2.195-2.195l2.197 2.195c.24.24.613.263.88.071l.084-.072a.68.68 0 0 0 0-.964l-2.196-2.193l2.195-2.193a.682.682 0 0 0-.963-.964"/></svg>

How to use the Close Square icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="uiw:close-square"></iconify-icon>

HTML image

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

Related icons in uiw icons

Close Square icon in other icon sets

Close Square icon FAQ

Is the Close Square icon free for commercial use?

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

How do I use the Close Square icon in React?

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

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

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

Browse all uiw icons →