ICONYZ
English
Cancel Solid icon from Basil

Cancel Solid icon

basil:cancel-solid

The Cancel Solid icon (basil:cancel-solid) is a free SVG icon from the Basil set by Craftwork. It is drawn on a 24 × 24 grid. Basil icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Basil
Author
Craftwork
License
CC-BY-4.0
Size
24 × 24
Category
Interface
Tags
cancelsolid
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M7.345 4.017a42.3 42.3 0 0 1 9.31 0c1.713.192 3.095 1.541 3.296 3.26a40.7 40.7 0 0 1 0 9.446c-.201 1.719-1.583 3.068-3.296 3.26a42.3 42.3 0 0 1-9.31 0c-1.713-.192-3.095-1.541-3.296-3.26a40.7 40.7 0 0 1 0-9.445a3.734 3.734 0 0 1 3.295-3.26M8.47 8.47a.75.75 0 0 1 1.06 0L12 10.94l2.47-2.47a.75.75 0 1 1 1.06 1.06L13.06 12l2.47 2.47a.75.75 0 0 1-1.06 1.06L12 13.06l-2.47 2.47a.75.75 0 1 1-1.06-1.06L10.94 12L8.47 9.53a.75.75 0 0 1 0-1.06" clip-rule="evenodd"/></svg>

How to use the Cancel Solid icon

React

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

<Icon icon="basil:cancel-solid" width="24" />

Vue

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

<template>
  <Icon icon="basil:cancel-solid" width="24" />
</template>

Svelte

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

<Icon icon="basil:cancel-solid" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="basil:cancel-solid"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/basil/cancel-solid.svg" alt="Cancel Solid icon" width="24" height="24">

Related icons in Basil

Cancel Solid icon FAQ

Is the Cancel Solid icon free for commercial use?

Yes. Basil icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Cancel Solid icon in React?

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

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

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

Browse all Basil icons →