# star_half Icon

> The star_half icon from Material Symbols as Compose ImageVector Kotlin code, Android Vector Drawable XML and SVG.

- Library: [Material Symbols](https://composables.com/icons/icon-libraries/material-symbols.md)
- License: Apache 2.0 (full text in the [Material Symbols library page](https://composables.com/icons/icon-libraries/material-symbols.md))
- Styles: [Outlined](https://composables.com/icons/icon-libraries/material-symbols/star_half.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-symbols/star_half.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-symbols/star_half.md?v=sharp), [Outlined Filled](https://composables.com/icons/icon-libraries/material-symbols/star_half.md?v=outlined-filled), [Rounded Filled](https://composables.com/icons/icon-libraries/material-symbols/star_half.md?v=rounded-filled), [Sharp Filled](https://composables.com/icons/icon-libraries/material-symbols/star_half.md?v=sharp-filled)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/star_half.kt`

```kotlin
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.unit.dp

val MaterialSymbolsStarHalf: ImageVector
    get() {
        if (_MaterialSymbolsStarHalf != null) return _MaterialSymbolsStarHalf!!
        
        _MaterialSymbolsStarHalf = ImageVector.Builder(
            name = "star_half",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(606f, 674f)
                lineToRelative(-33f, -144f)
                lineToRelative(111f, -96f)
                lineToRelative(-146f, -13f)
                lineToRelative(-58f, -136f)
                verticalLineToRelative(312f)
                lineToRelative(126f, 77f)
                close()
                moveTo(233f, 840f)
                lineToRelative(65f, -281f)
                lineTo(80f, 370f)
                lineToRelative(288f, -25f)
                lineToRelative(112f, -265f)
                lineToRelative(112f, 265f)
                lineToRelative(288f, 25f)
                lineToRelative(-218f, 189f)
                lineToRelative(65f, 281f)
                lineToRelative(-247f, -149f)
                lineToRelative(-247f, 149f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsStarHalf!!
    }

private var _MaterialSymbolsStarHalf: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/star_half.xml`

```xml
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="960"
    android:viewportHeight="960">
    <path
        android:fillColor="@android:color/black"
        android:pathData="m606,-286l-33,-144l111,-96l-146,-13l-58,-136v312l126,77ZM233,840l65,-281L80,370l288,-25l112,-265l112,265l288,25l-218,189l65,281l-247,-149l-247,149Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-symbols/star_half.svg`

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="m606-286-33-144 111-96-146-13-58-136v312l126 77ZM233-120l65-281L80-590l288-25 112-265 112 265 288 25-218 189 65 281-247-149-247 149Z"/></svg>
```
