# carrot Icon

> The carrot 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/carrot.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 TablerCarrot: ImageVector
    get() {
        if (_TablerCarrot != null) return _TablerCarrot!!
        
        _TablerCarrot = ImageVector.Builder(
            name = "carrot",
            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(3f, 21f)
                reflectiveCurveToRelative(9.834f, -3.489f, 12.684f, -6.34f)
                arcToRelative(4.487f, 4.487f, 0f, false, false, 0f, -6.344f)
                arcToRelative(4.483f, 4.483f, 0f, false, false, -6.342f, 0f)
                curveToRelative(-2.86f, 2.861f, -6.347f, 12.689f, -6.347f, 12.689f)
                lineToRelative(0.005f, -0.005f)
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(9f, 13f)
                lineToRelative(-1.5f, -1.5f)
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(16f, 14f)
                lineToRelative(-2f, -2f)
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(22f, 8f)
                reflectiveCurveToRelative(-1.14f, -2f, -3f, -2f)
                curveToRelative(-1.406f, 0f, -3f, 2f, -3f, 2f)
                reflectiveCurveToRelative(1.14f, 2f, 3f, 2f)
                reflectiveCurveToRelative(3f, -2f, 3f, -2f)
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(16f, 2f)
                reflectiveCurveToRelative(-2f, 1.14f, -2f, 3f)
                reflectiveCurveToRelative(2f, 3f, 2f, 3f)
                reflectiveCurveToRelative(2f, -1.577f, 2f, -3f)
                curveToRelative(0f, -1.86f, -2f, -3f, -2f, -3f)
            }
        }.build()
        
        return _TablerCarrot!!
    }

private var _TablerCarrot: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/tabler/carrot.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="M3,21s9.834,-3.489 12.684,-6.34a4.487,4.487 0 0,0 0,-6.344a4.483,4.483 0 0,0 -6.342,0c-2.86,2.861 -6.347,12.689 -6.347,12.689l0.005,-0.005" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M9,13l-1.5,-1.5" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M16,14l-2,-2" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M22,8s-1.14,-2 -3,-2c-1.406,0 -3,2 -3,2s1.14,2 3,2s3,-2 3,-2" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M16,2s-2,1.14 -2,3s2,3 2,3s2,-1.577 2,-3c0,-1.86 -2,-3 -2,-3" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/tabler/carrot.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="M3 21s9.834 -3.489 12.684 -6.34a4.487 4.487 0 0 0 0 -6.344a4.483 4.483 0 0 0 -6.342 0c-2.86 2.861 -6.347 12.689 -6.347 12.689l.005 -.005" /><path d="M9 13l-1.5 -1.5" /><path d="M16 14l-2 -2" /><path d="M22 8s-1.14 -2 -3 -2c-1.406 0 -3 2 -3 2s1.14 2 3 2s3 -2 3 -2" /><path d="M16 2s-2 1.14 -2 3s2 3 2 3s2 -1.577 2 -3c0 -1.86 -2 -3 -2 -3" /></svg>
```
