ICONYZ
English
Cigarette Slash icon from Iconoir

Cigarette Slash icon

iconoir:cigarette-slash

The Cigarette Slash icon (iconoir:cigarette-slash) is a free SVG icon from the Iconoir set by Luca Burgio. It is drawn on a 24 × 24 grid. Iconoir 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
Iconoir
Author
Luca Burgio
License
MIT
Size
24 × 24
Category
Activities
Tags
cigaretteslash, no smoking
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M18 15v3m0-7c0-1-1-2-3-2h-1a3 3 0 0 1-3-3V2m11 9c0-6-4-6-4-6s4 1 4-3m0 13v3"/><path d="M2.6 18H18l-3-3H2.6a.6.6 0 0 0-.6.6v1.8a.6.6 0 0 0 .6.6Z"/><path stroke-linecap="round" stroke-linejoin="round" d="m3 3l18 18"/></g></svg>

How to use the Cigarette Slash icon

React

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

<Icon icon="iconoir:cigarette-slash" width="24" />

Vue

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

<template>
  <Icon icon="iconoir:cigarette-slash" width="24" />
</template>

Svelte

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

<Icon icon="iconoir:cigarette-slash" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[iconoir--cigarette-slash]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/iconoir -->
<div class="i-iconoir:cigarette-slash"></div>

Web component

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

<iconify-icon icon="iconoir:cigarette-slash"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/iconoir/cigarette-slash.svg" alt="Cigarette Slash icon" width="24" height="24">

Cigarette Slash icon in other icon sets

Cigarette Slash icon FAQ

Is the Cigarette Slash icon free for commercial use?

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

How do I use the Cigarette Slash icon in React?

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

How do I add the Cigarette Slash icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/iconoir/cigarette-slash.svg" alt="Cigarette Slash icon">, or paste the SVG code inline to style it with CSS.

Browse all Iconoir icons →