# line_weight Icon

> The line_weight 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/line_weight.md?v=filled), [Outlined](https://composables.com/icons/icon-libraries/material-icons/line_weight.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-icons/line_weight.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-icons/line_weight.md?v=sharp), [Two-Tone](https://composables.com/icons/icon-libraries/material-icons/line_weight.md?v=twotone)
- Categories: [Action](https://composables.com/icons/categories/action.md)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-icons/line_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 MaterialIconsLineWeight: ImageVector
    get() {
        if (_MaterialIconsLineWeight != null) return _MaterialIconsLineWeight!!
        
        _MaterialIconsLineWeight = ImageVector.Builder(
            name = "line_weight",
            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)
                close()
            }
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(3f, 17f)
                horizontalLineToRelative(18f)
                verticalLineToRelative(-2f)
                horizontalLineTo(3f)
                verticalLineToRelative(2f)
                close()
                moveToRelative(0f, 3f)
                horizontalLineToRelative(18f)
                verticalLineToRelative(-1f)
                horizontalLineTo(3f)
                verticalLineToRelative(1f)
                close()
                moveToRelative(0f, -7f)
                horizontalLineToRelative(18f)
                verticalLineToRelative(-3f)
                horizontalLineTo(3f)
                verticalLineToRelative(3f)
                close()
                moveToRelative(0f, -9f)
                verticalLineToRelative(4f)
                horizontalLineToRelative(18f)
                verticalLineTo(4f)
                horizontalLineTo(3f)
                close()
            }
        }.build()
        
        return _MaterialIconsLineWeight!!
    }

private var _MaterialIconsLineWeight: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/line_weight.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,0h24v24H0Z" />
    <path
        android:fillColor="@android:color/black"
        android:pathData="M3,17h18v-2H3v2Zm0,3h18v-1H3v1Zm0,-7h18v-3H3v3Zm0,-9v4h18V4H3Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M0 0h24v24H0z" fill="none"/><path d="M3 17h18v-2H3v2zm0 3h18v-1H3v1zm0-7h18v-3H3v3zm0-9v4h18V4H3z"/></svg>
```
