# leaf-2 Icon

> The leaf-2 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))

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/tabler/leaf-2.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 TablerLeaf2: ImageVector
    get() {
        if (_TablerLeaf2 != null) return _TablerLeaf2!!
        
        _TablerLeaf2 = ImageVector.Builder(
            name = "leaf-2",
            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(5f, 21f)
                curveToRelative(0.5f, -4.5f, 2.5f, -8f, 7f, -10f)
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(7.5f, 15f)
                quadToRelative(-3.5f, 0f, -4.5f, -6f)
                arcToRelative(8.4f, 8.4f, 0f, false, true, 3.438f, 0.402f)
                arcToRelative(12f, 12f, 0f, false, true, -0.052f, -0.793f)
                curveToRelative(0f, -3.606f, 3.204f, -5.609f, 3.204f, -5.609f)
                reflectiveCurveToRelative(2.003f, 1.252f, 2.842f, 3.557f)
                quadToRelative(2.568f, -1.557f, 6.568f, -1.557f)
                quadToRelative(0.396f, 3.775f, -1.557f, 6.568f)
                curveToRelative(2.305f, 0.839f, 3.557f, 2.842f, 3.557f, 2.842f)
                reflectiveCurveToRelative(-3f, 2.59f, -7f, 2.59f)
                curveToRelative(0f, 1f, 0f, 1f, 0.5f, 3f)
                quadToRelative(-6f, 0f, -7f, -5f)
            }
        }.build()
        
        return _TablerLeaf2!!
    }

private var _TablerLeaf2: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/tabler/leaf-2.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="M5,21c0.5,-4.5 2.5,-8 7,-10" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M7.5,15q-3.5,0 -4.5,-6a8.4,8.4 0 0,1 3.438,0.402a12,12 0 0,1 -0.052,-0.793c0,-3.606 3.204,-5.609 3.204,-5.609s2.003,1.252 2.842,3.557q2.568,-1.557 6.568,-1.557q0.396,3.775 -1.557,6.568c2.305,0.839 3.557,2.842 3.557,2.842s-3,2.59 -7,2.59c0,1 0,1 0.5,3q-6,0 -7,-5" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/tabler/leaf-2.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="M5 21c.5 -4.5 2.5 -8 7 -10" /><path d="M7.5 15q -3.5 0 -4.5 -6a8.4 8.4 0 0 1 3.438 .402a12 12 0 0 1 -.052 -.793c0 -3.606 3.204 -5.609 3.204 -5.609s2.003 1.252 2.842 3.557q 2.568 -1.557 6.568 -1.557q .396 3.775 -1.557 6.568c2.305 .839 3.557 2.842 3.557 2.842s-3 2.59 -7 2.59c0 1 0 1 .5 3q -6 0 -7 -5" /></svg>
```
