# night_shelter Icon

> The night_shelter 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/night_shelter.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-symbols/night_shelter.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-symbols/night_shelter.md?v=sharp), [Outlined Filled](https://composables.com/icons/icon-libraries/material-symbols/night_shelter.md?v=outlined-filled), [Rounded Filled](https://composables.com/icons/icon-libraries/material-symbols/night_shelter.md?v=rounded-filled), [Sharp Filled](https://composables.com/icons/icon-libraries/material-symbols/night_shelter.md?v=sharp-filled)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/night_shelter.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 MaterialSymbolsNightShelter: ImageVector
    get() {
        if (_MaterialSymbolsNightShelter != null) return _MaterialSymbolsNightShelter!!
        
        _MaterialSymbolsNightShelter = ImageVector.Builder(
            name = "night_shelter",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(280f, 720f)
                horizontalLineToRelative(40f)
                verticalLineToRelative(-60f)
                horizontalLineToRelative(320f)
                verticalLineToRelative(60f)
                horizontalLineToRelative(40f)
                verticalLineToRelative(-160f)
                quadToRelative(0f, -33f, -23.5f, -56.5f)
                reflectiveQuadTo(600f, 480f)
                horizontalLineTo(460f)
                verticalLineToRelative(140f)
                horizontalLineTo(320f)
                verticalLineToRelative(-180f)
                horizontalLineToRelative(-40f)
                verticalLineToRelative(280f)
                close()
                moveToRelative(110f, -120f)
                quadToRelative(21f, 0f, 35.5f, -14.5f)
                reflectiveQuadTo(440f, 550f)
                quadToRelative(0f, -21f, -14.5f, -35.5f)
                reflectiveQuadTo(390f, 500f)
                quadToRelative(-21f, 0f, -35.5f, 14.5f)
                reflectiveQuadTo(340f, 550f)
                quadToRelative(0f, 21f, 14.5f, 35.5f)
                reflectiveQuadTo(390f, 600f)
                close()
                moveTo(160f, 840f)
                verticalLineToRelative(-480f)
                lineToRelative(320f, -240f)
                lineToRelative(320f, 240f)
                verticalLineToRelative(480f)
                horizontalLineTo(160f)
                close()
                moveToRelative(80f, -80f)
                horizontalLineToRelative(480f)
                verticalLineToRelative(-360f)
                lineTo(480f, 220f)
                lineTo(240f, 400f)
                verticalLineToRelative(360f)
                close()
                moveToRelative(240f, -270f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsNightShelter!!
    }

private var _MaterialSymbolsNightShelter: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/night_shelter.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,720h40v-60h320v60h40v-160q0,-33 -23.5,-56.5T600,480H460v140H320v-180h-40v280Zm110,-120q21,0 35.5,-14.5T440,550q0,-21 -14.5,-35.5T390,500q-21,0 -35.5,14.5T340,550q0,21 14.5,35.5T390,600ZM160,840v-480l320,-240l320,240v480H160Zm80,-80h480v-360L480,220L240,400v360Zm240,-270Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M280-240h40v-60h320v60h40v-160q0-33-23.5-56.5T600-480H460v140H320v-180h-40v280Zm110-120q21 0 35.5-14.5T440-410q0-21-14.5-35.5T390-460q-21 0-35.5 14.5T340-410q0 21 14.5 35.5T390-360ZM160-120v-480l320-240 320 240v480H160Zm80-80h480v-360L480-740 240-560v360Zm240-270Z"/></svg>
```
