# star_rate Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/star_rate.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 MaterialSymbolsStarRate: ImageVector
    get() {
        if (_MaterialSymbolsStarRate != null) return _MaterialSymbolsStarRate!!
        
        _MaterialSymbolsStarRate = ImageVector.Builder(
            name = "star_rate",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(384f, 626f)
                lineToRelative(96f, -74f)
                lineToRelative(96f, 74f)
                lineToRelative(-36f, -122f)
                lineToRelative(90f, -64f)
                horizontalLineTo(518f)
                lineToRelative(-38f, -124f)
                lineToRelative(-38f, 124f)
                horizontalLineTo(330f)
                lineToRelative(90f, 64f)
                lineToRelative(-36f, 122f)
                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()
                moveToRelative(247f, -369f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsStarRate!!
    }

private var _MaterialSymbolsStarRate: ImageVector? = null
```

## Android Vector Drawable (XML)

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

## SVG

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

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