# width Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/width.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 MaterialSymbolsWidth: ImageVector
    get() {
        if (_MaterialSymbolsWidth != null) return _MaterialSymbolsWidth!!
        
        _MaterialSymbolsWidth = ImageVector.Builder(
            name = "width",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(280f, 640f)
                lineTo(120f, 480f)
                lineToRelative(160f, -160f)
                lineToRelative(57f, 56f)
                lineToRelative(-64f, 64f)
                horizontalLineToRelative(414f)
                lineToRelative(-63f, -64f)
                lineToRelative(56f, -56f)
                lineToRelative(160f, 160f)
                lineToRelative(-160f, 160f)
                lineToRelative(-56f, -56f)
                lineToRelative(63f, -64f)
                horizontalLineTo(273f)
                lineToRelative(63f, 64f)
                lineToRelative(-56f, 56f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsWidth!!
    }

private var _MaterialSymbolsWidth: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/width.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="M280,640L120,480l160,-160l57,56l-64,64h414l-63,-64l56,-56l160,160l-160,160l-56,-56l63,-64H273l63,64l-56,56Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M280-320 120-480l160-160 57 56-64 64h414l-63-64 56-56 160 160-160 160-56-56 63-64H273l63 64-56 56Z"/></svg>
```
