# envelope Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/heroicons/envelope.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 HeroiconsEnvelope: ImageVector
    get() {
        if (_HeroiconsEnvelope != null) return _HeroiconsEnvelope!!
        
        _HeroiconsEnvelope = ImageVector.Builder(
            name = "envelope",
            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(21.75f, 6.75f)
                verticalLineToRelative(10.5f)
                arcToRelative(2.25f, 2.25f, 0f, false, true, -2.25f, 2.25f)
                horizontalLineToRelative(-15f)
                arcToRelative(2.25f, 2.25f, 0f, false, true, -2.25f, -2.25f)
                verticalLineTo(6.75f)
                moveToRelative(19.5f, 0f)
                arcTo(2.25f, 2.25f, 0f, false, false, 19.5f, 4.5f)
                horizontalLineToRelative(-15f)
                arcToRelative(2.25f, 2.25f, 0f, false, false, -2.25f, 2.25f)
                moveToRelative(19.5f, 0f)
                verticalLineToRelative(0.243f)
                arcToRelative(2.25f, 2.25f, 0f, false, true, -1.07f, 1.916f)
                lineToRelative(-7.5f, 4.615f)
                arcToRelative(2.25f, 2.25f, 0f, false, true, -2.36f, 0f)
                lineTo(3.32f, 8.91f)
                arcToRelative(2.25f, 2.25f, 0f, false, true, -1.07f, -1.916f)
                verticalLineTo(6.75f)
            }
        }.build()
        
        return _HeroiconsEnvelope!!
    }

private var _HeroiconsEnvelope: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/heroicons/envelope.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="M21.75,6.75v10.5a2.25,2.25 0 0,1 -2.25,2.25h-15a2.25,2.25 0 0,1 -2.25,-2.25V6.75m19.5,0A2.25,2.25 0 0,0 19.5,4.5h-15a2.25,2.25 0 0,0 -2.25,2.25m19.5,0v0.243a2.25,2.25 0 0,1 -1.07,1.916l-7.5,4.615a2.25,2.25 0 0,1 -2.36,0L3.32,8.91a2.25,2.25 0 0,1 -1.07,-1.916V6.75" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/heroicons/envelope.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="M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75"/></svg>
```
