# usb Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/usb.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 MaterialSymbolsUsb: ImageVector
    get() {
        if (_MaterialSymbolsUsb != null) return _MaterialSymbolsUsb!!
        
        _MaterialSymbolsUsb = ImageVector.Builder(
            name = "usb",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(480f, 880f)
                quadToRelative(-33f, 0f, -56.5f, -23.5f)
                reflectiveQuadTo(400f, 800f)
                quadToRelative(0f, -21f, 11f, -39f)
                reflectiveQuadToRelative(29f, -29f)
                verticalLineToRelative(-92f)
                horizontalLineTo(320f)
                quadToRelative(-33f, 0f, -56.5f, -23.5f)
                reflectiveQuadTo(240f, 560f)
                verticalLineToRelative(-92f)
                quadToRelative(-18f, -9f, -29f, -27f)
                reflectiveQuadToRelative(-11f, -41f)
                quadToRelative(0f, -33f, 23.5f, -56.5f)
                reflectiveQuadTo(280f, 320f)
                quadToRelative(33f, 0f, 56.5f, 23.5f)
                reflectiveQuadTo(360f, 400f)
                quadToRelative(0f, 23f, -11f, 40f)
                reflectiveQuadToRelative(-29f, 28f)
                verticalLineToRelative(92f)
                horizontalLineToRelative(120f)
                verticalLineToRelative(-320f)
                horizontalLineToRelative(-80f)
                lineToRelative(120f, -160f)
                lineToRelative(120f, 160f)
                horizontalLineToRelative(-80f)
                verticalLineToRelative(320f)
                horizontalLineToRelative(120f)
                verticalLineToRelative(-80f)
                horizontalLineToRelative(-40f)
                verticalLineToRelative(-160f)
                horizontalLineToRelative(160f)
                verticalLineToRelative(160f)
                horizontalLineToRelative(-40f)
                verticalLineToRelative(80f)
                quadToRelative(0f, 33f, -23.5f, 56.5f)
                reflectiveQuadTo(640f, 640f)
                horizontalLineTo(520f)
                verticalLineToRelative(92f)
                quadToRelative(19f, 10f, 29.5f, 28f)
                reflectiveQuadToRelative(10.5f, 40f)
                quadToRelative(0f, 33f, -23.5f, 56.5f)
                reflectiveQuadTo(480f, 880f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsUsb!!
    }

private var _MaterialSymbolsUsb: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/usb.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="M480,880q-33,0 -56.5,-23.5T400,800q0,-21 11,-39t29,-29v-92H320q-33,0 -56.5,-23.5T240,560v-92q-18,-9 -29,-27t-11,-41q0,-33 23.5,-56.5T280,320q33,0 56.5,23.5T360,400q0,23 -11,40t-29,28v92h120v-320h-80l120,-160l120,160h-80v320h120v-80h-40v-160h160v160h-40v80q0,33 -23.5,56.5T640,640H520v92q19,10 29.5,28t10.5,40q0,33 -23.5,56.5T480,880Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M480-80q-33 0-56.5-23.5T400-160q0-21 11-39t29-29v-92H320q-33 0-56.5-23.5T240-400v-92q-18-9-29-27t-11-41q0-33 23.5-56.5T280-640q33 0 56.5 23.5T360-560q0 23-11 40t-29 28v92h120v-320h-80l120-160 120 160h-80v320h120v-80h-40v-160h160v160h-40v80q0 33-23.5 56.5T640-320H520v92q19 10 29.5 28t10.5 40q0 33-23.5 56.5T480-80Z"/></svg>
```
