# ghost-2 Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/tabler/ghost-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 TablerGhost2: ImageVector
    get() {
        if (_TablerGhost2 != null) return _TablerGhost2!!
        
        _TablerGhost2 = ImageVector.Builder(
            name = "ghost-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(10f, 9f)
                horizontalLineToRelative(0.01f)
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(14f, 9f)
                horizontalLineToRelative(0.01f)
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(12f, 3f)
                arcToRelative(7f, 7f, 0f, false, true, 7f, 7f)
                verticalLineToRelative(1f)
                lineToRelative(1f, 0f)
                arcToRelative(2f, 2f, 0f, true, true, 0f, 4f)
                lineToRelative(-1f, 0f)
                verticalLineToRelative(3f)
                lineToRelative(2f, 3f)
                horizontalLineToRelative(-10f)
                arcToRelative(6f, 6f, 0f, false, true, -6f, -5.775f)
                lineToRelative(0f, -0.226f)
                lineToRelative(-1f, 0f)
                arcToRelative(2f, 2f, 0f, false, true, 0f, -4f)
                lineToRelative(1f, 0f)
                verticalLineToRelative(-1f)
                arcToRelative(7f, 7f, 0f, false, true, 7f, -7f)
                lineToRelative(0f, 0.001f)
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(11f, 14f)
                horizontalLineToRelative(2f)
                arcToRelative(1f, 1f, 0f, false, false, -2f, 0f)
            }
        }.build()
        
        return _TablerGhost2!!
    }

private var _TablerGhost2: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/tabler/ghost-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="M10,9h0.01" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M14,9h0.01" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M12,3a7,7 0 0,1 7,7v1l1,0a2,2 0 1,1 0,4l-1,0v3l2,3h-10a6,6 0 0,1 -6,-5.775l0,-0.226l-1,0a2,2 0 0,1 0,-4l1,0v-1a7,7 0 0,1 7,-7l0,0.001" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M11,14h2a1,1 0 0,0 -2,0" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/tabler/ghost-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="M10 9h.01" /><path d="M14 9h.01" /><path d="M12 3a7 7 0 0 1 7 7v1l1 0a2 2 0 1 1 0 4l-1 0v3l2 3h-10a6 6 0 0 1 -6 -5.775l0 -.226l-1 0a2 2 0 0 1 0 -4l1 0v-1a7 7 0 0 1 7 -7l0 .001" /><path d="M11 14h2a1 1 0 0 0 -2 0" /></svg>
```
