# cake Icon

> The cake 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/cake.md?v=outline), [Solid](https://composables.com/icons/icon-libraries/heroicons/cake.md?v=solid), [Mini](https://composables.com/icons/icon-libraries/heroicons/cake.md?v=mini), [Micro](https://composables.com/icons/icon-libraries/heroicons/cake.md?v=micro)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/heroicons/cake.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 HeroiconsCake: ImageVector
    get() {
        if (_HeroiconsCake != null) return _HeroiconsCake!!
        
        _HeroiconsCake = ImageVector.Builder(
            name = "cake",
            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(12f, 8.25f)
                verticalLineToRelative(-1.5f)
                moveToRelative(0f, 1.5f)
                curveToRelative(-1.355f, 0f, -2.697f, 0.056f, -4.024f, 0.166f)
                curveTo(6.845f, 8.51f, 6f, 9.473f, 6f, 10.608f)
                verticalLineToRelative(2.513f)
                moveToRelative(6f, -4.871f)
                curveToRelative(1.355f, 0f, 2.697f, 0.056f, 4.024f, 0.166f)
                curveTo(17.155f, 8.51f, 18f, 9.473f, 18f, 10.608f)
                verticalLineToRelative(2.513f)
                moveTo(15f, 8.25f)
                verticalLineToRelative(-1.5f)
                moveToRelative(-6f, 1.5f)
                verticalLineToRelative(-1.5f)
                moveToRelative(12f, 9.75f)
                lineToRelative(-1.5f, 0.75f)
                arcToRelative(3.354f, 3.354f, 0f, false, true, -3f, 0f)
                arcToRelative(3.354f, 3.354f, 0f, false, false, -3f, 0f)
                arcToRelative(3.354f, 3.354f, 0f, false, true, -3f, 0f)
                arcToRelative(3.354f, 3.354f, 0f, false, false, -3f, 0f)
                arcToRelative(3.354f, 3.354f, 0f, false, true, -3f, 0f)
                lineTo(3f, 16.5f)
                moveToRelative(15f, -3.379f)
                arcToRelative(48.474f, 48.474f, 0f, false, false, -6f, -0.371f)
                curveToRelative(-2.032f, 0f, -4.034f, 0.126f, -6f, 0.371f)
                moveToRelative(12f, 0f)
                curveToRelative(0.39f, 0.049f, 0.777f, 0.102f, 1.163f, 0.16f)
                curveToRelative(1.07f, 0.16f, 1.837f, 1.094f, 1.837f, 2.175f)
                verticalLineToRelative(5.169f)
                curveToRelative(0f, 0.621f, -0.504f, 1.125f, -1.125f, 1.125f)
                horizontalLineTo(4.125f)
                arcTo(1.125f, 1.125f, 0f, false, true, 3f, 20.625f)
                verticalLineToRelative(-5.17f)
                curveToRelative(0f, -1.08f, 0.768f, -2.014f, 1.837f, -2.174f)
                arcTo(47.78f, 47.78f, 0f, false, true, 6f, 13.12f)
                moveTo(12.265f, 3.11f)
                arcToRelative(0.375f, 0.375f, 0f, true, true, -0.53f, 0f)
                lineTo(12f, 2.845f)
                lineToRelative(0.265f, 0.265f)
                close()
                moveToRelative(-3f, 0f)
                arcToRelative(0.375f, 0.375f, 0f, true, true, -0.53f, 0f)
                lineTo(9f, 2.845f)
                lineToRelative(0.265f, 0.265f)
                close()
                moveToRelative(6f, 0f)
                arcToRelative(0.375f, 0.375f, 0f, true, true, -0.53f, 0f)
                lineTo(15f, 2.845f)
                lineToRelative(0.265f, 0.265f)
                close()
            }
        }.build()
        
        return _HeroiconsCake!!
    }

private var _HeroiconsCake: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/heroicons/cake.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="M12,8.25v-1.5m0,1.5c-1.355,0 -2.697,0.056 -4.024,0.166C6.845,8.51 6,9.473 6,10.608v2.513m6,-4.871c1.355,0 2.697,0.056 4.024,0.166C17.155,8.51 18,9.473 18,10.608v2.513M15,8.25v-1.5m-6,1.5v-1.5m12,9.75l-1.5,0.75a3.354,3.354 0 0,1 -3,0a3.354,3.354 0 0,0 -3,0a3.354,3.354 0 0,1 -3,0a3.354,3.354 0 0,0 -3,0a3.354,3.354 0 0,1 -3,0L3,16.5m15,-3.379a48.474,48.474 0 0,0 -6,-0.371c-2.032,0 -4.034,0.126 -6,0.371m12,0c0.39,0.049 0.777,0.102 1.163,0.16c1.07,0.16 1.837,1.094 1.837,2.175v5.169c0,0.621 -0.504,1.125 -1.125,1.125H4.125A1.125,1.125 0 0,1 3,20.625v-5.17c0,-1.08 0.768,-2.014 1.837,-2.174A47.78,47.78 0 0,1 6,13.12M12.265,3.11a0.375,0.375 0 1,1 -0.53,0L12,2.845l0.265,0.265Zm-3,0a0.375,0.375 0 1,1 -0.53,0L9,2.845l0.265,0.265Zm6,0a0.375,0.375 0 1,1 -0.53,0L15,2.845l0.265,0.265Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/heroicons/cake.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="M12 8.25v-1.5m0 1.5c-1.355 0-2.697.056-4.024.166C6.845 8.51 6 9.473 6 10.608v2.513m6-4.871c1.355 0 2.697.056 4.024.166C17.155 8.51 18 9.473 18 10.608v2.513M15 8.25v-1.5m-6 1.5v-1.5m12 9.75-1.5.75a3.354 3.354 0 0 1-3 0 3.354 3.354 0 0 0-3 0 3.354 3.354 0 0 1-3 0 3.354 3.354 0 0 0-3 0 3.354 3.354 0 0 1-3 0L3 16.5m15-3.379a48.474 48.474 0 0 0-6-.371c-2.032 0-4.034.126-6 .371m12 0c.39.049.777.102 1.163.16 1.07.16 1.837 1.094 1.837 2.175v5.169c0 .621-.504 1.125-1.125 1.125H4.125A1.125 1.125 0 0 1 3 20.625v-5.17c0-1.08.768-2.014 1.837-2.174A47.78 47.78 0 0 1 6 13.12M12.265 3.11a.375.375 0 1 1-.53 0L12 2.845l.265.265Zm-3 0a.375.375 0 1 1-.53 0L9 2.845l.265.265Zm6 0a.375.375 0 1 1-.53 0L15 2.845l.265.265Z"/></svg>
```
