ICONYZ
English
Cannabis icon from Material Design Icons

Cannabis icon

mdi:cannabis

The Cannabis icon (mdi:cannabis) is a free SVG icon from the Material Design Icons set by Pictogrammers. It is drawn on a 24 × 24 grid. Material Design Icons are released under the Apache 2.0 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
Material Design Icons
Author
Pictogrammers
License
Apache-2.0
Size
24 × 24
Category
Nature, Medical / Hospital
Tags
weed, pot, marijuana, nature, medical, hospital
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="M11.5 22v-4.65c-.5.78-1.5 1.74-3.47 2.46c0 0 .5-1.71 1.91-2.86c-1.3.28-3.26.24-5.94-.95c0 0 2.47-1.41 5.28-1.03C7.69 14 5.7 12.08 4.17 8.11c0 0 4.5 1.23 6.74 5.03C8.88 8.24 12 2 12 2c2.43 5.47 1.91 9.1 1.12 11.1c2.25-3.77 6.71-4.99 6.71-4.99c-1.53 3.97-3.52 5.89-5.11 6.86C17.53 14.59 20 16 20 16c-2.68 1.19-4.64 1.23-5.94.95c1.41 1.15 1.91 2.86 1.91 2.86c-1.97-.72-2.97-1.68-3.47-2.46V22z"/></svg>

How to use the Cannabis icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Material Design Icons

Cannabis icon in other icon sets

Cannabis icon FAQ

Is the Cannabis icon free for commercial use?

Yes. Material Design Icons are released under the Apache 2.0 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="mdi: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/mdi/cannabis.svg" alt="Cannabis icon">, or paste the SVG code inline to style it with CSS.

Browse all Material Design Icons →