# cannabis Icon

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

- Library: [Tabler](https://composables.com/icons/icon-libraries/tabler.md)
- License: MIT (full text in the [Tabler library page](https://composables.com/icons/icon-libraries/tabler.md))
- Styles: [Outline](https://composables.com/icons/icon-libraries/tabler/cannabis.md?v=outline), [Filled](https://composables.com/icons/icon-libraries/tabler/cannabis.md?v=filled)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/tabler/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 TablerCannabis: ImageVector
    get() {
        if (_TablerCannabis != null) return _TablerCannabis!!
        
        _TablerCannabis = 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(7f, 20f)
                reflectiveCurveToRelative(0f, -2f, 1f, -3.5f)
                curveToRelative(-1.5f, 0f, -2f, -0.5f, -4f, -1.5f)
                curveToRelative(0f, 0f, 1.839f, -1.38f, 5f, -1f)
                curveToRelative(-1.789f, -0.97f, -3.279f, -2.03f, -5f, -6f)
                curveToRelative(0f, 0f, 3.98f, -0.3f, 6.5f, 3.5f)
                curveToRelative(-2.284f, -4.9f, 1.5f, -9.5f, 1.5f, -9.5f)
                curveToRelative(2.734f, 5.47f, 2.389f, 7.5f, 1.5f, 9.5f)
                curveToRelative(2.531f, -3.77f, 6.5f, -3.5f, 6.5f, -3.5f)
                curveToRelative(-1.721f, 3.97f, -3.211f, 5.03f, -5f, 6f)
                curveToRelative(3.161f, -0.38f, 5f, 1f, 5f, 1f)
                curveToRelative(-2f, 1f, -2.5f, 1.5f, -4f, 1.5f)
                curveToRelative(1f, 1.5f, 1f, 3.5f, 1f, 3.5f)
                curveToRelative(-2f, 0f, -4.438f, -2.22f, -5f, -3f)
                curveToRelative(-0.563f, 0.78f, -3f, 3f, -5f, 3f)
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(12f, 22f)
                verticalLineToRelative(-5f)
            }
        }.build()
        
        return _TablerCannabis!!
    }

private var _TablerCannabis: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/tabler/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="M7,20s0,-2 1,-3.5c-1.5,0 -2,-0.5 -4,-1.5c0,0 1.839,-1.38 5,-1c-1.789,-0.97 -3.279,-2.03 -5,-6c0,0 3.98,-0.3 6.5,3.5c-2.284,-4.9 1.5,-9.5 1.5,-9.5c2.734,5.47 2.389,7.5 1.5,9.5c2.531,-3.77 6.5,-3.5 6.5,-3.5c-1.721,3.97 -3.211,5.03 -5,6c3.161,-0.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-0.563,0.78 -3,3 -5,3" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M12,22v-5" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/tabler/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="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.5c-2.284 -4.9 1.5 -9.5 1.5 -9.5c2.734 5.47 2.389 7.5 1.5 9.5c2.531 -3.77 6.5 -3.5 6.5 -3.5c-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 3" /><path d="M12 22v-5" /></svg>
```
