# local_bar Icon

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

val MaterialIconsLocalBar: ImageVector
    get() {
        if (_MaterialIconsLocalBar != null) return _MaterialIconsLocalBar!!
        
        _MaterialIconsLocalBar = ImageVector.Builder(
            name = "local_bar",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 24f,
            viewportHeight = 24f
        ).apply {
            path(
                fill = SolidColor(Color.Transparent)
            ) {
                moveTo(0f, 0f)
                horizontalLineToRelative(24f)
                verticalLineToRelative(24f)
                horizontalLineTo(0f)
                verticalLineTo(0f)
                close()
            }
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(14.77f, 9f)
                lineTo(12f, 12.11f)
                lineTo(9.23f, 9f)
                horizontalLineToRelative(5.54f)
                moveTo(21f, 3f)
                horizontalLineTo(3f)
                verticalLineToRelative(2f)
                lineToRelative(8f, 9f)
                verticalLineToRelative(5f)
                horizontalLineTo(6f)
                verticalLineToRelative(2f)
                horizontalLineToRelative(12f)
                verticalLineToRelative(-2f)
                horizontalLineToRelative(-5f)
                verticalLineToRelative(-5f)
                lineToRelative(8f, -9f)
                verticalLineTo(3f)
                close()
                moveTo(7.43f, 7f)
                lineTo(5.66f, 5f)
                horizontalLineToRelative(12.69f)
                lineToRelative(-1.78f, 2f)
                horizontalLineTo(7.43f)
                close()
            }
        }.build()
        
        return _MaterialIconsLocalBar!!
    }

private var _MaterialIconsLocalBar: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/local_bar.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="M14.77,9L12,12.11L9.23,9h5.54M21,3H3v2l8,9v5H6v2h12v-2h-5v-5l8,-9V3ZM7.43,7L5.66,5h12.69l-1.78,2H7.43Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M14.77 9L12 12.11 9.23 9h5.54M21 3H3v2l8 9v5H6v2h12v-2h-5v-5l8-9V3zM7.43 7L5.66 5h12.69l-1.78 2H7.43z"/></svg>
```
