ICONYZ
English
Cigarette icon from Boxicons

Cigarette icon

boxicons:cigarette

The Cigarette icon (boxicons:cigarette) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons 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
Boxicons
Author
Boxicons
License
MIT
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="M21 15H3c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h18c.55 0 1-.45 1-1v-4c0-.55-.45-1-1-1M4 19v-2h12v2zm16 0h-2v-2h2zm-.99-12.11c-.82-.49-1.63-.71-2.2-.81C16.4 4.9 15.11 3 11 3v2c3.79 0 3.99 1.82 4 2c0 .55.45.99.99 1c.41 0 4.01.19 4.01 5h2c0-3.57-1.62-5.29-2.99-6.11M8.75 11.41a6.24 6.24 0 0 0 5.83.63c.32-.13.67-.09.96.1s.45.51.45.85h2c0-1.01-.5-1.95-1.33-2.51c-.83-.57-1.89-.68-2.83-.3c-1.33.53-2.78.38-3.97-.43a4.2 4.2 0 0 1-1.87-3.53V2.99h-2v3.23c0 2.08 1.03 4.02 2.75 5.18Z"/></svg>

How to use the Cigarette icon

React

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

<Icon icon="boxicons:cigarette" width="24" />

Vue

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

<template>
  <Icon icon="boxicons:cigarette" width="24" />
</template>

Svelte

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

<Icon icon="boxicons:cigarette" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="boxicons:cigarette"></iconify-icon>

HTML image

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

Related icons in Boxicons

Cigarette icon in other icon sets

Cigarette icon FAQ

Is the Cigarette icon free for commercial use?

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

How do I use the Cigarette icon in React?

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

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

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

Browse all Boxicons →