ICONYZ
English
Close icon from Font Awesome 4

Close icon

fa:close

The Close icon (fa:close) is a free SVG icon from the Font Awesome 4 set by Dave Gandy. It is drawn on a 1216 × 1312 grid. Font Awesome 4 icons are released under the Open Font 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
Font Awesome 4
Author
Dave Gandy
License
OFL-1.1
Size
1216 × 1312
Tags
times, remove
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="1216" height="1312" viewBox="0 0 1216 1312"><path fill="currentColor" d="M1202 1066q0 40-28 68l-136 136q-28 28-68 28t-68-28L608 976l-294 294q-28 28-68 28t-68-28L42 1134q-28-28-28-68t28-68l294-294L42 410q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 294l294-294q28-28 68-28t68 28l136 136q28 28 28 68t-28 68L880 704l294 294q28 28 28 68"/></svg>

How to use the Close icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

<img src="https://iconyz.com/api/public/svg/fa/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. Font Awesome 4 icons are released under the Open Font 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="fa: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/fa/close.svg" alt="Close icon">, or paste the SVG code inline to style it with CSS.

Browse all Font Awesome 4 icons →