# gift Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/heroicons/gift.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 HeroiconsGift: ImageVector
    get() {
        if (_HeroiconsGift != null) return _HeroiconsGift!!
        
        _HeroiconsGift = ImageVector.Builder(
            name = "gift",
            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(20.625f, 11.505f)
                verticalLineToRelative(8.25f)
                arcToRelative(1.5f, 1.5f, 0f, false, true, -1.5f, 1.5f)
                horizontalLineTo(4.875f)
                arcToRelative(1.5f, 1.5f, 0f, false, true, -1.5f, -1.5f)
                verticalLineToRelative(-8.25f)
                moveToRelative(8.25f, -6.375f)
                arcTo(2.625f, 2.625f, 0f, true, false, 9f, 7.755f)
                horizontalLineToRelative(2.625f)
                moveToRelative(0f, -2.625f)
                verticalLineToRelative(2.625f)
                moveToRelative(0f, -2.625f)
                arcToRelative(2.625f, 2.625f, 0f, true, true, 2.625f, 2.625f)
                horizontalLineToRelative(-2.625f)
                moveToRelative(0f, 0f)
                verticalLineToRelative(13.5f)
                moveTo(3f, 11.505f)
                horizontalLineToRelative(18f)
                curveToRelative(0.621f, 0f, 1.125f, -0.504f, 1.125f, -1.125f)
                verticalLineToRelative(-1.5f)
                curveToRelative(0f, -0.622f, -0.504f, -1.125f, -1.125f, -1.125f)
                horizontalLineTo(3f)
                curveToRelative(-0.621f, 0f, -1.125f, 0.503f, -1.125f, 1.125f)
                verticalLineToRelative(1.5f)
                curveToRelative(0f, 0.621f, 0.504f, 1.125f, 1.125f, 1.125f)
                close()
            }
        }.build()
        
        return _HeroiconsGift!!
    }

private var _HeroiconsGift: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/heroicons/gift.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="M20.625,11.505v8.25a1.5,1.5 0 0,1 -1.5,1.5H4.875a1.5,1.5 0 0,1 -1.5,-1.5v-8.25m8.25,-6.375A2.625,2.625 0 1,0 9,7.755h2.625m0,-2.625v2.625m0,-2.625a2.625,2.625 0 1,1 2.625,2.625h-2.625m0,0v13.5M3,11.505h18c0.621,0 1.125,-0.504 1.125,-1.125v-1.5c0,-0.622 -0.504,-1.125 -1.125,-1.125H3c-0.621,0 -1.125,0.503 -1.125,1.125v1.5c0,0.621 0.504,1.125 1.125,1.125Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/heroicons/gift.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="M20.625 11.505v8.25a1.5 1.5 0 0 1-1.5 1.5H4.875a1.5 1.5 0 0 1-1.5-1.5v-8.25m8.25-6.375A2.625 2.625 0 1 0 9 7.755h2.625m0-2.625v2.625m0-2.625a2.625 2.625 0 1 1 2.625 2.625h-2.625m0 0v13.5M3 11.505h18c.621 0 1.125-.504 1.125-1.125v-1.5c0-.622-.504-1.125-1.125-1.125H3c-.621 0-1.125.503-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125Z"/></svg>
```
