# home-modern Icon

> The home-modern icon from Heroicons as Compose ImageVector Kotlin code, Android Vector Drawable XML and SVG.

- Library: [Heroicons](https://composables.com/icons/icon-libraries/heroicons.md)
- License: MIT (full text in the [Heroicons library page](https://composables.com/icons/icon-libraries/heroicons.md))
- Styles: [Outline](https://composables.com/icons/icon-libraries/heroicons/home-modern.md?v=outline), [Solid](https://composables.com/icons/icon-libraries/heroicons/home-modern.md?v=solid), [Mini](https://composables.com/icons/icon-libraries/heroicons/home-modern.md?v=mini), [Micro](https://composables.com/icons/icon-libraries/heroicons/home-modern.md?v=micro)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/heroicons/home-modern.kt`

```kotlin
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeJoin
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.unit.dp

val HeroiconsHomeModern: ImageVector
    get() {
        if (_HeroiconsHomeModern != null) return _HeroiconsHomeModern!!
        
        _HeroiconsHomeModern = ImageVector.Builder(
            name = "home-modern",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 24f,
            viewportHeight = 24f
        ).apply {
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 1.5f,
                strokeLineJoin = StrokeJoin.Miter
            ) {
                moveTo(8.25f, 21f)
                verticalLineToRelative(-4.875f)
                curveToRelative(0f, -0.621f, 0.504f, -1.125f, 1.125f, -1.125f)
                horizontalLineToRelative(2.25f)
                curveToRelative(0.621f, 0f, 1.125f, 0.504f, 1.125f, 1.125f)
                verticalLineTo(21f)
                moveToRelative(0f, 0f)
                horizontalLineToRelative(4.5f)
                verticalLineTo(3.545f)
                moveTo(12.75f, 21f)
                horizontalLineToRelative(7.5f)
                verticalLineTo(10.75f)
                moveTo(2.25f, 21f)
                horizontalLineToRelative(1.5f)
                moveToRelative(18f, 0f)
                horizontalLineToRelative(-18f)
                moveTo(2.25f, 9f)
                lineToRelative(4.5f, -1.636f)
                moveTo(18.75f, 3f)
                lineToRelative(-1.5f, 0.545f)
                moveToRelative(0f, 6.205f)
                lineToRelative(3f, 1f)
                moveToRelative(1.5f, 0.5f)
                lineToRelative(-1.5f, -0.5f)
                moveTo(6.75f, 7.364f)
                verticalLineTo(3f)
                horizontalLineToRelative(-3f)
                verticalLineToRelative(18f)
                moveToRelative(3f, -13.636f)
                lineToRelative(10.5f, -3.819f)
            }
        }.build()
        
        return _HeroiconsHomeModern!!
    }

private var _HeroiconsHomeModern: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/heroicons/home-modern.xml`

```xml
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="24"
    android:viewportHeight="24">
    <path
        android:strokeColor="@android:color/black"
        android:strokeWidth="1.5"
        android:pathData="M8.25,21v-4.875c0,-0.621 0.504,-1.125 1.125,-1.125h2.25c0.621,0 1.125,0.504 1.125,1.125V21m0,0h4.5V3.545M12.75,21h7.5V10.75M2.25,21h1.5m18,0h-18M2.25,9l4.5,-1.636M18.75,3l-1.5,0.545m0,6.205l3,1m1.5,0.5l-1.5,-0.5M6.75,7.364V3h-3v18m3,-13.636l10.5,-3.819" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/heroicons/home-modern.svg`

```svg
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon"><path stroke-linecap="round" stroke-linejoin="round" d="M8.25 21v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21m0 0h4.5V3.545M12.75 21h7.5V10.75M2.25 21h1.5m18 0h-18M2.25 9l4.5-1.636M18.75 3l-1.5.545m0 6.205 3 1m1.5.5-1.5-.5M6.75 7.364V3h-3v18m3-13.636 10.5-3.819"/></svg>
```
