# cabin Icon

> The cabin 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/cabin.md?v=filled), [Outlined](https://composables.com/icons/icon-libraries/material-icons/cabin.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-icons/cabin.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-icons/cabin.md?v=sharp), [Two-Tone](https://composables.com/icons/icon-libraries/material-icons/cabin.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/cabin.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 MaterialIconsCabin: ImageVector
    get() {
        if (_MaterialIconsCabin != null) return _MaterialIconsCabin!!
        
        _MaterialIconsCabin = ImageVector.Builder(
            name = "cabin",
            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(10f, 1f)
                curveToRelative(0f, 1.66f, -1.34f, 3f, -3f, 3f)
                curveTo(6.45f, 4f, 6f, 4.45f, 6f, 5f)
                horizontalLineTo(4f)
                curveToRelative(0f, -1.66f, 1.34f, -3f, 3f, -3f)
                curveToRelative(0.55f, 0f, 1f, -0.45f, 1f, -1f)
                horizontalLineTo(10f)
                close()
                moveTo(12f, 3f)
                lineTo(6f, 7.58f)
                verticalLineTo(6f)
                horizontalLineTo(4f)
                verticalLineToRelative(3.11f)
                lineTo(1f, 11.4f)
                lineToRelative(1.21f, 1.59f)
                lineTo(4f, 11.62f)
                verticalLineTo(21f)
                horizontalLineToRelative(16f)
                verticalLineToRelative(-9.38f)
                lineToRelative(1.79f, 1.36f)
                lineTo(23f, 11.4f)
                lineTo(12f, 3f)
                close()
                moveTo(13.94f, 7f)
                horizontalLineToRelative(-3.89f)
                lineTo(12f, 5.52f)
                lineTo(13.94f, 7f)
                close()
                moveTo(7.44f, 9f)
                horizontalLineToRelative(9.12f)
                lineTo(18f, 10.1f)
                verticalLineTo(11f)
                horizontalLineTo(6f)
                verticalLineToRelative(-0.9f)
                lineTo(7.44f, 9f)
                close()
                moveTo(18f, 13f)
                verticalLineToRelative(2f)
                horizontalLineTo(6f)
                verticalLineToRelative(-2f)
                horizontalLineTo(18f)
                close()
                moveTo(6f, 19f)
                verticalLineToRelative(-2f)
                horizontalLineToRelative(12f)
                verticalLineToRelative(2f)
                horizontalLineTo(6f)
                close()
            }
        }.build()
        
        return _MaterialIconsCabin!!
    }

private var _MaterialIconsCabin: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/cabin.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="M10,1c0,1.66 -1.34,3 -3,3C6.45,4 6,4.45 6,5H4c0,-1.66 1.34,-3 3,-3c0.55,0 1,-0.45 1,-1H10ZM12,3L6,7.58V6H4v3.11L1,11.4l1.21,1.59L4,11.62V21h16v-9.38l1.79,1.36L23,11.4L12,3ZM13.94,7h-3.89L12,5.52L13.94,7ZM7.44,9h9.12L18,10.1V11H6v-0.9L7.44,9ZM18,13v2H6v-2H18ZM6,19v-2h12v2H6Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-icons/cabin.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="M10,1c0,1.66-1.34,3-3,3C6.45,4,6,4.45,6,5H4c0-1.66,1.34-3,3-3c0.55,0,1-0.45,1-1H10z M12,3L6,7.58V6H4v3.11L1,11.4 l1.21,1.59L4,11.62V21h16v-9.38l1.79,1.36L23,11.4L12,3z M13.94,7h-3.89L12,5.52L13.94,7z M7.44,9h9.12L18,10.1V11H6v-0.9L7.44,9z M18,13v2H6v-2H18z M6,19v-2h12v2H6z"/></svg>
```
