# shortcut Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-icons/shortcut.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 MaterialIconsShortcut: ImageVector
    get() {
        if (_MaterialIconsShortcut != null) return _MaterialIconsShortcut!!
        
        _MaterialIconsShortcut = ImageVector.Builder(
            name = "shortcut",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 24f,
            viewportHeight = 24f
        ).apply {
            group {
                path(
                    fill = SolidColor(Color.Transparent)
                ) {
                    moveTo(0f, 0f)
                    horizontalLineToRelative(24f)
                    verticalLineToRelative(24f)
                    horizontalLineTo(0f)
                    verticalLineTo(0f)
                    close()
                }
            }
            group {
                path(
                    fill = SolidColor(Color.Black)
                ) {
                    moveTo(15f, 5f)
                    lineToRelative(-1.41f, 1.41f)
                    lineTo(15f, 7.83f)
                    lineTo(17.17f, 10f)
                    horizontalLineTo(8f)
                    curveToRelative(-2.76f, 0f, -5f, 2.24f, -5f, 5f)
                    verticalLineToRelative(4f)
                    horizontalLineToRelative(2f)
                    verticalLineToRelative(-4f)
                    curveToRelative(0f, -1.65f, 1.35f, -3f, 3f, -3f)
                    horizontalLineToRelative(9.17f)
                    lineTo(15f, 14.17f)
                    lineToRelative(-1.41f, 1.41f)
                    lineTo(15f, 17f)
                    lineToRelative(6f, -6f)
                    lineTo(15f, 5f)
                    close()
                }
            }
        }.build()
        
        return _MaterialIconsShortcut!!
    }

private var _MaterialIconsShortcut: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/shortcut.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="M15,5l-1.41,1.41L15,7.83L17.17,10H8c-2.76,0 -5,2.24 -5,5v4h2v-4c0,-1.65 1.35,-3 3,-3h9.17L15,14.17l-1.41,1.41L15,17l6,-6L15,5Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-icons/shortcut.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><path d="M0,0h24v24H0V0z" fill="none"/></g><g><path d="M15,5l-1.41,1.41L15,7.83L17.17,10H8c-2.76,0-5,2.24-5,5v4h2v-4c0-1.65,1.35-3,3-3h9.17L15,14.17l-1.41,1.41L15,17l6-6 L15,5z"/></g></svg>
```
