# gamepad Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-icons/gamepad.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 MaterialIconsGamepad: ImageVector
    get() {
        if (_MaterialIconsGamepad != null) return _MaterialIconsGamepad!!
        
        _MaterialIconsGamepad = ImageVector.Builder(
            name = "gamepad",
            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(13f, 4f)
                verticalLineToRelative(2.67f)
                lineToRelative(-1f, 1f)
                lineToRelative(-1f, -1f)
                verticalLineTo(4f)
                horizontalLineToRelative(2f)
                moveToRelative(7f, 7f)
                verticalLineToRelative(2f)
                horizontalLineToRelative(-2.67f)
                lineToRelative(-1f, -1f)
                lineToRelative(1f, -1f)
                horizontalLineTo(20f)
                moveTo(6.67f, 11f)
                lineToRelative(1f, 1f)
                lineToRelative(-1f, 1f)
                horizontalLineTo(4f)
                verticalLineToRelative(-2f)
                horizontalLineToRelative(2.67f)
                moveTo(12f, 16.33f)
                lineToRelative(1f, 1f)
                verticalLineTo(20f)
                horizontalLineToRelative(-2f)
                verticalLineToRelative(-2.67f)
                lineToRelative(1f, -1f)
                moveTo(15f, 2f)
                horizontalLineTo(9f)
                verticalLineToRelative(5.5f)
                lineToRelative(3f, 3f)
                lineToRelative(3f, -3f)
                verticalLineTo(2f)
                close()
                moveToRelative(7f, 7f)
                horizontalLineToRelative(-5.5f)
                lineToRelative(-3f, 3f)
                lineToRelative(3f, 3f)
                horizontalLineTo(22f)
                verticalLineTo(9f)
                close()
                moveTo(7.5f, 9f)
                horizontalLineTo(2f)
                verticalLineToRelative(6f)
                horizontalLineToRelative(5.5f)
                lineToRelative(3f, -3f)
                lineToRelative(-3f, -3f)
                close()
                moveToRelative(4.5f, 4.5f)
                lineToRelative(-3f, 3f)
                verticalLineTo(22f)
                horizontalLineToRelative(6f)
                verticalLineToRelative(-5.5f)
                lineToRelative(-3f, -3f)
                close()
            }
        }.build()
        
        return _MaterialIconsGamepad!!
    }

private var _MaterialIconsGamepad: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/gamepad.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="M13,4v2.67l-1,1l-1,-1V4h2m7,7v2h-2.67l-1,-1l1,-1H20M6.67,11l1,1l-1,1H4v-2h2.67M12,16.33l1,1V20h-2v-2.67l1,-1M15,2H9v5.5l3,3l3,-3V2Zm7,7h-5.5l-3,3l3,3H22V9ZM7.5,9H2v6h5.5l3,-3l-3,-3Zm4.5,4.5l-3,3V22h6v-5.5l-3,-3Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-icons/gamepad.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="M13 4v2.67l-1 1-1-1V4h2m7 7v2h-2.67l-1-1 1-1H20M6.67 11l1 1-1 1H4v-2h2.67M12 16.33l1 1V20h-2v-2.67l1-1M15 2H9v5.5l3 3 3-3V2zm7 7h-5.5l-3 3 3 3H22V9zM7.5 9H2v6h5.5l3-3-3-3zm4.5 4.5l-3 3V22h6v-5.5l-3-3z"/></svg>
```
