ICONYZ
English
Cancel Line icon from Clarity

Cancel Line icon

clarity:cancel-line

The Cancel Line icon (clarity:cancel-line) is a free SVG icon from the Clarity set by VMware. It is drawn on a 36 × 36 grid. Clarity 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
Clarity
Author
VMware
License
MIT
Size
36 × 36
Category
Essential
Tags
cancelline
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"><path fill="currentColor" d="M18 2a16 16 0 1 0 16 16A16 16 0 0 0 18 2M4 18a13.93 13.93 0 0 1 3.43-9.15l19.72 19.72A14 14 0 0 1 4 18m24.57 9.15L8.85 7.43a14 14 0 0 1 19.72 19.72" class="clr-i-outline clr-i-outline-path-1"/><path fill="none" d="M0 0h36v36H0z"/></svg>

How to use the Cancel Line icon

React

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

<Icon icon="clarity:cancel-line" width="24" />

Vue

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

<template>
  <Icon icon="clarity:cancel-line" width="24" />
</template>

Svelte

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

<Icon icon="clarity:cancel-line" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="clarity:cancel-line"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/clarity/cancel-line.svg" alt="Cancel Line icon" width="24" height="24">

Cancel Line icon FAQ

Is the Cancel Line icon free for commercial use?

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

How do I use the Cancel Line icon in React?

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

How do I add the Cancel Line icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/clarity/cancel-line.svg" alt="Cancel Line icon">, or paste the SVG code inline to style it with CSS.

Browse all Clarity icons →