# widgets Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/widgets.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 MaterialSymbolsWidgets: ImageVector
    get() {
        if (_MaterialSymbolsWidgets != null) return _MaterialSymbolsWidgets!!
        
        _MaterialSymbolsWidgets = ImageVector.Builder(
            name = "widgets",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(666f, 520f)
                lineTo(440f, 294f)
                lineToRelative(226f, -226f)
                lineToRelative(226f, 226f)
                lineToRelative(-226f, 226f)
                close()
                moveToRelative(-546f, -80f)
                verticalLineToRelative(-320f)
                horizontalLineToRelative(320f)
                verticalLineToRelative(320f)
                horizontalLineTo(120f)
                close()
                moveToRelative(400f, 400f)
                verticalLineToRelative(-320f)
                horizontalLineToRelative(320f)
                verticalLineToRelative(320f)
                horizontalLineTo(520f)
                close()
                moveToRelative(-400f, 0f)
                verticalLineToRelative(-320f)
                horizontalLineToRelative(320f)
                verticalLineToRelative(320f)
                horizontalLineTo(120f)
                close()
                moveToRelative(80f, -480f)
                horizontalLineToRelative(160f)
                verticalLineToRelative(-160f)
                horizontalLineTo(200f)
                verticalLineToRelative(160f)
                close()
                moveToRelative(467f, 48f)
                lineToRelative(113f, -113f)
                lineToRelative(-113f, -113f)
                lineToRelative(-113f, 113f)
                lineToRelative(113f, 113f)
                close()
                moveToRelative(-67f, 352f)
                horizontalLineToRelative(160f)
                verticalLineToRelative(-160f)
                horizontalLineTo(600f)
                verticalLineToRelative(160f)
                close()
                moveToRelative(-400f, 0f)
                horizontalLineToRelative(160f)
                verticalLineToRelative(-160f)
                horizontalLineTo(200f)
                verticalLineToRelative(160f)
                close()
                moveToRelative(160f, -400f)
                close()
                moveToRelative(194f, -65f)
                close()
                moveTo(360f, 600f)
                close()
                moveToRelative(240f, 0f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsWidgets!!
    }

private var _MaterialSymbolsWidgets: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/widgets.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="M666,520L440,294l226,-226l226,226l-226,226Zm-546,-80v-320h320v320H120Zm400,400v-320h320v320H520Zm-400,0v-320h320v320H120Zm80,-480h160v-160H200v160Zm467,48l113,-113l-113,-113l-113,113l113,113Zm-67,352h160v-160H600v160Zm-400,0h160v-160H200v160Zm160,-400Zm194,-65ZM360,600Zm240,0Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M666-440 440-666l226-226 226 226-226 226Zm-546-80v-320h320v320H120Zm400 400v-320h320v320H520Zm-400 0v-320h320v320H120Zm80-480h160v-160H200v160Zm467 48 113-113-113-113-113 113 113 113Zm-67 352h160v-160H600v160Zm-400 0h160v-160H200v160Zm160-400Zm194-65ZM360-360Zm240 0Z"/></svg>
```
