# directions_transit_filled Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-icons/directions_transit_filled.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 MaterialIconsDirectionsTransitFilled: ImageVector
    get() {
        if (_MaterialIconsDirectionsTransitFilled != null) return _MaterialIconsDirectionsTransitFilled!!
        
        _MaterialIconsDirectionsTransitFilled = ImageVector.Builder(
            name = "directions_transit_filled",
            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(12f, 2f)
                        curveTo(8f, 2f, 4f, 2.5f, 4f, 6f)
                        verticalLineToRelative(9.5f)
                        curveTo(4f, 17.43f, 5.57f, 19f, 7.5f, 19f)
                        lineTo(6f, 20f)
                        verticalLineToRelative(1f)
                        horizontalLineToRelative(12f)
                        verticalLineToRelative(-1f)
                        lineToRelative(-1.5f, -1f)
                        curveToRelative(1.93f, 0f, 3.5f, -1.57f, 3.5f, -3.5f)
                        verticalLineTo(6f)
                        curveTo(20f, 2.5f, 16.42f, 2f, 12f, 2f)
                        close()
                        moveTo(12f, 4f)
                        curveToRelative(3.71f, 0f, 5.13f, 0.46f, 5.67f, 1f)
                        horizontalLineTo(13f)
                        horizontalLineToRelative(-2f)
                        horizontalLineTo(6.43f)
                        curveTo(7.03f, 4.48f, 8.48f, 4f, 12f, 4f)
                        close()
                        moveTo(6f, 7f)
                        horizontalLineToRelative(5f)
                        verticalLineToRelative(3f)
                        horizontalLineTo(6f)
                        verticalLineTo(7f)
                        close()
                        moveTo(18f, 15.5f)
                        curveToRelative(0f, 0.83f, -0.67f, 1.5f, -1.5f, 1.5f)
                        horizontalLineToRelative(-9f)
                        curveTo(6.67f, 17f, 6f, 16.33f, 6f, 15.5f)
                        verticalLineTo(12f)
                        horizontalLineToRelative(12f)
                        verticalLineTo(15.5f)
                        close()
                        moveTo(18f, 10f)
                        horizontalLineToRelative(-5f)
                        verticalLineTo(7f)
                        horizontalLineToRelative(5f)
                        verticalLineTo(10f)
                        close()
                    }
                    path(
                        fill = SolidColor(Color.Black)
                    ) {
                        moveTo(10f, 14.5f)
                        arcTo(1.5f, 1.5f, 0f, false, true, 8.5f, 16f)
                        arcTo(1.5f, 1.5f, 0f, false, true, 7f, 14.5f)
                        arcTo(1.5f, 1.5f, 0f, false, true, 10f, 14.5f)
                        close()
                    }
                    path(
                        fill = SolidColor(Color.Black)
                    ) {
                        moveTo(17f, 14.5f)
                        arcTo(1.5f, 1.5f, 0f, false, true, 15.5f, 16f)
                        arcTo(1.5f, 1.5f, 0f, false, true, 14f, 14.5f)
                        arcTo(1.5f, 1.5f, 0f, false, true, 17f, 14.5f)
                        close()
                    }
                }
            }
        }.build()
        
        return _MaterialIconsDirectionsTransitFilled!!
    }

private var _MaterialIconsDirectionsTransitFilled: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/directions_transit_filled.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="M12,2C8,2 4,2.5 4,6v9.5C4,17.43 5.57,19 7.5,19L6,20v1h12v-1l-1.5,-1c1.93,0 3.5,-1.57 3.5,-3.5V6C20,2.5 16.42,2 12,2ZM12,4c3.71,0 5.13,0.46 5.67,1H13h-2H6.43C7.03,4.48 8.48,4 12,4ZM6,7h5v3H6V7ZM18,15.5c0,0.83 -0.67,1.5 -1.5,1.5h-9C6.67,17 6,16.33 6,15.5V12h12V15.5ZM18,10h-5V7h5V10Z" />
    <path
        android:fillColor="@android:color/black"
        android:pathData="M10,14.5A1.5,1.5 0 0,1 8.5,16A1.5,1.5 0 0,1 7,14.5A1.5,1.5 0 0,1 10,14.5Z" />
    <path
        android:fillColor="@android:color/black"
        android:pathData="M17,14.5A1.5,1.5 0 0,1 15.5,16A1.5,1.5 0 0,1 14,14.5A1.5,1.5 0 0,1 17,14.5Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-icons/directions_transit_filled.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="M12,2C8,2,4,2.5,4,6v9.5C4,17.43,5.57,19,7.5,19L6,20v1h12v-1l-1.5-1c1.93,0,3.5-1.57,3.5-3.5V6C20,2.5,16.42,2,12,2z M12,4c3.71,0,5.13,0.46,5.67,1H13h-2H6.43C7.03,4.48,8.48,4,12,4z M6,7h5v3H6V7z M18,15.5c0,0.83-0.67,1.5-1.5,1.5h-9 C6.67,17,6,16.33,6,15.5V12h12V15.5z M18,10h-5V7h5V10z"/><circle cx="8.5" cy="14.5" r="1.5"/><circle cx="15.5" cy="14.5" r="1.5"/></g></g></svg>
```
