# on_hub_device Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/on_hub_device.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 MaterialSymbolsOnHubDevice: ImageVector
    get() {
        if (_MaterialSymbolsOnHubDevice != null) return _MaterialSymbolsOnHubDevice!!
        
        _MaterialSymbolsOnHubDevice = ImageVector.Builder(
            name = "on_hub_device",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(320f, 840f)
                verticalLineToRelative(-80f)
                horizontalLineToRelative(320f)
                verticalLineToRelative(80f)
                horizontalLineTo(320f)
                close()
                moveToRelative(0f, -120f)
                lineToRelative(-40f, -514f)
                quadToRelative(-3f, -35f, 21f, -60.5f)
                reflectiveQuadToRelative(59f, -25.5f)
                horizontalLineToRelative(240f)
                quadToRelative(35f, 0f, 59f, 25.5f)
                reflectiveQuadToRelative(21f, 60.5f)
                lineToRelative(-40f, 514f)
                horizontalLineTo(320f)
                close()
                moveToRelative(74f, -80f)
                horizontalLineToRelative(172f)
                lineToRelative(34f, -440f)
                horizontalLineTo(360f)
                lineToRelative(34f, 440f)
                close()
                moveToRelative(0f, -440f)
                horizontalLineToRelative(-34f)
                horizontalLineToRelative(240f)
                horizontalLineToRelative(-206f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsOnHubDevice!!
    }

private var _MaterialSymbolsOnHubDevice: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/on_hub_device.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="M320,840v-80h320v80H320Zm0,-120l-40,-514q-3,-35 21,-60.5t59,-25.5h240q35,0 59,25.5t21,60.5l-40,514H320Zm74,-80h172l34,-440H360l34,440Zm0,-440h-34h240h-206Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M320-120v-80h320v80H320Zm0-120-40-514q-3-35 21-60.5t59-25.5h240q35 0 59 25.5t21 60.5l-40 514H320Zm74-80h172l34-440H360l34 440Zm0-440h-34 240-206Z"/></svg>
```
