# stacks Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/stacks.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 MaterialSymbolsStacks: ImageVector
    get() {
        if (_MaterialSymbolsStacks != null) return _MaterialSymbolsStacks!!
        
        _MaterialSymbolsStacks = ImageVector.Builder(
            name = "stacks",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(480f, 560f)
                lineTo(40f, 320f)
                lineToRelative(440f, -240f)
                lineToRelative(440f, 240f)
                lineToRelative(-440f, 240f)
                close()
                moveToRelative(0f, 160f)
                lineTo(63f, 493f)
                lineToRelative(84f, -46f)
                lineToRelative(333f, 182f)
                lineToRelative(333f, -182f)
                lineToRelative(84f, 46f)
                lineToRelative(-417f, 227f)
                close()
                moveToRelative(0f, 160f)
                lineTo(63f, 653f)
                lineToRelative(84f, -46f)
                lineToRelative(333f, 182f)
                lineToRelative(333f, -182f)
                lineToRelative(84f, 46f)
                lineTo(480f, 880f)
                close()
                moveToRelative(0f, -411f)
                lineToRelative(273f, -149f)
                lineToRelative(-273f, -149f)
                lineToRelative(-273f, 149f)
                lineToRelative(273f, 149f)
                close()
                moveToRelative(0f, -149f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsStacks!!
    }

private var _MaterialSymbolsStacks: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/stacks.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,560L40,320l440,-240l440,240l-440,240Zm0,160L63,493l84,-46l333,182l333,-182l84,46l-417,227Zm0,160L63,653l84,-46l333,182l333,-182l84,46L480,880Zm0,-411l273,-149l-273,-149l-273,149l273,149Zm0,-149Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M480-400 40-640l440-240 440 240-440 240Zm0 160L63-467l84-46 333 182 333-182 84 46-417 227Zm0 160L63-307l84-46 333 182 333-182 84 46L480-80Zm0-411 273-149-273-149-273 149 273 149Zm0-149Z"/></svg>
```
