# butterfly Icon

> The butterfly 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/butterfly.md?v=outline), [Filled](https://composables.com/icons/icon-libraries/tabler/butterfly.md?v=filled)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/tabler/butterfly.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 TablerButterfly: ImageVector
    get() {
        if (_TablerButterfly != null) return _TablerButterfly!!
        
        _TablerButterfly = ImageVector.Builder(
            name = "butterfly",
            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, 18.176f)
                arcToRelative(3f, 3f, 0f, true, true, -4.953f, -2.449f)
                lineToRelative(-0.025f, 0.023f)
                arcToRelative(4.502f, 4.502f, 0f, false, true, 1.483f, -8.75f)
                curveToRelative(1.414f, 0f, 2.675f, 0.652f, 3.5f, 1.671f)
                arcToRelative(4.5f, 4.5f, 0f, true, true, 4.983f, 7.079f)
                arcToRelative(3f, 3f, 0f, true, true, -4.983f, 2.25f)
                lineToRelative(-0.005f, 0.176f)
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(12f, 19f)
                verticalLineToRelative(-10f)
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(9f, 3f)
                lineToRelative(3f, 2f)
                lineToRelative(3f, -2f)
            }
        }.build()
        
        return _TablerButterfly!!
    }

private var _TablerButterfly: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/tabler/butterfly.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,18.176a3,3 0 1,1 -4.953,-2.449l-0.025,0.023a4.502,4.502 0 0,1 1.483,-8.75c1.414,0 2.675,0.652 3.5,1.671a4.5,4.5 0 1,1 4.983,7.079a3,3 0 1,1 -4.983,2.25l-0.005,0.176" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M12,19v-10" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M9,3l3,2l3,-2" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/tabler/butterfly.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 18.176a3 3 0 1 1 -4.953 -2.449l-.025 .023a4.502 4.502 0 0 1 1.483 -8.75c1.414 0 2.675 .652 3.5 1.671a4.5 4.5 0 1 1 4.983 7.079a3 3 0 1 1 -4.983 2.25l-.005 .176" /><path d="M12 19v-10" /><path d="M9 3l3 2l3 -2" /></svg>
```
