# weight Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/weight.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 MaterialSymbolsWeight: ImageVector
    get() {
        if (_MaterialSymbolsWeight != null) return _MaterialSymbolsWeight!!
        
        _MaterialSymbolsWeight = ImageVector.Builder(
            name = "weight",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(240f, 760f)
                horizontalLineToRelative(480f)
                lineToRelative(-57f, -400f)
                horizontalLineTo(297f)
                lineToRelative(-57f, 400f)
                close()
                moveToRelative(240f, -480f)
                quadToRelative(17f, 0f, 28.5f, -11.5f)
                reflectiveQuadTo(520f, 240f)
                quadToRelative(0f, -17f, -11.5f, -28.5f)
                reflectiveQuadTo(480f, 200f)
                quadToRelative(-17f, 0f, -28.5f, 11.5f)
                reflectiveQuadTo(440f, 240f)
                quadToRelative(0f, 17f, 11.5f, 28.5f)
                reflectiveQuadTo(480f, 280f)
                close()
                moveToRelative(113f, 0f)
                horizontalLineToRelative(70f)
                quadToRelative(30f, 0f, 52f, 20f)
                reflectiveQuadToRelative(27f, 49f)
                lineToRelative(57f, 400f)
                quadToRelative(5f, 36f, -18.5f, 63.5f)
                reflectiveQuadTo(720f, 840f)
                horizontalLineTo(240f)
                quadToRelative(-37f, 0f, -60.5f, -27.5f)
                reflectiveQuadTo(161f, 749f)
                lineToRelative(57f, -400f)
                quadToRelative(5f, -29f, 27f, -49f)
                reflectiveQuadToRelative(52f, -20f)
                horizontalLineToRelative(70f)
                quadToRelative(-3f, -10f, -5f, -19.5f)
                reflectiveQuadToRelative(-2f, -20.5f)
                quadToRelative(0f, -50f, 35f, -85f)
                reflectiveQuadToRelative(85f, -35f)
                quadToRelative(50f, 0f, 85f, 35f)
                reflectiveQuadToRelative(35f, 85f)
                quadToRelative(0f, 11f, -2f, 20.5f)
                reflectiveQuadToRelative(-5f, 19.5f)
                close()
                moveTo(240f, 760f)
                horizontalLineToRelative(480f)
                horizontalLineToRelative(-480f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsWeight!!
    }

private var _MaterialSymbolsWeight: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/weight.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="M240,760h480l-57,-400H297l-57,400Zm240,-480q17,0 28.5,-11.5T520,240q0,-17 -11.5,-28.5T480,200q-17,0 -28.5,11.5T440,240q0,17 11.5,28.5T480,280Zm113,0h70q30,0 52,20t27,49l57,400q5,36 -18.5,63.5T720,840H240q-37,0 -60.5,-27.5T161,749l57,-400q5,-29 27,-49t52,-20h70q-3,-10 -5,-19.5t-2,-20.5q0,-50 35,-85t85,-35q50,0 85,35t35,85q0,11 -2,20.5t-5,19.5ZM240,760h480h-480Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M240-200h480l-57-400H297l-57 400Zm240-480q17 0 28.5-11.5T520-720q0-17-11.5-28.5T480-760q-17 0-28.5 11.5T440-720q0 17 11.5 28.5T480-680Zm113 0h70q30 0 52 20t27 49l57 400q5 36-18.5 63.5T720-120H240q-37 0-60.5-27.5T161-211l57-400q5-29 27-49t52-20h70q-3-10-5-19.5t-2-20.5q0-50 35-85t85-35q50 0 85 35t35 85q0 11-2 20.5t-5 19.5ZM240-200h480-480Z"/></svg>
```
