Cannabis icon
A hand-drawn cannabis icon that animates on its own: an SVG on a 24px grid in thin, regular and bold strokes. Free to download and use in the apps you build (LumioUI License). It takes your text colour through currentColor.
- Category
- Nature
- Grid
- 24 × 24
- Strokes
- 1.5 · 2 · 2.5
- Name
cannabis
Stroke weights and sizes
Use it in React Native
Paste the SVG into react-native-svg's SvgXml. The Icon component covers a curated set by name, and Animated Icons plays the motion natively.
TSX CannabisIcon.tsx
import { SvgXml } from "react-native-svg";
const CannabisIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M12 21.4L12 16.8"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M12 3.2C13.5 5.9 14.2 9.2 14 12.8C12.1 10.9 11 7.4 12 3.2Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M11.4 13.4C10.5 10.5 8.5 8.5 5.6 7.5C5.9 10.4 7.6 12.9 10.4 14.1"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M12.6 13.4C13.5 10.5 15.5 8.5 18.4 7.5C18.1 10.4 16.4 12.9 13.6 14.1"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M11.2 16.8C9.4 15.2 7.1 14.8 4.6 15.6C6 17.9 8.4 19 11.2 18.8"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M12.8 16.8C14.6 15.2 16.9 14.8 19.4 15.6C18 17.9 15.6 19 12.8 18.8"></path></svg>`;
<SvgXml xml={CannabisIcon} width={24} height={24} color="#111" /> SVG code
The still glyph. The animated version, linked above, plays its motion on its own with SMIL, so it needs no script.
SVG cannabis.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M12 21.4L12 16.8"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M12 3.2C13.5 5.9 14.2 9.2 14 12.8C12.1 10.9 11 7.4 12 3.2Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M11.4 13.4C10.5 10.5 8.5 8.5 5.6 7.5C5.9 10.4 7.6 12.9 10.4 14.1"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M12.6 13.4C13.5 10.5 15.5 8.5 18.4 7.5C18.1 10.4 16.4 12.9 13.6 14.1"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M11.2 16.8C9.4 15.2 7.1 14.8 4.6 15.6C6 17.9 8.4 19 11.2 18.8"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M12.8 16.8C14.6 15.2 16.9 14.8 19.4 15.6C18 17.9 15.6 19 12.8 18.8"></path></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/cannabis.svg" width="24" height="24" alt="Cannabis" />