# add_to_drive Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-icons/add_to_drive.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 MaterialIconsAddToDrive: ImageVector
    get() {
        if (_MaterialIconsAddToDrive != null) return _MaterialIconsAddToDrive!!
        
        _MaterialIconsAddToDrive = ImageVector.Builder(
            name = "add_to_drive",
            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(19f, 11f)
                        curveToRelative(0.17f, 0f, 0.33f, 0.01f, 0.49f, 0.02f)
                        lineTo(15f, 3f)
                        horizontalLineTo(9f)
                        lineToRelative(5.68f, 9.84f)
                        curveTo(15.77f, 11.71f, 17.3f, 11f, 19f, 11f)
                        close()
                    }
                    path(
                        fill = SolidColor(Color.Black)
                    ) {
                        moveTo(8.15f, 4.52f)
                        lineTo(2f, 15.5f)
                        lineTo(5f, 21f)
                        lineTo(11.33f, 10.03f)
                        close()
                    }
                    path(
                        fill = SolidColor(Color.Black)
                    ) {
                        moveTo(13.2f, 15.5f)
                        horizontalLineTo(9.9f)
                        lineTo(6.73f, 21f)
                        horizontalLineToRelative(7.81f)
                        curveTo(13.58f, 19.94f, 13f, 18.54f, 13f, 17f)
                        curveTo(13f, 16.48f, 13.07f, 15.98f, 13.2f, 15.5f)
                        close()
                    }
                    path(
                        fill = SolidColor(Color.Black)
                    ) {
                        moveTo(20f, 16f)
                        lineTo(20f, 13f)
                        lineTo(18f, 13f)
                        lineTo(18f, 16f)
                        lineTo(15f, 16f)
                        lineTo(15f, 18f)
                        lineTo(18f, 18f)
                        lineTo(18f, 21f)
                        lineTo(19f, 21f)
                        lineTo(20f, 21f)
                        lineTo(20f, 18f)
                        lineTo(23f, 18f)
                        lineTo(23f, 16f)
                        close()
                    }
                }
            }
        }.build()
        
        return _MaterialIconsAddToDrive!!
    }

private var _MaterialIconsAddToDrive: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/add_to_drive.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="M19,11c0.17,0 0.33,0.01 0.49,0.02L15,3H9l5.68,9.84C15.77,11.71 17.3,11 19,11Z" />
    <path
        android:fillColor="@android:color/black"
        android:pathData="M8.15,4.52L2,15.5L5,21L11.33,10.03Z" />
    <path
        android:fillColor="@android:color/black"
        android:pathData="M13.2,15.5H9.9L6.73,21h7.81C13.58,19.94 13,18.54 13,17C13,16.48 13.07,15.98 13.2,15.5Z" />
    <path
        android:fillColor="@android:color/black"
        android:pathData="M20,16L20,13L18,13L18,16L15,16L15,18L18,18L18,21L19,21L20,21L20,18L23,18L23,16Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-icons/add_to_drive.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" x="0"/></g><g><g><path d="M19,11c0.17,0,0.33,0.01,0.49,0.02L15,3H9l5.68,9.84C15.77,11.71,17.3,11,19,11z"/><polygon points="8.15,4.52 2,15.5 5,21 11.33,10.03"/><path d="M13.2,15.5H9.9L6.73,21h7.81C13.58,19.94,13,18.54,13,17C13,16.48,13.07,15.98,13.2,15.5z"/><polygon points="20,16 20,13 18,13 18,16 15,16 15,18 18,18 18,21 19,21 20,21 20,18 23,18 23,16"/></g></g></svg>
```
