# bat Icon

> The bat 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/bat.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 TablerBat: ImageVector
    get() {
        if (_TablerBat != null) return _TablerBat!!
        
        _TablerBat = ImageVector.Builder(
            name = "bat",
            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(17f, 16f)
                curveToRelative(0.74f, -2.286f, 2.778f, -3.762f, 5f, -3f)
                curveToRelative(-0.173f, -2.595f, 0.13f, -5.314f, -2f, -7.5f)
                curveToRelative(-1.708f, 2.648f, -3.358f, 2.557f, -5f, 2.5f)
                verticalLineToRelative(-4f)
                lineToRelative(-3f, 2f)
                lineToRelative(-3f, -2f)
                verticalLineToRelative(4f)
                curveToRelative(-1.642f, 0.057f, -3.292f, 0.148f, -5f, -2.5f)
                curveToRelative(-2.13f, 2.186f, -1.827f, 4.905f, -2f, 7.5f)
                curveToRelative(2.222f, -0.762f, 4.26f, 0.714f, 5f, 3f)
                curveToRelative(2.593f, 0f, 3.889f, 0.952f, 5f, 4f)
                curveToRelative(1.111f, -3.048f, 2.407f, -4f, 5f, -4f)
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(9f, 8f)
                arcToRelative(3f, 3f, 0f, false, false, 6f, 0f)
            }
        }.build()
        
        return _TablerBat!!
    }

private var _TablerBat: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/tabler/bat.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="M17,16c0.74,-2.286 2.778,-3.762 5,-3c-0.173,-2.595 0.13,-5.314 -2,-7.5c-1.708,2.648 -3.358,2.557 -5,2.5v-4l-3,2l-3,-2v4c-1.642,0.057 -3.292,0.148 -5,-2.5c-2.13,2.186 -1.827,4.905 -2,7.5c2.222,-0.762 4.26,0.714 5,3c2.593,0 3.889,0.952 5,4c1.111,-3.048 2.407,-4 5,-4" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M9,8a3,3 0 0,0 6,0" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/tabler/bat.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="M17 16c.74 -2.286 2.778 -3.762 5 -3c-.173 -2.595 .13 -5.314 -2 -7.5c-1.708 2.648 -3.358 2.557 -5 2.5v-4l-3 2l-3 -2v4c-1.642 .057 -3.292 .148 -5 -2.5c-2.13 2.186 -1.827 4.905 -2 7.5c2.222 -.762 4.26 .714 5 3c2.593 0 3.889 .952 5 4c1.111 -3.048 2.407 -4 5 -4" /><path d="M9 8a3 3 0 0 0 6 0" /></svg>
```
