ICONYZ
English
Close icon from FormKit Icons

Close icon

formkit:close

The Close icon (formkit:close) is a free SVG icon from the FormKit Icons set by FormKit, Inc. It is drawn on a 12 × 24 grid. FormKit 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
FormKit Icons
Author
FormKit, Inc
License
MIT
Size
12 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="12" height="24" viewBox="0 0 12 24"><path fill="currentColor" d="M10 12.5a.47.47 0 0 1-.35-.15l-8-8c-.2-.2-.2-.51 0-.71s.51-.2.71 0l7.99 8.01c.2.2.2.51 0 .71c-.1.1-.23.15-.35.15Z"/><path fill="currentColor" d="M2 12.5a.47.47 0 0 1-.35-.15c-.2-.2-.2-.51 0-.71l8-7.99c.2-.2.51-.2.71 0s.2.51 0 .71l-8.01 7.99c-.1.1-.23.15-.35.15"/></svg>

How to use the Close icon

React

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

<Icon icon="formkit:close" width="24" />

Vue

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

<template>
  <Icon icon="formkit:close" width="24" />
</template>

Svelte

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

<Icon icon="formkit:close" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="formkit:close"></iconify-icon>

HTML image

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

Close icon in other icon sets

Close icon FAQ

Is the Close icon free for commercial use?

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

How do I use the Close icon in React?

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

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

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

Browse all FormKit Icons →