# star_rate_half Icon

> The star_rate_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_rate_half.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-symbols/star_rate_half.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-symbols/star_rate_half.md?v=sharp), [Outlined Filled](https://composables.com/icons/icon-libraries/material-symbols/star_rate_half.md?v=outlined-filled), [Rounded Filled](https://composables.com/icons/icon-libraries/material-symbols/star_rate_half.md?v=rounded-filled), [Sharp Filled](https://composables.com/icons/icon-libraries/material-symbols/star_rate_half.md?v=sharp-filled)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/star_rate_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 MaterialSymbolsStarRateHalf: ImageVector
    get() {
        if (_MaterialSymbolsStarRateHalf != null) return _MaterialSymbolsStarRateHalf!!
        
        _MaterialSymbolsStarRateHalf = ImageVector.Builder(
            name = "star_rate_half",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(480f, 316f)
                verticalLineToRelative(236f)
                lineToRelative(96f, 74f)
                lineToRelative(-36f, -122f)
                lineToRelative(90f, -64f)
                horizontalLineTo(518f)
                lineToRelative(-38f, -124f)
                close()
                moveTo(233f, 840f)
                lineToRelative(93f, -304f)
                lineTo(80f, 360f)
                horizontalLineToRelative(304f)
                lineToRelative(96f, -320f)
                lineToRelative(96f, 320f)
                horizontalLineToRelative(304f)
                lineTo(634f, 536f)
                lineToRelative(93f, 304f)
                lineToRelative(-247f, -188f)
                lineToRelative(-247f, 188f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsStarRateHalf!!
    }

private var _MaterialSymbolsStarRateHalf: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/star_rate_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="M480,316v236l96,74l-36,-122l90,-64H518l-38,-124ZM233,840l93,-304L80,360h304l96,-320l96,320h304L634,536l93,304l-247,-188l-247,188Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M480-644v236l96 74-36-122 90-64H518l-38-124ZM233-120l93-304L80-600h304l96-320 96 320h304L634-424l93 304-247-188-247 188Z"/></svg>
```
