# shield_with_heart Icon

> The shield_with_heart 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/shield_with_heart.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-symbols/shield_with_heart.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-symbols/shield_with_heart.md?v=sharp), [Outlined Filled](https://composables.com/icons/icon-libraries/material-symbols/shield_with_heart.md?v=outlined-filled), [Rounded Filled](https://composables.com/icons/icon-libraries/material-symbols/shield_with_heart.md?v=rounded-filled), [Sharp Filled](https://composables.com/icons/icon-libraries/material-symbols/shield_with_heart.md?v=sharp-filled)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/shield_with_heart.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 MaterialSymbolsShieldWithHeart: ImageVector
    get() {
        if (_MaterialSymbolsShieldWithHeart != null) return _MaterialSymbolsShieldWithHeart!!
        
        _MaterialSymbolsShieldWithHeart = ImageVector.Builder(
            name = "shield_with_heart",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(480f, 640f)
                quadToRelative(102f, -92f, 131f, -129.5f)
                reflectiveQuadToRelative(29f, -74.5f)
                quadToRelative(0f, -36f, -26f, -62f)
                reflectiveQuadToRelative(-62f, -26f)
                quadToRelative(-21f, 0f, -40.5f, 8.5f)
                reflectiveQuadTo(480f, 380f)
                quadToRelative(-12f, -15f, -31f, -23.5f)
                reflectiveQuadToRelative(-41f, -8.5f)
                quadToRelative(-36f, 0f, -62f, 26f)
                reflectiveQuadToRelative(-26f, 62f)
                quadToRelative(0f, 19f, 5f, 35f)
                reflectiveQuadToRelative(22f, 37.5f)
                quadToRelative(17f, 21.5f, 48.5f, 52.5f)
                reflectiveQuadToRelative(84.5f, 79f)
                close()
                moveToRelative(0f, 240f)
                quadToRelative(-139f, -35f, -229.5f, -159.5f)
                reflectiveQuadTo(160f, 444f)
                verticalLineToRelative(-244f)
                lineToRelative(320f, -120f)
                lineToRelative(320f, 120f)
                verticalLineToRelative(244f)
                quadToRelative(0f, 152f, -90.5f, 276.5f)
                reflectiveQuadTo(480f, 880f)
                close()
                moveToRelative(0f, -84f)
                quadToRelative(104f, -33f, 172f, -132f)
                reflectiveQuadToRelative(68f, -220f)
                verticalLineToRelative(-189f)
                lineToRelative(-240f, -90f)
                lineToRelative(-240f, 90f)
                verticalLineToRelative(189f)
                quadToRelative(0f, 121f, 68f, 220f)
                reflectiveQuadToRelative(172f, 132f)
                close()
                moveToRelative(0f, -316f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsShieldWithHeart!!
    }

private var _MaterialSymbolsShieldWithHeart: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/shield_with_heart.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="M480,640q102,-92 131,-129.5t29,-74.5q0,-36 -26,-62t-62,-26q-21,0 -40.5,8.5T480,380q-12,-15 -31,-23.5t-41,-8.5q-36,0 -62,26t-26,62q0,19 5,35t22,37.5q17,21.5 48.5,52.5t84.5,79Zm0,240q-139,-35 -229.5,-159.5T160,444v-244l320,-120l320,120v244q0,152 -90.5,276.5T480,880Zm0,-84q104,-33 172,-132t68,-220v-189l-240,-90l-240,90v189q0,121 68,220t172,132Zm0,-316Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M480-320q102-92 131-129.5t29-74.5q0-36-26-62t-62-26q-21 0-40.5 8.5T480-580q-12-15-31-23.5t-41-8.5q-36 0-62 26t-26 62q0 19 5 35t22 37.5q17 21.5 48.5 52.5t84.5 79Zm0 240q-139-35-229.5-159.5T160-516v-244l320-120 320 120v244q0 152-90.5 276.5T480-80Zm0-84q104-33 172-132t68-220v-189l-240-90-240 90v189q0 121 68 220t172 132Zm0-316Z"/></svg>
```
