# underline Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/heroicons/underline.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 HeroiconsUnderline: ImageVector
    get() {
        if (_HeroiconsUnderline != null) return _HeroiconsUnderline!!
        
        _HeroiconsUnderline = ImageVector.Builder(
            name = "underline",
            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(17.995f, 3.744f)
                verticalLineToRelative(7.5f)
                arcToRelative(6f, 6f, 0f, true, true, -12f, 0f)
                verticalLineToRelative(-7.5f)
                moveToRelative(-2.25f, 16.502f)
                horizontalLineToRelative(16.5f)
            }
        }.build()
        
        return _HeroiconsUnderline!!
    }

private var _HeroiconsUnderline: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/heroicons/underline.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="M17.995,3.744v7.5a6,6 0 1,1 -12,0v-7.5m-2.25,16.502h16.5" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/heroicons/underline.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="M17.995 3.744v7.5a6 6 0 1 1-12 0v-7.5m-2.25 16.502h16.5"/></svg>
```
