# chess Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/chess.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 MaterialSymbolsChess: ImageVector
    get() {
        if (_MaterialSymbolsChess != null) return _MaterialSymbolsChess!!
        
        _MaterialSymbolsChess = ImageVector.Builder(
            name = "chess",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(200f, 800f)
                horizontalLineToRelative(560f)
                verticalLineToRelative(-80f)
                horizontalLineTo(200f)
                verticalLineToRelative(80f)
                close()
                moveToRelative(132f, -160f)
                horizontalLineToRelative(296f)
                lineToRelative(-23f, -160f)
                horizontalLineTo(355f)
                lineToRelative(-23f, 160f)
                close()
                moveTo(120f, 880f)
                verticalLineToRelative(-160f)
                quadToRelative(0f, -33f, 23.5f, -56.5f)
                reflectiveQuadTo(200f, 640f)
                horizontalLineToRelative(52f)
                lineToRelative(22f, -160f)
                horizontalLineTo(160f)
                verticalLineToRelative(-80f)
                horizontalLineToRelative(640f)
                verticalLineToRelative(80f)
                horizontalLineTo(686f)
                lineToRelative(22f, 160f)
                horizontalLineToRelative(52f)
                quadToRelative(33f, 0f, 56.5f, 23.5f)
                reflectiveQuadTo(840f, 720f)
                verticalLineToRelative(160f)
                horizontalLineTo(120f)
                close()
                moveToRelative(151f, -480f)
                lineToRelative(-71f, -320f)
                quadToRelative(33f, 25f, 68f, 47f)
                reflectiveQuadToRelative(77f, 22f)
                quadToRelative(40f, 0f, 73.5f, -20.5f)
                reflectiveQuadTo(480f, 80f)
                quadToRelative(28f, 28f, 61.5f, 48.5f)
                reflectiveQuadTo(615f, 149f)
                quadToRelative(42f, 0f, 77f, -22f)
                reflectiveQuadToRelative(68f, -47f)
                lineToRelative(-71f, 320f)
                horizontalLineToRelative(-82f)
                lineToRelative(39f, -173f)
                lineToRelative(-7.5f, 1f)
                quadToRelative(-7.5f, 1f, -23.5f, 1f)
                quadToRelative(-36f, 0f, -70.5f, -11f)
                reflectiveQuadTo(480f, 187f)
                quadToRelative(-29f, 20f, -62.5f, 31f)
                reflectiveQuadTo(349f, 229f)
                quadToRelative(-18f, 0f, -26.5f, -1f)
                lineToRelative(-8.5f, -1f)
                lineToRelative(39f, 173f)
                horizontalLineToRelative(-82f)
                close()
                moveToRelative(209f, 80f)
                close()
                moveToRelative(0f, -80f)
                close()
                moveToRelative(0f, 400f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsChess!!
    }

private var _MaterialSymbolsChess: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/chess.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="M200,800h560v-80H200v80Zm132,-160h296l-23,-160H355l-23,160ZM120,880v-160q0,-33 23.5,-56.5T200,640h52l22,-160H160v-80h640v80H686l22,160h52q33,0 56.5,23.5T840,720v160H120Zm151,-480l-71,-320q33,25 68,47t77,22q40,0 73.5,-20.5T480,80q28,28 61.5,48.5T615,149q42,0 77,-22t68,-47l-71,320h-82l39,-173l-7.5,1q-7.5,1 -23.5,1q-36,0 -70.5,-11T480,187q-29,20 -62.5,31T349,229q-18,0 -26.5,-1l-8.5,-1l39,173h-82Zm209,80Zm0,-80Zm0,400Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M200-160h560v-80H200v80Zm132-160h296l-23-160H355l-23 160ZM120-80v-160q0-33 23.5-56.5T200-320h52l22-160H160v-80h640v80H686l22 160h52q33 0 56.5 23.5T840-240v160H120Zm151-480-71-320q33 25 68 47t77 22q40 0 73.5-20.5T480-880q28 28 61.5 48.5T615-811q42 0 77-22t68-47l-71 320h-82l39-173-7.5 1q-7.5 1-23.5 1-36 0-70.5-11T480-773q-29 20-62.5 31T349-731q-18 0-26.5-1l-8.5-1 39 173h-82Zm209 80Zm0-80Zm0 400Z"/></svg>
```
