# cannabis Icon

> The cannabis icon from Lucide as Compose ImageVector Kotlin code, Android Vector Drawable XML and SVG.

- Library: [Lucide](https://composables.com/icons/icon-libraries/lucide.md)
- License: ISC (full text in the [Lucide library page](https://composables.com/icons/icon-libraries/lucide.md))
- Categories: [Nature](https://composables.com/icons/categories/nature.md)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/lucide/cannabis.kt`

```kotlin
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.compose.ui.graphics.StrokeJoin
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.unit.dp

val LucideCannabis: ImageVector
    get() {
        if (_LucideCannabis != null) return _LucideCannabis!!
        
        _LucideCannabis = ImageVector.Builder(
            name = "cannabis",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 24f,
            viewportHeight = 24f
        ).apply {
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(12f, 22f)
                verticalLineToRelative(-4f)
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(7f, 12f)
                curveToRelative(-1.5f, 0f, -4.5f, 1.5f, -5f, 3f)
                curveToRelative(3.5f, 1.5f, 6f, 1f, 6f, 1f)
                curveToRelative(-1.5f, 1.5f, -2f, 3.5f, -2f, 5f)
                curveToRelative(2.5f, 0f, 4.5f, -1.5f, 6f, -3f)
                curveToRelative(1.5f, 1.5f, 3.5f, 3f, 6f, 3f)
                curveToRelative(0f, -1.5f, -0.5f, -3.5f, -2f, -5f)
                curveToRelative(0f, 0f, 2.5f, 0.5f, 6f, -1f)
                curveToRelative(-0.5f, -1.5f, -3.5f, -3f, -5f, -3f)
                curveToRelative(1.5f, -1f, 4f, -4f, 4f, -6f)
                curveToRelative(-2.5f, 0f, -5.5f, 1.5f, -7f, 3f)
                curveToRelative(0f, -2.5f, -0.5f, -5f, -2f, -7f)
                curveToRelative(-1.5f, 2f, -2f, 4.5f, -2f, 7f)
                curveToRelative(-1.5f, -1.5f, -4.5f, -3f, -7f, -3f)
                curveToRelative(0f, 2f, 2.5f, 5f, 4f, 6f)
            }
        }.build()
        
        return _LucideCannabis!!
    }

private var _LucideCannabis: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/lucide/cannabis.xml`

```xml
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="24"
    android:viewportHeight="24">
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M12,22v-4" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M7,12c-1.5,0 -4.5,1.5 -5,3c3.5,1.5 6,1 6,1c-1.5,1.5 -2,3.5 -2,5c2.5,0 4.5,-1.5 6,-3c1.5,1.5 3.5,3 6,3c0,-1.5 -0.5,-3.5 -2,-5c0,0 2.5,0.5 6,-1c-0.5,-1.5 -3.5,-3 -5,-3c1.5,-1 4,-4 4,-6c-2.5,0 -5.5,1.5 -7,3c0,-2.5 -0.5,-5 -2,-7c-1.5,2 -2,4.5 -2,7c-1.5,-1.5 -4.5,-3 -7,-3c0,2 2.5,5 4,6" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/lucide/cannabis.svg`

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" ><path d="M12 22v-4" /><path d="M7 12c-1.5 0-4.5 1.5-5 3 3.5 1.5 6 1 6 1-1.5 1.5-2 3.5-2 5 2.5 0 4.5-1.5 6-3 1.5 1.5 3.5 3 6 3 0-1.5-.5-3.5-2-5 0 0 2.5.5 6-1-.5-1.5-3.5-3-5-3 1.5-1 4-4 4-6-2.5 0-5.5 1.5-7 3 0-2.5-.5-5-2-7-1.5 2-2 4.5-2 7-1.5-1.5-4.5-3-7-3 0 2 2.5 5 4 6" /></svg>
```
