# hashtag Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/heroicons/hashtag.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 HeroiconsHashtag: ImageVector
    get() {
        if (_HeroiconsHashtag != null) return _HeroiconsHashtag!!
        
        _HeroiconsHashtag = ImageVector.Builder(
            name = "hashtag",
            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(5.25f, 8.25f)
                horizontalLineToRelative(15f)
                moveToRelative(-16.5f, 7.5f)
                horizontalLineToRelative(15f)
                moveToRelative(-1.8f, -13.5f)
                lineToRelative(-3.9f, 19.5f)
                moveToRelative(-2.1f, -19.5f)
                lineToRelative(-3.9f, 19.5f)
            }
        }.build()
        
        return _HeroiconsHashtag!!
    }

private var _HeroiconsHashtag: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/heroicons/hashtag.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="M5.25,8.25h15m-16.5,7.5h15m-1.8,-13.5l-3.9,19.5m-2.1,-19.5l-3.9,19.5" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/heroicons/hashtag.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="M5.25 8.25h15m-16.5 7.5h15m-1.8-13.5-3.9 19.5m-2.1-19.5-3.9 19.5"/></svg>
```
