# eye Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/heroicons/eye.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 HeroiconsEye: ImageVector
    get() {
        if (_HeroiconsEye != null) return _HeroiconsEye!!
        
        _HeroiconsEye = ImageVector.Builder(
            name = "eye",
            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.036f, 12.322f)
                arcToRelative(1.012f, 1.012f, 0f, false, true, 0f, -0.639f)
                curveTo(3.423f, 7.51f, 7.36f, 4.5f, 12f, 4.5f)
                curveToRelative(4.638f, 0f, 8.573f, 3.007f, 9.963f, 7.178f)
                curveToRelative(0.07f, 0.207f, 0.07f, 0.431f, 0f, 0.639f)
                curveTo(20.577f, 16.49f, 16.64f, 19.5f, 12f, 19.5f)
                curveToRelative(-4.638f, 0f, -8.573f, -3.007f, -9.963f, -7.178f)
                close()
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 1.5f,
                strokeLineJoin = StrokeJoin.Miter
            ) {
                moveTo(15f, 12f)
                arcToRelative(3f, 3f, 0f, true, true, -6f, 0f)
                arcToRelative(3f, 3f, 0f, false, true, 6f, 0f)
                close()
            }
        }.build()
        
        return _HeroiconsEye!!
    }

private var _HeroiconsEye: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/heroicons/eye.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.036,12.322a1.012,1.012 0 0,1 0,-0.639C3.423,7.51 7.36,4.5 12,4.5c4.638,0 8.573,3.007 9.963,7.178c0.07,0.207 0.07,0.431 0,0.639C20.577,16.49 16.64,19.5 12,19.5c-4.638,0 -8.573,-3.007 -9.963,-7.178Z" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeWidth="1.5"
        android:pathData="M15,12a3,3 0 1,1 -6,0a3,3 0 0,1 6,0Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/heroicons/eye.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.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"/><path stroke-linecap="round" stroke-linejoin="round" d="M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"/></svg>
```
