Cancel icon
ooui:cancel
The Cancel icon (ooui:cancel) is a free SVG icon from the OOUI set by OOUI Team. It is drawn on a 20 × 20 grid. OOUI 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M10 1a9 9 0 1 1 0 18a9 9 0 0 1 0-18M4.394 5.806A6.97 6.97 0 0 0 3 10a7 7 0 0 0 11.193 5.605l-9.8-9.8ZM10 3a6.97 6.97 0 0 0-4.191 1.392l9.797 9.798A7 7 0 0 0 10 3"/></svg>How to use the Cancel icon
React
import { Icon } from "@iconify/react";
<Icon icon="ooui:cancel" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ooui:cancel" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ooui:cancel" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ooui--cancel]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ooui -->
<div class="i-ooui:cancel"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ooui:cancel"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ooui/cancel.svg" alt="Cancel icon" width="24" height="24">Cancel icon in other icon sets
Cancel icon FAQ
Is the Cancel icon free for commercial use?
Yes. OOUI 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="ooui: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/ooui/cancel.svg" alt="Cancel icon">, or paste the SVG code inline to style it with CSS.