# add_diamond Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/add_diamond.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 MaterialSymbolsAddDiamond: ImageVector
    get() {
        if (_MaterialSymbolsAddDiamond != null) return _MaterialSymbolsAddDiamond!!
        
        _MaterialSymbolsAddDiamond = ImageVector.Builder(
            name = "add_diamond",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(440f, 640f)
                horizontalLineToRelative(80f)
                verticalLineToRelative(-120f)
                horizontalLineToRelative(120f)
                verticalLineToRelative(-80f)
                horizontalLineTo(520f)
                verticalLineToRelative(-120f)
                horizontalLineToRelative(-80f)
                verticalLineToRelative(120f)
                horizontalLineTo(320f)
                verticalLineToRelative(80f)
                horizontalLineToRelative(120f)
                verticalLineToRelative(120f)
                close()
                moveToRelative(40f, 240f)
                quadToRelative(-16f, 0f, -30.5f, -5.5f)
                reflectiveQuadTo(424f, 857f)
                lineTo(105f, 537f)
                quadToRelative(-11f, -12f, -18f, -26.5f)
                reflectiveQuadTo(80f, 480f)
                quadToRelative(0f, -16f, 7f, -30.5f)
                reflectiveQuadToRelative(18f, -25.5f)
                lineToRelative(319f, -320f)
                quadToRelative(12f, -12f, 26f, -18f)
                reflectiveQuadToRelative(30f, -6f)
                quadToRelative(16f, 0f, 31f, 6f)
                reflectiveQuadToRelative(26f, 18f)
                lineToRelative(318f, 320f)
                quadToRelative(11f, 12f, 18f, 26f)
                reflectiveQuadToRelative(7f, 30f)
                quadToRelative(0f, 16f, -6.5f, 30.5f)
                reflectiveQuadTo(855f, 537f)
                lineTo(537f, 857f)
                quadToRelative(-11f, 11f, -26f, 17f)
                reflectiveQuadToRelative(-31f, 6f)
                close()
                moveToRelative(0f, -80f)
                lineToRelative(319f, -320f)
                lineToRelative(-319f, -320f)
                lineToRelative(-319f, 320f)
                lineToRelative(319f, 320f)
                close()
                moveToRelative(0f, -320f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsAddDiamond!!
    }

private var _MaterialSymbolsAddDiamond: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/add_diamond.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,640h80v-120h120v-80H520v-120h-80v120H320v80h120v120Zm40,240q-16,0 -30.5,-5.5T424,857L105,537q-11,-12 -18,-26.5T80,480q0,-16 7,-30.5t18,-25.5l319,-320q12,-12 26,-18t30,-6q16,0 31,6t26,18l318,320q11,12 18,26t7,30q0,16 -6.5,30.5T855,537L537,857q-11,11 -26,17t-31,6Zm0,-80l319,-320l-319,-320l-319,320l319,320Zm0,-320Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M440-320h80v-120h120v-80H520v-120h-80v120H320v80h120v120Zm40 240q-16 0-30.5-5.5T424-103L105-423q-11-12-18-26.5T80-480q0-16 7-30.5t18-25.5l319-320q12-12 26-18t30-6q16 0 31 6t26 18l318 320q11 12 18 26t7 30q0 16-6.5 30.5T855-423L537-103q-11 11-26 17t-31 6Zm0-80 319-320-319-320-319 320 319 320Zm0-320Z"/></svg>
```
