# forest Icon

> The forest icon from Material Symbols as Compose ImageVector Kotlin code, Android Vector Drawable XML and SVG.

- Library: [Material Symbols](https://composables.com/icons/icon-libraries/material-symbols.md)
- License: Apache 2.0 (full text in the [Material Symbols library page](https://composables.com/icons/icon-libraries/material-symbols.md))
- Styles: [Outlined](https://composables.com/icons/icon-libraries/material-symbols/forest.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-symbols/forest.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-symbols/forest.md?v=sharp), [Outlined Filled](https://composables.com/icons/icon-libraries/material-symbols/forest.md?v=outlined-filled), [Rounded Filled](https://composables.com/icons/icon-libraries/material-symbols/forest.md?v=rounded-filled), [Sharp Filled](https://composables.com/icons/icon-libraries/material-symbols/forest.md?v=sharp-filled)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/forest.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 MaterialSymbolsForest: ImageVector
    get() {
        if (_MaterialSymbolsForest != null) return _MaterialSymbolsForest!!
        
        _MaterialSymbolsForest = ImageVector.Builder(
            name = "forest",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(280f, 880f)
                verticalLineToRelative(-160f)
                horizontalLineTo(0f)
                lineToRelative(154f, -240f)
                horizontalLineTo(80f)
                lineToRelative(280f, -400f)
                lineToRelative(120f, 172f)
                lineToRelative(120f, -172f)
                lineToRelative(280f, 400f)
                horizontalLineToRelative(-74f)
                lineToRelative(154f, 240f)
                horizontalLineTo(680f)
                verticalLineToRelative(160f)
                horizontalLineTo(520f)
                verticalLineToRelative(-160f)
                horizontalLineToRelative(-80f)
                verticalLineToRelative(160f)
                horizontalLineTo(280f)
                close()
                moveToRelative(389f, -240f)
                horizontalLineToRelative(145f)
                lineTo(659f, 400f)
                horizontalLineToRelative(67f)
                lineTo(600f, 220f)
                lineToRelative(-71f, 101f)
                lineToRelative(111f, 159f)
                horizontalLineToRelative(-74f)
                lineToRelative(103f, 160f)
                close()
                moveToRelative(-523f, 0f)
                horizontalLineToRelative(428f)
                lineTo(419f, 400f)
                horizontalLineToRelative(67f)
                lineTo(360f, 220f)
                lineTo(234f, 400f)
                horizontalLineToRelative(67f)
                lineTo(146f, 640f)
                close()
                moveToRelative(0f, 0f)
                horizontalLineToRelative(155f)
                horizontalLineToRelative(-67f)
                horizontalLineToRelative(252f)
                horizontalLineToRelative(-67f)
                horizontalLineToRelative(155f)
                horizontalLineToRelative(-428f)
                close()
                moveToRelative(523f, 0f)
                horizontalLineTo(566f)
                horizontalLineToRelative(74f)
                horizontalLineToRelative(-111f)
                horizontalLineToRelative(197f)
                horizontalLineToRelative(-67f)
                horizontalLineToRelative(155f)
                horizontalLineToRelative(-145f)
                close()
                moveToRelative(-149f, 80f)
                horizontalLineToRelative(160f)
                horizontalLineToRelative(-160f)
                close()
                moveToRelative(201f, 0f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsForest!!
    }

private var _MaterialSymbolsForest: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/forest.xml`

```xml
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="960"
    android:viewportHeight="960">
    <path
        android:fillColor="@android:color/black"
        android:pathData="M280,880v-160H0l154,-240H80l280,-400l120,172l120,-172l280,400h-74l154,240H680v160H520v-160h-80v160H280Zm389,-240h145L659,400h67L600,220l-71,101l111,159h-74l103,160Zm-523,0h428L419,400h67L360,220L234,400h67L146,640Zm0,0h155h-67h252h-67h155h-428Zm523,0H566h74h-111h197h-67h155h-145Zm-149,80h160h-160Zm201,0Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M280-80v-160H0l154-240H80l280-400 120 172 120-172 280 400h-74l154 240H680v160H520v-160h-80v160H280Zm389-240h145L659-560h67L600-740l-71 101 111 159h-74l103 160Zm-523 0h428L419-560h67L360-740 234-560h67L146-320Zm0 0h155-67 252-67 155-428Zm523 0H566h74-111 197-67 155-145Zm-149 80h160-160Zm201 0Z"/></svg>
```
