# diamonds Icon

> The diamonds 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))
- Styles: [Outline](https://composables.com/icons/icon-libraries/tabler/diamonds.md?v=outline), [Filled](https://composables.com/icons/icon-libraries/tabler/diamonds.md?v=filled)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/tabler/diamonds.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 TablerDiamonds: ImageVector
    get() {
        if (_TablerDiamonds != null) return _TablerDiamonds!!
        
        _TablerDiamonds = ImageVector.Builder(
            name = "diamonds",
            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(10.831f, 20.413f)
                lineToRelative(-5.375f, -6.91f)
                curveToRelative(-0.608f, -0.783f, -0.608f, -2.223f, 0f, -3f)
                lineToRelative(5.375f, -6.911f)
                arcToRelative(1.457f, 1.457f, 0f, false, true, 2.338f, 0f)
                lineToRelative(5.375f, 6.91f)
                curveToRelative(0.608f, 0.783f, 0.608f, 2.223f, 0f, 3f)
                lineToRelative(-5.375f, 6.911f)
                arcToRelative(1.457f, 1.457f, 0f, false, true, -2.338f, 0f)
            }
        }.build()
        
        return _TablerDiamonds!!
    }

private var _TablerDiamonds: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/tabler/diamonds.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="M10.831,20.413l-5.375,-6.91c-0.608,-0.783 -0.608,-2.223 0,-3l5.375,-6.911a1.457,1.457 0 0,1 2.338,0l5.375,6.91c0.608,0.783 0.608,2.223 0,3l-5.375,6.911a1.457,1.457 0 0,1 -2.338,0" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/tabler/diamonds.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="M10.831 20.413l-5.375 -6.91c-.608 -.783 -.608 -2.223 0 -3l5.375 -6.911a1.457 1.457 0 0 1 2.338 0l5.375 6.91c.608 .783 .608 2.223 0 3l-5.375 6.911a1.457 1.457 0 0 1 -2.338 0" /></svg>
```
