# edit_square Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/edit_square.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 MaterialSymbolsEditSquare: ImageVector
    get() {
        if (_MaterialSymbolsEditSquare != null) return _MaterialSymbolsEditSquare!!
        
        _MaterialSymbolsEditSquare = ImageVector.Builder(
            name = "edit_square",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(200f, 840f)
                quadToRelative(-33f, 0f, -56.5f, -23.5f)
                reflectiveQuadTo(120f, 760f)
                verticalLineToRelative(-560f)
                quadToRelative(0f, -33f, 23.5f, -56.5f)
                reflectiveQuadTo(200f, 120f)
                horizontalLineToRelative(357f)
                lineToRelative(-80f, 80f)
                horizontalLineTo(200f)
                verticalLineToRelative(560f)
                horizontalLineToRelative(560f)
                verticalLineToRelative(-278f)
                lineToRelative(80f, -80f)
                verticalLineToRelative(358f)
                quadToRelative(0f, 33f, -23.5f, 56.5f)
                reflectiveQuadTo(760f, 840f)
                horizontalLineTo(200f)
                close()
                moveToRelative(280f, -360f)
                close()
                moveTo(360f, 600f)
                verticalLineToRelative(-170f)
                lineToRelative(367f, -367f)
                quadToRelative(12f, -12f, 27f, -18f)
                reflectiveQuadToRelative(30f, -6f)
                quadToRelative(16f, 0f, 30.5f, 6f)
                reflectiveQuadToRelative(26.5f, 18f)
                lineToRelative(56f, 57f)
                quadToRelative(11f, 12f, 17f, 26.5f)
                reflectiveQuadToRelative(6f, 29.5f)
                quadToRelative(0f, 15f, -5.5f, 29.5f)
                reflectiveQuadTo(897f, 232f)
                lineTo(530f, 600f)
                horizontalLineTo(360f)
                close()
                moveToRelative(481f, -424f)
                lineToRelative(-56f, -56f)
                lineToRelative(56f, 56f)
                close()
                moveTo(440f, 520f)
                horizontalLineToRelative(56f)
                lineToRelative(232f, -232f)
                lineToRelative(-28f, -28f)
                lineToRelative(-29f, -28f)
                lineToRelative(-231f, 231f)
                verticalLineToRelative(57f)
                close()
                moveToRelative(260f, -260f)
                lineToRelative(-29f, -28f)
                lineToRelative(29f, 28f)
                lineToRelative(28f, 28f)
                lineToRelative(-28f, -28f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsEditSquare!!
    }

private var _MaterialSymbolsEditSquare: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/edit_square.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,840q-33,0 -56.5,-23.5T120,760v-560q0,-33 23.5,-56.5T200,120h357l-80,80H200v560h560v-278l80,-80v358q0,33 -23.5,56.5T760,840H200Zm280,-360ZM360,600v-170l367,-367q12,-12 27,-18t30,-6q16,0 30.5,6t26.5,18l56,57q11,12 17,26.5t6,29.5q0,15 -5.5,29.5T897,232L530,600H360Zm481,-424l-56,-56l56,56ZM440,520h56l232,-232l-28,-28l-29,-28l-231,231v57Zm260,-260l-29,-28l29,28l28,28l-28,-28Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h357l-80 80H200v560h560v-278l80-80v358q0 33-23.5 56.5T760-120H200Zm280-360ZM360-360v-170l367-367q12-12 27-18t30-6q16 0 30.5 6t26.5 18l56 57q11 12 17 26.5t6 29.5q0 15-5.5 29.5T897-728L530-360H360Zm481-424-56-56 56 56ZM440-440h56l232-232-28-28-29-28-231 231v57Zm260-260-29-28 29 28 28 28-28-28Z"/></svg>
```
