ICONYZ
English
Cancel icon from Material Design Light

Cancel icon

mdi-light:cancel

The Cancel icon (mdi-light:cancel) is a free SVG icon from the Material Design Light set by Pictogrammers. It is drawn on a 24 × 24 grid. Material Design Light 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
Material Design Light
Author
Pictogrammers
License
OFL-1.1
Size
24 × 24
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="M11.5 22C6.26 22 2 17.75 2 12.5A9.5 9.5 0 0 1 11.5 3a9.5 9.5 0 0 1 9.5 9.5a9.5 9.5 0 0 1-9.5 9.5m0-1a8.5 8.5 0 0 0 8.5-8.5c0-2.17-.81-4.15-2.14-5.65l-12.01 12A8.47 8.47 0 0 0 11.5 21m0-17A8.5 8.5 0 0 0 3 12.5c0 2.17.81 4.14 2.15 5.64l12-12A8.5 8.5 0 0 0 11.5 4"/></svg>

How to use the Cancel icon

React

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

<Icon icon="mdi-light:cancel" width="24" />

Vue

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

<template>
  <Icon icon="mdi-light:cancel" width="24" />
</template>

Svelte

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

<Icon icon="mdi-light:cancel" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[mdi-light--cancel]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/mdi-light -->
<div class="i-mdi-light:cancel"></div>

Web component

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

<iconify-icon icon="mdi-light:cancel"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/mdi-light/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. Material Design Light icons are released under the Open Font 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="mdi-light: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/mdi-light/cancel.svg" alt="Cancel icon">, or paste the SVG code inline to style it with CSS.

Browse all Material Design Light icons →