# star Icon

> The star icon from Lucide as Compose ImageVector Kotlin code, Android Vector Drawable XML and SVG.

- Library: [Lucide](https://composables.com/icons/icon-libraries/lucide.md)
- License: ISC (full text in the [Lucide library page](https://composables.com/icons/icon-libraries/lucide.md))
- Categories: [Account](https://composables.com/icons/categories/account.md), [Social](https://composables.com/icons/categories/social.md), [Shapes](https://composables.com/icons/categories/shapes.md), [Multimedia](https://composables.com/icons/categories/multimedia.md), [Weather](https://composables.com/icons/categories/weather.md), [Emoji](https://composables.com/icons/categories/emoji.md), [Gaming](https://composables.com/icons/categories/gaming.md)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/lucide/star.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 LucideStar: ImageVector
    get() {
        if (_LucideStar != null) return _LucideStar!!
        
        _LucideStar = ImageVector.Builder(
            name = "star",
            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(11.525f, 2.295f)
                arcToRelative(0.53f, 0.53f, 0f, false, true, 0.95f, 0f)
                lineToRelative(2.31f, 4.679f)
                arcToRelative(2.123f, 2.123f, 0f, false, false, 1.595f, 1.16f)
                lineToRelative(5.166f, 0.756f)
                arcToRelative(0.53f, 0.53f, 0f, false, true, 0.294f, 0.904f)
                lineToRelative(-3.736f, 3.638f)
                arcToRelative(2.123f, 2.123f, 0f, false, false, -0.611f, 1.878f)
                lineToRelative(0.882f, 5.14f)
                arcToRelative(0.53f, 0.53f, 0f, false, true, -0.771f, 0.56f)
                lineToRelative(-4.618f, -2.428f)
                arcToRelative(2.122f, 2.122f, 0f, false, false, -1.973f, 0f)
                lineTo(6.396f, 21.01f)
                arcToRelative(0.53f, 0.53f, 0f, false, true, -0.77f, -0.56f)
                lineToRelative(0.881f, -5.139f)
                arcToRelative(2.122f, 2.122f, 0f, false, false, -0.611f, -1.879f)
                lineTo(2.16f, 9.795f)
                arcToRelative(0.53f, 0.53f, 0f, false, true, 0.294f, -0.906f)
                lineToRelative(5.165f, -0.755f)
                arcToRelative(2.122f, 2.122f, 0f, false, false, 1.597f, -1.16f)
                close()
            }
        }.build()
        
        return _LucideStar!!
    }

private var _LucideStar: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/lucide/star.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="M11.525,2.295a0.53,0.53 0 0,1 0.95,0l2.31,4.679a2.123,2.123 0 0,0 1.595,1.16l5.166,0.756a0.53,0.53 0 0,1 0.294,0.904l-3.736,3.638a2.123,2.123 0 0,0 -0.611,1.878l0.882,5.14a0.53,0.53 0 0,1 -0.771,0.56l-4.618,-2.428a2.122,2.122 0 0,0 -1.973,0L6.396,21.01a0.53,0.53 0 0,1 -0.77,-0.56l0.881,-5.139a2.122,2.122 0 0,0 -0.611,-1.879L2.16,9.795a0.53,0.53 0 0,1 0.294,-0.906l5.165,-0.755a2.122,2.122 0 0,0 1.597,-1.16Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/lucide/star.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="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z" /></svg>
```
