# strikethrough Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/heroicons/strikethrough.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 HeroiconsStrikethrough: ImageVector
    get() {
        if (_HeroiconsStrikethrough != null) return _HeroiconsStrikethrough!!
        
        _HeroiconsStrikethrough = ImageVector.Builder(
            name = "strikethrough",
            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(12f, 12f)
                arcToRelative(8.912f, 8.912f, 0f, false, true, -0.318f, -0.079f)
                curveToRelative(-1.585f, -0.424f, -2.904f, -1.247f, -3.76f, -2.236f)
                curveToRelative(-0.873f, -1.009f, -1.265f, -2.19f, -0.968f, -3.301f)
                curveToRelative(0.59f, -2.2f, 3.663f, -3.29f, 6.863f, -2.432f)
                arcTo(8.186f, 8.186f, 0f, false, true, 16.5f, 5.21f)
                moveTo(6.42f, 17.81f)
                curveToRelative(0.857f, 0.99f, 2.176f, 1.812f, 3.761f, 2.237f)
                curveToRelative(3.2f, 0.858f, 6.274f, -0.23f, 6.863f, -2.431f)
                curveToRelative(0.233f, -0.868f, 0.044f, -1.779f, -0.465f, -2.617f)
                moveTo(3.75f, 12f)
                horizontalLineToRelative(16.5f)
            }
        }.build()
        
        return _HeroiconsStrikethrough!!
    }

private var _HeroiconsStrikethrough: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/heroicons/strikethrough.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="M12,12a8.912,8.912 0 0,1 -0.318,-0.079c-1.585,-0.424 -2.904,-1.247 -3.76,-2.236c-0.873,-1.009 -1.265,-2.19 -0.968,-3.301c0.59,-2.2 3.663,-3.29 6.863,-2.432A8.186,8.186 0 0,1 16.5,5.21M6.42,17.81c0.857,0.99 2.176,1.812 3.761,2.237c3.2,0.858 6.274,-0.23 6.863,-2.431c0.233,-0.868 0.044,-1.779 -0.465,-2.617M3.75,12h16.5" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/heroicons/strikethrough.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="M12 12a8.912 8.912 0 0 1-.318-.079c-1.585-.424-2.904-1.247-3.76-2.236-.873-1.009-1.265-2.19-.968-3.301.59-2.2 3.663-3.29 6.863-2.432A8.186 8.186 0 0 1 16.5 5.21M6.42 17.81c.857.99 2.176 1.812 3.761 2.237 3.2.858 6.274-.23 6.863-2.431.233-.868.044-1.779-.465-2.617M3.75 12h16.5"/></svg>
```
