# smart_toy Icon

> The smart_toy 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/smart_toy.md?v=filled), [Outlined](https://composables.com/icons/icon-libraries/material-icons/smart_toy.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-icons/smart_toy.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-icons/smart_toy.md?v=sharp), [Two-Tone](https://composables.com/icons/icon-libraries/material-icons/smart_toy.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/smart_toy.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.group
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.unit.dp

val MaterialIconsSmartToy: ImageVector
    get() {
        if (_MaterialIconsSmartToy != null) return _MaterialIconsSmartToy!!
        
        _MaterialIconsSmartToy = ImageVector.Builder(
            name = "smart_toy",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 24f,
            viewportHeight = 24f
        ).apply {
            group {
                path(
                    fill = SolidColor(Color.Transparent)
                ) {
                    moveTo(0f, 0f)
                    horizontalLineTo(24f)
                    verticalLineTo(24f)
                    horizontalLineTo(0f)
                    verticalLineTo(0f)
                    close()
                }
            }
            group {
                group {
                    path(
                        fill = SolidColor(Color.Black)
                    ) {
                        moveTo(20f, 9f)
                        verticalLineTo(7f)
                        curveToRelative(0f, -1.1f, -0.9f, -2f, -2f, -2f)
                        horizontalLineToRelative(-3f)
                        curveToRelative(0f, -1.66f, -1.34f, -3f, -3f, -3f)
                        reflectiveCurveTo(9f, 3.34f, 9f, 5f)
                        horizontalLineTo(6f)
                        curveTo(4.9f, 5f, 4f, 5.9f, 4f, 7f)
                        verticalLineToRelative(2f)
                        curveToRelative(-1.66f, 0f, -3f, 1.34f, -3f, 3f)
                        reflectiveCurveToRelative(1.34f, 3f, 3f, 3f)
                        verticalLineToRelative(4f)
                        curveToRelative(0f, 1.1f, 0.9f, 2f, 2f, 2f)
                        horizontalLineToRelative(12f)
                        curveToRelative(1.1f, 0f, 2f, -0.9f, 2f, -2f)
                        verticalLineToRelative(-4f)
                        curveToRelative(1.66f, 0f, 3f, -1.34f, 3f, -3f)
                        reflectiveCurveTo(21.66f, 9f, 20f, 9f)
                        close()
                        moveTo(18f, 19f)
                        lineTo(6f, 19f)
                        verticalLineTo(7f)
                        horizontalLineToRelative(12f)
                        verticalLineTo(19f)
                        close()
                        moveTo(9f, 13f)
                        curveToRelative(-0.83f, 0f, -1.5f, -0.67f, -1.5f, -1.5f)
                        reflectiveCurveTo(8.17f, 10f, 9f, 10f)
                        reflectiveCurveToRelative(1.5f, 0.67f, 1.5f, 1.5f)
                        reflectiveCurveTo(9.83f, 13f, 9f, 13f)
                        close()
                        moveTo(16.5f, 11.5f)
                        curveToRelative(0f, 0.83f, -0.67f, 1.5f, -1.5f, 1.5f)
                        reflectiveCurveToRelative(-1.5f, -0.67f, -1.5f, -1.5f)
                        reflectiveCurveTo(14.17f, 10f, 15f, 10f)
                        reflectiveCurveTo(16.5f, 10.67f, 16.5f, 11.5f)
                        close()
                        moveTo(8f, 15f)
                        horizontalLineToRelative(8f)
                        verticalLineToRelative(2f)
                        horizontalLineTo(8f)
                        verticalLineTo(15f)
                        close()
                    }
                }
            }
        }.build()
        
        return _MaterialIconsSmartToy!!
    }

private var _MaterialIconsSmartToy: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/smart_toy.xml`

```xml
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:viewportWidth="24"
    android:viewportHeight="24">
    <path
        android:pathData="M0,0H24V24H0V0Z" />
    <path
        android:fillColor="@android:color/black"
        android:pathData="M20,9V7c0,-1.1 -0.9,-2 -2,-2h-3c0,-1.66 -1.34,-3 -3,-3S9,3.34 9,5H6C4.9,5 4,5.9 4,7v2c-1.66,0 -3,1.34 -3,3s1.34,3 3,3v4c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2v-4c1.66,0 3,-1.34 3,-3S21.66,9 20,9ZM18,19L6,19V7h12V19ZM9,13c-0.83,0 -1.5,-0.67 -1.5,-1.5S8.17,10 9,10s1.5,0.67 1.5,1.5S9.83,13 9,13ZM16.5,11.5c0,0.83 -0.67,1.5 -1.5,1.5s-1.5,-0.67 -1.5,-1.5S14.17,10 15,10S16.5,10.67 16.5,11.5ZM8,15h8v2H8V15Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" viewBox="0 0 24 24" fill="currentColor"><g><rect fill="none" height="24" width="24" y="0"/></g><g><g><path d="M20,9V7c0-1.1-0.9-2-2-2h-3c0-1.66-1.34-3-3-3S9,3.34,9,5H6C4.9,5,4,5.9,4,7v2c-1.66,0-3,1.34-3,3s1.34,3,3,3v4 c0,1.1,0.9,2,2,2h12c1.1,0,2-0.9,2-2v-4c1.66,0,3-1.34,3-3S21.66,9,20,9z M18,19L6,19V7h12V19z M9,13c-0.83,0-1.5-0.67-1.5-1.5 S8.17,10,9,10s1.5,0.67,1.5,1.5S9.83,13,9,13z M16.5,11.5c0,0.83-0.67,1.5-1.5,1.5s-1.5-0.67-1.5-1.5S14.17,10,15,10 S16.5,10.67,16.5,11.5z M8,15h8v2H8V15z"/></g></g></svg>
```
