# house Icon

> The house 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/house.md?v=filled), [Outlined](https://composables.com/icons/icon-libraries/material-icons/house.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-icons/house.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-icons/house.md?v=sharp), [Two-Tone](https://composables.com/icons/icon-libraries/material-icons/house.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/house.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 MaterialIconsHouse: ImageVector
    get() {
        if (_MaterialIconsHouse != null) return _MaterialIconsHouse!!
        
        _MaterialIconsHouse = ImageVector.Builder(
            name = "house",
            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 {
                group {
                    path(
                        fill = SolidColor(Color.Black)
                    ) {
                        moveTo(19f, 9.3f)
                        verticalLineTo(4f)
                        horizontalLineToRelative(-3f)
                        verticalLineToRelative(2.6f)
                        lineTo(12f, 3f)
                        lineTo(2f, 12f)
                        horizontalLineToRelative(3f)
                        verticalLineToRelative(8f)
                        horizontalLineToRelative(6f)
                        verticalLineToRelative(-6f)
                        horizontalLineToRelative(2f)
                        verticalLineToRelative(6f)
                        horizontalLineToRelative(6f)
                        verticalLineToRelative(-8f)
                        horizontalLineToRelative(3f)
                        lineTo(19f, 9.3f)
                        close()
                        moveTo(17f, 18f)
                        horizontalLineToRelative(-2f)
                        verticalLineToRelative(-6f)
                        horizontalLineTo(9f)
                        verticalLineToRelative(6f)
                        horizontalLineTo(7f)
                        verticalLineToRelative(-7.81f)
                        lineToRelative(5f, -4.5f)
                        lineToRelative(5f, 4.5f)
                        verticalLineTo(18f)
                        close()
                    }
                    path(
                        fill = SolidColor(Color.Black)
                    ) {
                        moveTo(10f, 10f)
                        horizontalLineToRelative(4f)
                        curveToRelative(0f, -1.1f, -0.9f, -2f, -2f, -2f)
                        reflectiveCurveTo(10f, 8.9f, 10f, 10f)
                        close()
                    }
                }
            }
        }.build()
        
        return _MaterialIconsHouse!!
    }

private var _MaterialIconsHouse: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/house.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="M19,9.3V4h-3v2.6L12,3L2,12h3v8h6v-6h2v6h6v-8h3L19,9.3ZM17,18h-2v-6H9v6H7v-7.81l5,-4.5l5,4.5V18Z" />
    <path
        android:fillColor="@android:color/black"
        android:pathData="M10,10h4c0,-1.1 -0.9,-2 -2,-2S10,8.9 10,10Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-icons/house.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><g><path d="M19,9.3V4h-3v2.6L12,3L2,12h3v8h6v-6h2v6h6v-8h3L19,9.3z M17,18h-2v-6H9v6H7v-7.81l5-4.5l5,4.5V18z"/><path d="M10,10h4c0-1.1-0.9-2-2-2S10,8.9,10,10z"/></g></g></svg>
```
