# directions_off Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-icons/directions_off.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 MaterialIconsDirectionsOff: ImageVector
    get() {
        if (_MaterialIconsDirectionsOff != null) return _MaterialIconsDirectionsOff!!
        
        _MaterialIconsDirectionsOff = ImageVector.Builder(
            name = "directions_off",
            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(21.71f, 11.29f)
                        lineToRelative(-9f, -9f)
                        curveToRelative(-0.39f, -0.39f, -1.02f, -0.39f, -1.41f, 0f)
                        lineTo(8.21f, 5.38f)
                        lineToRelative(1.41f, 1.41f)
                        lineTo(12f, 4.42f)
                        lineTo(19.58f, 12f)
                        lineToRelative(-2.38f, 2.38f)
                        lineToRelative(1.41f, 1.41f)
                        lineToRelative(3.09f, -3.09f)
                        curveTo(22.1f, 12.33f, 22.1f, 11.7f, 21.71f, 11.29f)
                        close()
                    }
                    path(
                        fill = SolidColor(Color.Black)
                    ) {
                        moveTo(13f, 7.5f)
                        lineTo(13f, 10.17f)
                        lineTo(15.17f, 12.34f)
                        lineTo(16.5f, 11f)
                        close()
                    }
                    path(
                        fill = SolidColor(Color.Black)
                    ) {
                        moveTo(1.39f, 4.22f)
                        lineToRelative(3.99f, 3.99f)
                        lineToRelative(-3.09f, 3.09f)
                        curveToRelative(-0.39f, 0.39f, -0.39f, 1.02f, 0f, 1.41f)
                        lineToRelative(9f, 9f)
                        curveToRelative(0.39f, 0.39f, 1.02f, 0.39f, 1.41f, 0f)
                        lineToRelative(3.09f, -3.09f)
                        lineToRelative(3.99f, 3.99f)
                        lineToRelative(1.41f, -1.41f)
                        lineTo(2.81f, 2.81f)
                        lineTo(1.39f, 4.22f)
                        close()
                        moveTo(8.03f, 10.85f)
                        curveTo(8.02f, 10.9f, 7.99f, 10.95f, 7.99f, 11f)
                        verticalLineToRelative(4f)
                        horizontalLineToRelative(2f)
                        verticalLineToRelative(-2.18f)
                        lineToRelative(4.38f, 4.38f)
                        lineTo(12f, 19.58f)
                        lineTo(4.42f, 12f)
                        lineToRelative(2.38f, -2.38f)
                        lineTo(8.03f, 10.85f)
                        close()
                    }
                }
            }
        }.build()
        
        return _MaterialIconsDirectionsOff!!
    }

private var _MaterialIconsDirectionsOff: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/directions_off.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="M21.71,11.29l-9,-9c-0.39,-0.39 -1.02,-0.39 -1.41,0L8.21,5.38l1.41,1.41L12,4.42L19.58,12l-2.38,2.38l1.41,1.41l3.09,-3.09C22.1,12.33 22.1,11.7 21.71,11.29Z" />
    <path
        android:fillColor="@android:color/black"
        android:pathData="M13,7.5L13,10.17L15.17,12.34L16.5,11Z" />
    <path
        android:fillColor="@android:color/black"
        android:pathData="M1.39,4.22l3.99,3.99l-3.09,3.09c-0.39,0.39 -0.39,1.02 0,1.41l9,9c0.39,0.39 1.02,0.39 1.41,0l3.09,-3.09l3.99,3.99l1.41,-1.41L2.81,2.81L1.39,4.22ZM8.03,10.85C8.02,10.9 7.99,10.95 7.99,11v4h2v-2.18l4.38,4.38L12,19.58L4.42,12l2.38,-2.38L8.03,10.85Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-icons/directions_off.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"/></g><g><g><path d="M21.71,11.29l-9-9c-0.39-0.39-1.02-0.39-1.41,0L8.21,5.38l1.41,1.41L12,4.42L19.58,12l-2.38,2.38l1.41,1.41l3.09-3.09 C22.1,12.33,22.1,11.7,21.71,11.29z"/><polygon points="13,7.5 13,10.17 15.17,12.34 16.5,11"/><path d="M1.39,4.22l3.99,3.99l-3.09,3.09c-0.39,0.39-0.39,1.02,0,1.41l9,9c0.39,0.39,1.02,0.39,1.41,0l3.09-3.09l3.99,3.99 l1.41-1.41L2.81,2.81L1.39,4.22z M8.03,10.85C8.02,10.9,7.99,10.95,7.99,11v4h2v-2.18l4.38,4.38L12,19.58L4.42,12l2.38-2.38 L8.03,10.85z"/></g></g></svg>
```
