ICONYZ
English
Cannabis icon from Tabler Icons

Cannabis icon

tabler:cannabis

The Cannabis icon (tabler:cannabis) is a free SVG icon from the Tabler Icons set by Paweł Kuna. It is drawn on a 24 × 24 grid. Tabler 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
Tabler Icons
Author
Paweł Kuna
License
MIT
Size
24 × 24
Tags
marijuana, weed, drug, cbd, medical, environment, natural, outdoor, ecosystem, nature
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 20s0-2 1-3.5c-1.5 0-2-.5-4-1.5c0 0 1.839-1.38 5-1c-1.789-.97-3.279-2.03-5-6c0 0 3.98-.3 6.5 3.5C8.216 6.6 12 2 12 2c2.734 5.47 2.389 7.5 1.5 9.5C16.031 7.73 20 8 20 8c-1.721 3.97-3.211 5.03-5 6c3.161-.38 5 1 5 1c-2 1-2.5 1.5-4 1.5c1 1.5 1 3.5 1 3.5c-2 0-4.438-2.22-5-3c-.563.78-3 3-5 3m5 2v-5"/></svg>

How to use the Cannabis icon

React

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

<Icon icon="tabler:cannabis" width="24" />

Vue

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

<template>
  <Icon icon="tabler:cannabis" width="24" />
</template>

Svelte

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

<Icon icon="tabler:cannabis" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="tabler:cannabis"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/tabler/cannabis.svg" alt="Cannabis icon" width="24" height="24">

Related icons in Tabler Icons

Cannabis icon in other icon sets

Cannabis icon FAQ

Is the Cannabis icon free for commercial use?

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

How do I use the Cannabis icon in React?

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

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

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

Browse all Tabler Icons →