# hearts Icon

> The hearts icon from Tabler as Compose ImageVector Kotlin code, Android Vector Drawable XML and SVG.

- Library: [Tabler](https://composables.com/icons/icon-libraries/tabler.md)
- License: MIT (full text in the [Tabler library page](https://composables.com/icons/icon-libraries/tabler.md))

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/tabler/hearts.kt`

```kotlin
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
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 TablerHearts: ImageVector
    get() {
        if (_TablerHearts != null) return _TablerHearts!!
        
        _TablerHearts = ImageVector.Builder(
            name = "hearts",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 24f,
            viewportHeight = 24f
        ).apply {
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(14.017f, 18f)
                lineToRelative(-2.017f, 2f)
                lineToRelative(-7.5f, -7.428f)
                arcToRelative(5f, 5f, 0f, true, true, 7.5f, -6.566f)
                arcToRelative(5f, 5f, 0f, false, true, 8.153f, 5.784f)
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(15.99f, 20f)
                lineToRelative(4.197f, -4.223f)
                arcToRelative(2.81f, 2.81f, 0f, false, false, 0f, -3.948f)
                arcToRelative(2.747f, 2.747f, 0f, false, false, -3.91f, -0.007f)
                lineToRelative(-0.28f, 0.282f)
                lineToRelative(-0.279f, -0.283f)
                arcToRelative(2.747f, 2.747f, 0f, false, false, -3.91f, -0.007f)
                arcToRelative(2.81f, 2.81f, 0f, false, false, -0.007f, 3.948f)
                lineToRelative(4.182f, 4.238f)
                lineToRelative(0.007f, 0f)
            }
        }.build()
        
        return _TablerHearts!!
    }

private var _TablerHearts: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/tabler/hearts.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:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M14.017,18l-2.017,2l-7.5,-7.428a5,5 0 1,1 7.5,-6.566a5,5 0 0,1 8.153,5.784" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M15.99,20l4.197,-4.223a2.81,2.81 0 0,0 0,-3.948a2.747,2.747 0 0,0 -3.91,-0.007l-0.28,0.282l-0.279,-0.283a2.747,2.747 0 0,0 -3.91,-0.007a2.81,2.81 0 0,0 -0.007,3.948l4.182,4.238l0.007,0" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/tabler/hearts.svg`

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" ><path d="M14.017 18l-2.017 2l-7.5 -7.428a5 5 0 1 1 7.5 -6.566a5 5 0 0 1 8.153 5.784" /><path d="M15.99 20l4.197 -4.223a2.81 2.81 0 0 0 0 -3.948a2.747 2.747 0 0 0 -3.91 -.007l-.28 .282l-.279 -.283a2.747 2.747 0 0 0 -3.91 -.007a2.81 2.81 0 0 0 -.007 3.948l4.182 4.238l.007 0" /></svg>
```
