# h1 Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/heroicons/h1.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 HeroiconsH1: ImageVector
    get() {
        if (_HeroiconsH1 != null) return _HeroiconsH1!!
        
        _HeroiconsH1 = ImageVector.Builder(
            name = "h1",
            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(2.243f, 4.493f)
                verticalLineToRelative(7.5f)
                moveToRelative(0f, 0f)
                verticalLineToRelative(7.502f)
                moveToRelative(0f, -7.501f)
                horizontalLineToRelative(10.5f)
                moveToRelative(0f, -7.5f)
                verticalLineToRelative(7.5f)
                moveToRelative(0f, 0f)
                verticalLineToRelative(7.501f)
                moveToRelative(4.501f, -8.627f)
                lineToRelative(2.25f, -1.5f)
                verticalLineToRelative(10.126f)
                moveToRelative(0f, 0f)
                horizontalLineToRelative(-2.25f)
                moveToRelative(2.25f, 0f)
                horizontalLineToRelative(2.25f)
            }
        }.build()
        
        return _HeroiconsH1!!
    }

private var _HeroiconsH1: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/heroicons/h1.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="M2.243,4.493v7.5m0,0v7.502m0,-7.501h10.5m0,-7.5v7.5m0,0v7.501m4.501,-8.627l2.25,-1.5v10.126m0,0h-2.25m2.25,0h2.25" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/heroicons/h1.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="M2.243 4.493v7.5m0 0v7.502m0-7.501h10.5m0-7.5v7.5m0 0v7.501m4.501-8.627 2.25-1.5v10.126m0 0h-2.25m2.25 0h2.25"/></svg>
```
