# straight Icon

> The straight 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/straight.md?v=filled), [Outlined](https://composables.com/icons/icon-libraries/material-icons/straight.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-icons/straight.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-icons/straight.md?v=sharp), [Two-Tone](https://composables.com/icons/icon-libraries/material-icons/straight.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/straight.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 MaterialIconsStraight: ImageVector
    get() {
        if (_MaterialIconsStraight != null) return _MaterialIconsStraight!!
        
        _MaterialIconsStraight = ImageVector.Builder(
            name = "straight",
            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 {
                path(
                    fill = SolidColor(Color.Black)
                ) {
                    moveTo(11f, 6.83f)
                    lineTo(9.41f, 8.41f)
                    lineTo(8f, 7f)
                    lineTo(12f, 3f)
                    lineTo(16f, 7f)
                    lineTo(14.59f, 8.41f)
                    lineTo(13f, 6.83f)
                    lineTo(13f, 21f)
                    lineTo(11f, 21f)
                    close()
                }
            }
        }.build()
        
        return _MaterialIconsStraight!!
    }

private var _MaterialIconsStraight: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/straight.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="M11,6.83L9.41,8.41L8,7L12,3L16,7L14.59,8.41L13,6.83L13,21L11,21Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-icons/straight.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><polygon points="11,6.83 9.41,8.41 8,7 12,3 16,7 14.59,8.41 13,6.83 13,21 11,21"/></g></svg>
```
