# mail_shield Icon

> The mail_shield icon from Material Symbols as Compose ImageVector Kotlin code, Android Vector Drawable XML and SVG.

- Library: [Material Symbols](https://composables.com/icons/icon-libraries/material-symbols.md)
- License: Apache 2.0 (full text in the [Material Symbols library page](https://composables.com/icons/icon-libraries/material-symbols.md))
- Styles: [Outlined](https://composables.com/icons/icon-libraries/material-symbols/mail_shield.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-symbols/mail_shield.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-symbols/mail_shield.md?v=sharp), [Outlined Filled](https://composables.com/icons/icon-libraries/material-symbols/mail_shield.md?v=outlined-filled), [Rounded Filled](https://composables.com/icons/icon-libraries/material-symbols/mail_shield.md?v=rounded-filled), [Sharp Filled](https://composables.com/icons/icon-libraries/material-symbols/mail_shield.md?v=sharp-filled)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/mail_shield.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 MaterialSymbolsMailShield: ImageVector
    get() {
        if (_MaterialSymbolsMailShield != null) return _MaterialSymbolsMailShield!!
        
        _MaterialSymbolsMailShield = ImageVector.Builder(
            name = "mail_shield",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(160f, 720f)
                verticalLineToRelative(-289f)
                verticalLineToRelative(20f)
                verticalLineToRelative(-211f)
                verticalLineToRelative(480f)
                close()
                moveToRelative(320f, -280f)
                lineToRelative(320f, -200f)
                horizontalLineTo(160f)
                lineToRelative(320f, 200f)
                close()
                moveTo(80f, 720f)
                verticalLineToRelative(-480f)
                quadToRelative(0f, -33f, 23.5f, -56.5f)
                reflectiveQuadTo(160f, 160f)
                horizontalLineToRelative(640f)
                quadToRelative(33f, 0f, 56.5f, 23.5f)
                reflectiveQuadTo(880f, 240f)
                verticalLineToRelative(251f)
                lineToRelative(-80f, -40f)
                verticalLineToRelative(-131f)
                lineTo(480f, 520f)
                lineTo(160f, 320f)
                verticalLineToRelative(400f)
                horizontalLineToRelative(361f)
                quadToRelative(2f, 20f, 5f, 40f)
                reflectiveQuadToRelative(10f, 40f)
                horizontalLineTo(160f)
                quadToRelative(-33f, 0f, -56.5f, -23.5f)
                reflectiveQuadTo(80f, 720f)
                close()
                moveTo(760f, 920f)
                quadToRelative(-69f, -17f, -114.5f, -79.5f)
                reflectiveQuadTo(600f, 702f)
                verticalLineToRelative(-102f)
                lineToRelative(160f, -80f)
                lineToRelative(160f, 80f)
                verticalLineToRelative(102f)
                quadToRelative(0f, 76f, -45.5f, 138.5f)
                reflectiveQuadTo(760f, 920f)
                close()
                moveToRelative(0f, -84f)
                quadToRelative(35f, -17f, 57.5f, -54f)
                reflectiveQuadToRelative(22.5f, -80f)
                verticalLineToRelative(-52f)
                lineToRelative(-80f, -40f)
                verticalLineToRelative(226f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsMailShield!!
    }

private var _MaterialSymbolsMailShield: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/mail_shield.xml`

```xml
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="960"
    android:viewportHeight="960">
    <path
        android:fillColor="@android:color/black"
        android:pathData="M160,720v-289v20v-211v480Zm320,-280l320,-200H160l320,200ZM80,720v-480q0,-33 23.5,-56.5T160,160h640q33,0 56.5,23.5T880,240v251l-80,-40v-131L480,520L160,320v400h361q2,20 5,40t10,40H160q-33,0 -56.5,-23.5T80,720ZM760,920q-69,-17 -114.5,-79.5T600,702v-102l160,-80l160,80v102q0,76 -45.5,138.5T760,920Zm0,-84q35,-17 57.5,-54t22.5,-80v-52l-80,-40v226Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-symbols/mail_shield.svg`

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M160-240v-289 20-211 480Zm320-280 320-200H160l320 200ZM80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v251l-80-40v-131L480-440 160-640v400h361q2 20 5 40t10 40H160q-33 0-56.5-23.5T80-240ZM760-40q-69-17-114.5-79.5T600-258v-102l160-80 160 80v102q0 76-45.5 138.5T760-40Zm0-84q35-17 57.5-54t22.5-80v-52l-80-40v226Z"/></svg>
```
