# light-bulb Icon

> The light-bulb icon from Heroicons as Compose ImageVector Kotlin code, Android Vector Drawable XML and SVG.

- Library: [Heroicons](https://composables.com/icons/icon-libraries/heroicons.md)
- License: MIT (full text in the [Heroicons library page](https://composables.com/icons/icon-libraries/heroicons.md))
- Styles: [Outline](https://composables.com/icons/icon-libraries/heroicons/light-bulb.md?v=outline), [Solid](https://composables.com/icons/icon-libraries/heroicons/light-bulb.md?v=solid), [Mini](https://composables.com/icons/icon-libraries/heroicons/light-bulb.md?v=mini), [Micro](https://composables.com/icons/icon-libraries/heroicons/light-bulb.md?v=micro)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/heroicons/light-bulb.kt`

```kotlin
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
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 HeroiconsLightBulb: ImageVector
    get() {
        if (_HeroiconsLightBulb != null) return _HeroiconsLightBulb!!
        
        _HeroiconsLightBulb = ImageVector.Builder(
            name = "light-bulb",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 24f,
            viewportHeight = 24f
        ).apply {
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 1.5f,
                strokeLineJoin = StrokeJoin.Miter
            ) {
                moveTo(12f, 18f)
                verticalLineToRelative(-5.25f)
                moveToRelative(0f, 0f)
                arcToRelative(6.01f, 6.01f, 0f, false, false, 1.5f, -0.189f)
                moveToRelative(-1.5f, 0.189f)
                arcToRelative(6.01f, 6.01f, 0f, false, true, -1.5f, -0.189f)
                moveToRelative(3.75f, 7.478f)
                arcToRelative(12.06f, 12.06f, 0f, false, true, -4.5f, 0f)
                moveToRelative(3.75f, 2.383f)
                arcToRelative(14.406f, 14.406f, 0f, false, true, -3f, 0f)
                moveTo(14.25f, 18f)
                verticalLineToRelative(-0.192f)
                curveToRelative(0f, -0.983f, 0.658f, -1.823f, 1.508f, -2.316f)
                arcToRelative(7.5f, 7.5f, 0f, true, false, -7.517f, 0f)
                curveToRelative(0.85f, 0.493f, 1.509f, 1.333f, 1.509f, 2.316f)
                verticalLineTo(18f)
            }
        }.build()
        
        return _HeroiconsLightBulb!!
    }

private var _HeroiconsLightBulb: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/heroicons/light-bulb.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:strokeWidth="1.5"
        android:pathData="M12,18v-5.25m0,0a6.01,6.01 0 0,0 1.5,-0.189m-1.5,0.189a6.01,6.01 0 0,1 -1.5,-0.189m3.75,7.478a12.06,12.06 0 0,1 -4.5,0m3.75,2.383a14.406,14.406 0 0,1 -3,0M14.25,18v-0.192c0,-0.983 0.658,-1.823 1.508,-2.316a7.5,7.5 0 1,0 -7.517,0c0.85,0.493 1.509,1.333 1.509,2.316V18" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/heroicons/light-bulb.svg`

```svg
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon"><path stroke-linecap="round" stroke-linejoin="round" d="M12 18v-5.25m0 0a6.01 6.01 0 0 0 1.5-.189m-1.5.189a6.01 6.01 0 0 1-1.5-.189m3.75 7.478a12.06 12.06 0 0 1-4.5 0m3.75 2.383a14.406 14.406 0 0 1-3 0M14.25 18v-.192c0-.983.658-1.823 1.508-2.316a7.5 7.5 0 1 0-7.517 0c.85.493 1.509 1.333 1.509 2.316V18"/></svg>
```
