# duo Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-icons/duo.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 MaterialIconsDuo: ImageVector
    get() {
        if (_MaterialIconsDuo != null) return _MaterialIconsDuo!!
        
        _MaterialIconsDuo = ImageVector.Builder(
            name = "duo",
            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)
                verticalLineTo(0f)
                close()
            }
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(20f, 2f)
                horizontalLineToRelative(-8f)
                curveTo(6.38f, 2f, 2f, 6.66f, 2f, 12.28f)
                curveTo(2f, 17.5f, 6.49f, 22f, 11.72f, 22f)
                curveTo(17.39f, 22f, 22f, 17.62f, 22f, 12f)
                verticalLineTo(4f)
                curveToRelative(0f, -1.1f, -0.9f, -2f, -2f, -2f)
                close()
                moveToRelative(-3f, 13f)
                lineToRelative(-3f, -2f)
                verticalLineToRelative(2f)
                horizontalLineTo(7f)
                verticalLineTo(9f)
                horizontalLineToRelative(7f)
                verticalLineToRelative(2f)
                lineToRelative(3f, -2f)
                verticalLineToRelative(6f)
                close()
            }
        }.build()
        
        return _MaterialIconsDuo!!
    }

private var _MaterialIconsDuo: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/duo.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,0h24v24H0V0Z" />
    <path
        android:fillColor="@android:color/black"
        android:pathData="M20,2h-8C6.38,2 2,6.66 2,12.28C2,17.5 6.49,22 11.72,22C17.39,22 22,17.62 22,12V4c0,-1.1 -0.9,-2 -2,-2Zm-3,13l-3,-2v2H7V9h7v2l3,-2v6Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M20 2h-8C6.38 2 2 6.66 2 12.28 2 17.5 6.49 22 11.72 22 17.39 22 22 17.62 22 12V4c0-1.1-.9-2-2-2zm-3 13l-3-2v2H7V9h7v2l3-2v6z"/></svg>
```
