# asterisk Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/asterisk.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 MaterialSymbolsAsterisk: ImageVector
    get() {
        if (_MaterialSymbolsAsterisk != null) return _MaterialSymbolsAsterisk!!
        
        _MaterialSymbolsAsterisk = ImageVector.Builder(
            name = "asterisk",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(440f, 840f)
                verticalLineToRelative(-264f)
                lineTo(254f, 763f)
                lineToRelative(-57f, -57f)
                lineToRelative(187f, -186f)
                horizontalLineTo(120f)
                verticalLineToRelative(-80f)
                horizontalLineToRelative(264f)
                lineTo(197f, 254f)
                lineToRelative(57f, -57f)
                lineToRelative(186f, 187f)
                verticalLineToRelative(-264f)
                horizontalLineToRelative(80f)
                verticalLineToRelative(264f)
                lineToRelative(186f, -187f)
                lineToRelative(57f, 57f)
                lineToRelative(-187f, 186f)
                horizontalLineToRelative(264f)
                verticalLineToRelative(80f)
                horizontalLineTo(576f)
                lineToRelative(187f, 186f)
                lineToRelative(-57f, 57f)
                lineToRelative(-186f, -187f)
                verticalLineToRelative(264f)
                horizontalLineToRelative(-80f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsAsterisk!!
    }

private var _MaterialSymbolsAsterisk: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/asterisk.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="M440,840v-264L254,763l-57,-57l187,-186H120v-80h264L197,254l57,-57l186,187v-264h80v264l186,-187l57,57l-187,186h264v80H576l187,186l-57,57l-186,-187v264h-80Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M440-120v-264L254-197l-57-57 187-186H120v-80h264L197-706l57-57 186 187v-264h80v264l186-187 57 57-187 186h264v80H576l187 186-57 57-186-187v264h-80Z"/></svg>
```
