# switches Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/switches.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 MaterialSymbolsSwitches: ImageVector
    get() {
        if (_MaterialSymbolsSwitches != null) return _MaterialSymbolsSwitches!!
        
        _MaterialSymbolsSwitches = ImageVector.Builder(
            name = "switches",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(280f, 680f)
                quadToRelative(-83f, 0f, -141.5f, -58.5f)
                reflectiveQuadTo(80f, 480f)
                quadToRelative(0f, -83f, 58.5f, -141.5f)
                reflectiveQuadTo(280f, 280f)
                quadToRelative(50f, 0f, 90.5f, 22f)
                reflectiveQuadToRelative(69.5f, 58f)
                horizontalLineToRelative(320f)
                quadToRelative(50f, 0f, 85f, 35f)
                reflectiveQuadToRelative(35f, 85f)
                quadToRelative(0f, 50f, -35f, 85f)
                reflectiveQuadToRelative(-85f, 35f)
                horizontalLineTo(440f)
                quadToRelative(-29f, 36f, -69.5f, 58f)
                reflectiveQuadTo(280f, 680f)
                close()
                moveToRelative(0f, -200f)
                close()
                moveToRelative(196f, 40f)
                horizontalLineToRelative(284f)
                quadToRelative(17f, 0f, 28.5f, -11.5f)
                reflectiveQuadTo(800f, 480f)
                quadToRelative(0f, -17f, -11.5f, -28.5f)
                reflectiveQuadTo(760f, 440f)
                horizontalLineTo(476f)
                quadToRelative(2f, 9f, 3f, 20f)
                reflectiveQuadToRelative(1f, 20f)
                quadToRelative(0f, 9f, -1f, 20f)
                reflectiveQuadToRelative(-3f, 20f)
                close()
                moveToRelative(-196f, 80f)
                quadToRelative(50f, 0f, 85f, -35f)
                reflectiveQuadToRelative(35f, -85f)
                quadToRelative(0f, -50f, -35f, -85f)
                reflectiveQuadToRelative(-85f, -35f)
                quadToRelative(-50f, 0f, -85f, 35f)
                reflectiveQuadToRelative(-35f, 85f)
                quadToRelative(0f, 50f, 35f, 85f)
                reflectiveQuadToRelative(85f, 35f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsSwitches!!
    }

private var _MaterialSymbolsSwitches: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/switches.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,680q-83,0 -141.5,-58.5T80,480q0,-83 58.5,-141.5T280,280q50,0 90.5,22t69.5,58h320q50,0 85,35t35,85q0,50 -35,85t-85,35H440q-29,36 -69.5,58T280,680Zm0,-200Zm196,40h284q17,0 28.5,-11.5T800,480q0,-17 -11.5,-28.5T760,440H476q2,9 3,20t1,20q0,9 -1,20t-3,20Zm-196,80q50,0 85,-35t35,-85q0,-50 -35,-85t-85,-35q-50,0 -85,35t-35,85q0,50 35,85t85,35Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M280-280q-83 0-141.5-58.5T80-480q0-83 58.5-141.5T280-680q50 0 90.5 22t69.5 58h320q50 0 85 35t35 85q0 50-35 85t-85 35H440q-29 36-69.5 58T280-280Zm0-200Zm196 40h284q17 0 28.5-11.5T800-480q0-17-11.5-28.5T760-520H476q2 9 3 20t1 20q0 9-1 20t-3 20Zm-196 80q50 0 85-35t35-85q0-50-35-85t-85-35q-50 0-85 35t-35 85q0 50 35 85t85 35Z"/></svg>
```
