# format_shapes Icon

> The format_shapes icon from Material as Compose ImageVector Kotlin code, Android Vector Drawable XML and SVG.

- Library: [Material Icons](https://composables.com/icons/icon-libraries/material-icons.md)
- License: Apache 2.0 (full text in the [Material Icons library page](https://composables.com/icons/icon-libraries/material-icons.md))
- Styles: [Filled](https://composables.com/icons/icon-libraries/material-icons/format_shapes.md?v=filled), [Outlined](https://composables.com/icons/icon-libraries/material-icons/format_shapes.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-icons/format_shapes.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-icons/format_shapes.md?v=sharp), [Two-Tone](https://composables.com/icons/icon-libraries/material-icons/format_shapes.md?v=twotone)
- Categories: [Editor](https://composables.com/icons/categories/editor.md)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-icons/format_shapes.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 MaterialIconsFormatShapes: ImageVector
    get() {
        if (_MaterialIconsFormatShapes != null) return _MaterialIconsFormatShapes!!
        
        _MaterialIconsFormatShapes = ImageVector.Builder(
            name = "format_shapes",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 24f,
            viewportHeight = 24f
        ).apply {
            path(
                fill = SolidColor(Color.Transparent)
            ) {
                moveTo(0f, 0f)
                horizontalLineToRelative(24f)
                verticalLineToRelative(24f)
                horizontalLineTo(0f)
                verticalLineTo(0f)
                close()
            }
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(23f, 7f)
                verticalLineTo(1f)
                horizontalLineToRelative(-6f)
                verticalLineToRelative(2f)
                horizontalLineTo(7f)
                verticalLineTo(1f)
                horizontalLineTo(1f)
                verticalLineToRelative(6f)
                horizontalLineToRelative(2f)
                verticalLineToRelative(10f)
                horizontalLineTo(1f)
                verticalLineToRelative(6f)
                horizontalLineToRelative(6f)
                verticalLineToRelative(-2f)
                horizontalLineToRelative(10f)
                verticalLineToRelative(2f)
                horizontalLineToRelative(6f)
                verticalLineToRelative(-6f)
                horizontalLineToRelative(-2f)
                verticalLineTo(7f)
                horizontalLineToRelative(2f)
                close()
                moveTo(3f, 3f)
                horizontalLineToRelative(2f)
                verticalLineToRelative(2f)
                horizontalLineTo(3f)
                verticalLineTo(3f)
                close()
                moveToRelative(2f, 18f)
                horizontalLineTo(3f)
                verticalLineToRelative(-2f)
                horizontalLineToRelative(2f)
                verticalLineToRelative(2f)
                close()
                moveToRelative(12f, -2f)
                horizontalLineTo(7f)
                verticalLineToRelative(-2f)
                horizontalLineTo(5f)
                verticalLineTo(7f)
                horizontalLineToRelative(2f)
                verticalLineTo(5f)
                horizontalLineToRelative(10f)
                verticalLineToRelative(2f)
                horizontalLineToRelative(2f)
                verticalLineToRelative(10f)
                horizontalLineToRelative(-2f)
                verticalLineToRelative(2f)
                close()
                moveToRelative(4f, 2f)
                horizontalLineToRelative(-2f)
                verticalLineToRelative(-2f)
                horizontalLineToRelative(2f)
                verticalLineToRelative(2f)
                close()
                moveTo(19f, 5f)
                verticalLineTo(3f)
                horizontalLineToRelative(2f)
                verticalLineToRelative(2f)
                horizontalLineToRelative(-2f)
                close()
                moveToRelative(-5.27f, 9f)
                horizontalLineToRelative(-3.49f)
                lineToRelative(-0.73f, 2f)
                horizontalLineTo(7.89f)
                lineToRelative(3.4f, -9f)
                horizontalLineToRelative(1.4f)
                lineToRelative(3.41f, 9f)
                horizontalLineToRelative(-1.63f)
                lineToRelative(-0.74f, -2f)
                close()
                moveToRelative(-3.04f, -1.26f)
                horizontalLineToRelative(2.61f)
                lineTo(12f, 8.91f)
                lineToRelative(-1.31f, 3.83f)
                close()
            }
        }.build()
        
        return _MaterialIconsFormatShapes!!
    }

private var _MaterialIconsFormatShapes: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/format_shapes.xml`

```xml
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="24"
    android:viewportHeight="24">
    <path
        android:pathData="M0,0h24v24H0V0Z" />
    <path
        android:fillColor="@android:color/black"
        android:pathData="M23,7V1h-6v2H7V1H1v6h2v10H1v6h6v-2h10v2h6v-6h-2V7h2ZM3,3h2v2H3V3Zm2,18H3v-2h2v2Zm12,-2H7v-2H5V7h2V5h10v2h2v10h-2v2Zm4,2h-2v-2h2v2ZM19,5V3h2v2h-2Zm-5.27,9h-3.49l-0.73,2H7.89l3.4,-9h1.4l3.41,9h-1.63l-0.74,-2Zm-3.04,-1.26h2.61L12,8.91l-1.31,3.83Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M23 7V1h-6v2H7V1H1v6h2v10H1v6h6v-2h10v2h6v-6h-2V7h2zM3 3h2v2H3V3zm2 18H3v-2h2v2zm12-2H7v-2H5V7h2V5h10v2h2v10h-2v2zm4 2h-2v-2h2v2zM19 5V3h2v2h-2zm-5.27 9h-3.49l-.73 2H7.89l3.4-9h1.4l3.41 9h-1.63l-.74-2zm-3.04-1.26h2.61L12 8.91l-1.31 3.83z"/></svg>
```
