# link Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/heroicons/link.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 HeroiconsLink: ImageVector
    get() {
        if (_HeroiconsLink != null) return _HeroiconsLink!!
        
        _HeroiconsLink = ImageVector.Builder(
            name = "link",
            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(13.19f, 8.688f)
                arcToRelative(4.5f, 4.5f, 0f, false, true, 1.242f, 7.244f)
                lineToRelative(-4.5f, 4.5f)
                arcToRelative(4.5f, 4.5f, 0f, false, true, -6.364f, -6.364f)
                lineToRelative(1.757f, -1.757f)
                moveToRelative(13.35f, -0.622f)
                lineToRelative(1.757f, -1.757f)
                arcToRelative(4.5f, 4.5f, 0f, false, false, -6.364f, -6.364f)
                lineToRelative(-4.5f, 4.5f)
                arcToRelative(4.5f, 4.5f, 0f, false, false, 1.242f, 7.244f)
            }
        }.build()
        
        return _HeroiconsLink!!
    }

private var _HeroiconsLink: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/heroicons/link.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="M13.19,8.688a4.5,4.5 0 0,1 1.242,7.244l-4.5,4.5a4.5,4.5 0 0,1 -6.364,-6.364l1.757,-1.757m13.35,-0.622l1.757,-1.757a4.5,4.5 0 0,0 -6.364,-6.364l-4.5,4.5a4.5,4.5 0 0,0 1.242,7.244" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/heroicons/link.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="M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244"/></svg>
```
