ICONYZ
English
Close Rectangle icon from Jam Icons

Close Rectangle icon

jam:close-rectangle

The Close Rectangle icon (jam:close-rectangle) is a free SVG icon from the Jam Icons set by Michael Amprimo. It is drawn on a 24 × 24 grid. Jam 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
Jam Icons
Author
Michael Amprimo
License
MIT
Size
24 × 24
Tags
closerectangle
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M4 0h12a4 4 0 0 1 4 4v12a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4m0 2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zm7.414 8l2.829 2.828a1 1 0 0 1-1.415 1.415L10 11.414l-2.828 2.829a1 1 0 1 1-1.415-1.415L8.586 10L5.757 7.172a1 1 0 0 1 1.415-1.415L10 8.586l2.828-2.829a1 1 0 0 1 1.415 1.415z"/></svg>

How to use the Close Rectangle icon

React

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

<Icon icon="jam:close-rectangle" width="24" />

Vue

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

<template>
  <Icon icon="jam:close-rectangle" width="24" />
</template>

Svelte

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

<Icon icon="jam:close-rectangle" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="jam:close-rectangle"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/jam/close-rectangle.svg" alt="Close Rectangle icon" width="24" height="24">

Related icons in Jam Icons

Close Rectangle icon in other icon sets

Close Rectangle icon FAQ

Is the Close Rectangle icon free for commercial use?

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

How do I use the Close Rectangle icon in React?

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

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

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

Browse all Jam Icons →