Cannabis icon
boxicons:cannabis
The Cannabis icon (boxicons:cannabis) 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M20.75 8.28c-1.95.5-3.75 1.42-5.27 2.67c0-.15.02-.3.02-.45c0-2.82-.93-5.61-2.69-8.08A1.01 1.01 0 0 0 12 2c-.32 0-.63.16-.81.42C9.31 5.05 8.41 8 8.53 10.96a13.5 13.5 0 0 0-5.28-2.67c-.34-.09-.7.01-.95.26s-.35.61-.26.95a13.4 13.4 0 0 0 3.51 6.21c.19.19.4.38.6.56c-.97.28-1.91.76-2.77 1.45a.99.99 0 0 0-.37.78c0 .3.14.59.37.78c1.4 1.13 3 1.72 4.63 1.72c1.03 0 2.04-.26 3-.72V22h2v-1.72c.96.46 1.97.72 3 .72c1.63 0 3.23-.6 4.63-1.72a.99.99 0 0 0 .37-.78c0-.3-.14-.59-.37-.78c-.86-.69-1.8-1.18-2.77-1.45c.2-.18.41-.36.6-.56c1.71-1.71 2.92-3.85 3.51-6.21c.09-.34-.01-.7-.26-.95a.99.99 0 0 0-.95-.26ZM12 4.87c.99 1.78 1.5 3.7 1.5 5.63c0 1.09-.17 2.17-.5 3.25c-.11.36-.24.72-.38 1.08c-.04.1-.08.19-.13.29c-.12.28-.26.56-.41.84c-.03.05-.05.1-.08.14c-.03-.06-.06-.12-.1-.18c-.14-.26-.27-.52-.39-.79c-.04-.1-.09-.2-.13-.31c-.15-.36-.28-.73-.39-1.1c-.91-2.97-.55-6.07 1-8.87Zm-7.39 5.99c1.8.8 3.36 2.04 4.52 3.62c.06.19.13.38.2.56c.04.12.08.25.13.37c.09.22.18.43.28.65c.05.1.09.21.14.32c-.1-.05-.2-.09-.29-.14a.5.5 0 0 0-.1-.05c-.92-.5-1.77-1.14-2.52-1.89c-.99-.99-1.78-2.15-2.35-3.43Zm1.25 7.64c.94-.45 1.92-.6 2.9-.44c.21.12.43.21.65.31c.16.07.31.16.48.23c0 0 .02 0 .02.01c-1.32.55-2.74.51-4.05-.11m8.24.11s.02 0 .02-.01c.16-.07.32-.15.47-.23c.22-.1.44-.2.65-.31c.98-.16 1.96 0 2.9.44c-1.31.62-2.73.66-4.05.11Zm2.95-4.31c-.75.75-1.6 1.38-2.52 1.89c-.04.02-.07.03-.11.05c-.09.05-.2.09-.29.14c.15-.31.29-.63.41-.95c.05-.13.09-.26.14-.39c.07-.18.14-.37.19-.55c1.16-1.57 2.72-2.82 4.52-3.62c-.57 1.28-1.36 2.44-2.35 3.43Z"/></svg>How to use the Cannabis icon
React
import { Icon } from "@iconify/react";
<Icon icon="boxicons:cannabis" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="boxicons:cannabis" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="boxicons:cannabis" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--cannabis]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:cannabis"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="boxicons:cannabis"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/boxicons/cannabis.svg" alt="Cannabis icon" width="24" height="24">Related icons in Boxicons
Cannabis icon in other icon sets
Cannabis icon FAQ
Is the Cannabis 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 Cannabis icon in React?
Install @iconify/react and render <Icon icon="boxicons: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/boxicons/cannabis.svg" alt="Cannabis icon">, or paste the SVG code inline to style it with CSS.