# tag Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/heroicons/tag.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 HeroiconsTag: ImageVector
    get() {
        if (_HeroiconsTag != null) return _HeroiconsTag!!
        
        _HeroiconsTag = ImageVector.Builder(
            name = "tag",
            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(9.568f, 3f)
                horizontalLineTo(5.25f)
                arcTo(2.25f, 2.25f, 0f, false, false, 3f, 5.25f)
                verticalLineToRelative(4.318f)
                curveToRelative(0f, 0.597f, 0.237f, 1.17f, 0.659f, 1.591f)
                lineToRelative(9.581f, 9.581f)
                curveToRelative(0.699f, 0.699f, 1.78f, 0.872f, 2.607f, 0.33f)
                arcToRelative(18.095f, 18.095f, 0f, false, false, 5.223f, -5.223f)
                curveToRelative(0.542f, -0.827f, 0.369f, -1.908f, -0.33f, -2.607f)
                lineTo(11.16f, 3.66f)
                arcTo(2.25f, 2.25f, 0f, false, false, 9.568f, 3f)
                close()
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 1.5f,
                strokeLineJoin = StrokeJoin.Miter
            ) {
                moveTo(6f, 6f)
                horizontalLineToRelative(0.008f)
                verticalLineToRelative(0.008f)
                horizontalLineTo(6f)
                verticalLineTo(6f)
                close()
            }
        }.build()
        
        return _HeroiconsTag!!
    }

private var _HeroiconsTag: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/heroicons/tag.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="M9.568,3H5.25A2.25,2.25 0 0,0 3,5.25v4.318c0,0.597 0.237,1.17 0.659,1.591l9.581,9.581c0.699,0.699 1.78,0.872 2.607,0.33a18.095,18.095 0 0,0 5.223,-5.223c0.542,-0.827 0.369,-1.908 -0.33,-2.607L11.16,3.66A2.25,2.25 0 0,0 9.568,3Z" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeWidth="1.5"
        android:pathData="M6,6h0.008v0.008H6V6Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/heroicons/tag.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="M9.568 3H5.25A2.25 2.25 0 0 0 3 5.25v4.318c0 .597.237 1.17.659 1.591l9.581 9.581c.699.699 1.78.872 2.607.33a18.095 18.095 0 0 0 5.223-5.223c.542-.827.369-1.908-.33-2.607L11.16 3.66A2.25 2.25 0 0 0 9.568 3Z"/><path stroke-linecap="round" stroke-linejoin="round" d="M6 6h.008v.008H6V6Z"/></svg>
```
