Cancel icon
icons8:cancel
The Cancel icon (icons8:cancel) is a free SVG icon from the Icons8 Windows 10 Icons set by Icons8. It is drawn on a 32 × 32 grid. Icons8 Windows 10 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
- Icons8 Windows 10 Icons
- Author
- Icons8
- License
- MIT
- Size
- 32 × 32
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M16 3C8.832 3 3 8.832 3 16s5.832 13 13 13s13-5.832 13-13S23.168 3 16 3m0 2c6.087 0 11 4.913 11 11s-4.913 11-11 11S5 22.087 5 16S9.913 5 16 5m-3.78 5.78l-1.44 1.44L14.564 16l-3.782 3.78l1.44 1.44L16 17.437l3.78 3.78l1.44-1.437L17.437 16l3.78-3.78l-1.437-1.44L16 14.564l-3.78-3.782z"/></svg>How to use the Cancel icon
React
import { Icon } from "@iconify/react";
<Icon icon="icons8:cancel" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="icons8:cancel" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="icons8:cancel" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[icons8--cancel]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/icons8 -->
<div class="i-icons8:cancel"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="icons8:cancel"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/icons8/cancel.svg" alt="Cancel icon" width="24" height="24">Related icons in Icons8 Windows 10 Icons
Cancel icon in other icon sets
Cancel icon FAQ
Is the Cancel icon free for commercial use?
Yes. Icons8 Windows 10 Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Cancel icon in React?
Install @iconify/react and render <Icon icon="icons8:cancel" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Cancel icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/icons8/cancel.svg" alt="Cancel icon">, or paste the SVG code inline to style it with CSS.