# grass Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-icons/grass.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 MaterialIconsGrass: ImageVector
    get() {
        if (_MaterialIconsGrass != null) return _MaterialIconsGrass!!
        
        _MaterialIconsGrass = ImageVector.Builder(
            name = "grass",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 24f,
            viewportHeight = 24f
        ).apply {
            path(
                fill = SolidColor(Color.Transparent)
            ) {
                moveTo(0f, 0f)
                horizontalLineTo(24f)
                verticalLineTo(24f)
                horizontalLineTo(0f)
                verticalLineTo(0f)
                close()
            }
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(12f, 20f)
                horizontalLineTo(2f)
                verticalLineToRelative(-2f)
                horizontalLineToRelative(5.75f)
                lineToRelative(0f, 0f)
                curveTo(7.02f, 15.19f, 4.81f, 12.99f, 2f, 12.26f)
                curveTo(2.64f, 12.1f, 3.31f, 12f, 4f, 12f)
                curveTo(8.42f, 12f, 12f, 15.58f, 12f, 20f)
                close()
                moveTo(22f, 12.26f)
                curveTo(21.36f, 12.1f, 20.69f, 12f, 20f, 12f)
                curveToRelative(-2.93f, 0f, -5.48f, 1.58f, -6.88f, 3.93f)
                curveToRelative(0.29f, 0.66f, 0.53f, 1.35f, 0.67f, 2.07f)
                curveToRelative(0.13f, 0.65f, 0.2f, 1.32f, 0.2f, 2f)
                horizontalLineToRelative(2f)
                horizontalLineToRelative(6f)
                verticalLineToRelative(-2f)
                horizontalLineToRelative(-5.75f)
                curveTo(16.98f, 15.19f, 19.19f, 12.99f, 22f, 12.26f)
                close()
                moveTo(15.64f, 11.02f)
                curveToRelative(0.78f, -2.09f, 2.23f, -3.84f, 4.09f, -5f)
                curveTo(15.44f, 6.16f, 12f, 9.67f, 12f, 14f)
                curveToRelative(0f, 0.01f, 0f, 0.02f, 0f, 0.02f)
                curveTo(12.95f, 12.75f, 14.2f, 11.72f, 15.64f, 11.02f)
                close()
                moveTo(11.42f, 8.85f)
                curveTo(10.58f, 6.66f, 8.88f, 4.89f, 6.7f, 4f)
                curveTo(8.14f, 5.86f, 9f, 8.18f, 9f, 10.71f)
                curveToRelative(0f, 0.21f, -0.03f, 0.41f, -0.04f, 0.61f)
                curveToRelative(0.43f, 0.24f, 0.83f, 0.52f, 1.22f, 0.82f)
                curveTo(10.39f, 10.96f, 10.83f, 9.85f, 11.42f, 8.85f)
                close()
            }
        }.build()
        
        return _MaterialIconsGrass!!
    }

private var _MaterialIconsGrass: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/grass.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,20H2v-2h5.75l0,0C7.02,15.19 4.81,12.99 2,12.26C2.64,12.1 3.31,12 4,12C8.42,12 12,15.58 12,20ZM22,12.26C21.36,12.1 20.69,12 20,12c-2.93,0 -5.48,1.58 -6.88,3.93c0.29,0.66 0.53,1.35 0.67,2.07c0.13,0.65 0.2,1.32 0.2,2h2h6v-2h-5.75C16.98,15.19 19.19,12.99 22,12.26ZM15.64,11.02c0.78,-2.09 2.23,-3.84 4.09,-5C15.44,6.16 12,9.67 12,14c0,0.01 0,0.02 0,0.02C12.95,12.75 14.2,11.72 15.64,11.02ZM11.42,8.85C10.58,6.66 8.88,4.89 6.7,4C8.14,5.86 9,8.18 9,10.71c0,0.21 -0.03,0.41 -0.04,0.61c0.43,0.24 0.83,0.52 1.22,0.82C10.39,10.96 10.83,9.85 11.42,8.85Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" viewBox="0 0 24 24" fill="currentColor"><rect fill="none" height="24" width="24"/><path d="M12,20H2v-2h5.75l0,0C7.02,15.19,4.81,12.99,2,12.26C2.64,12.1,3.31,12,4,12C8.42,12,12,15.58,12,20z M22,12.26 C21.36,12.1,20.69,12,20,12c-2.93,0-5.48,1.58-6.88,3.93c0.29,0.66,0.53,1.35,0.67,2.07c0.13,0.65,0.2,1.32,0.2,2h2h6v-2h-5.75 C16.98,15.19,19.19,12.99,22,12.26z M15.64,11.02c0.78-2.09,2.23-3.84,4.09-5C15.44,6.16,12,9.67,12,14c0,0.01,0,0.02,0,0.02 C12.95,12.75,14.2,11.72,15.64,11.02z M11.42,8.85C10.58,6.66,8.88,4.89,6.7,4C8.14,5.86,9,8.18,9,10.71c0,0.21-0.03,0.41-0.04,0.61 c0.43,0.24,0.83,0.52,1.22,0.82C10.39,10.96,10.83,9.85,11.42,8.85z"/></svg>
```
