# photo Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/heroicons/photo.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 HeroiconsPhoto: ImageVector
    get() {
        if (_HeroiconsPhoto != null) return _HeroiconsPhoto!!
        
        _HeroiconsPhoto = ImageVector.Builder(
            name = "photo",
            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.25f, 15.75f)
                lineToRelative(5.159f, -5.159f)
                arcToRelative(2.25f, 2.25f, 0f, false, true, 3.182f, 0f)
                lineToRelative(5.159f, 5.159f)
                moveToRelative(-1.5f, -1.5f)
                lineToRelative(1.409f, -1.409f)
                arcToRelative(2.25f, 2.25f, 0f, false, true, 3.182f, 0f)
                lineToRelative(2.909f, 2.909f)
                moveToRelative(-18f, 3.75f)
                horizontalLineToRelative(16.5f)
                arcToRelative(1.5f, 1.5f, 0f, false, false, 1.5f, -1.5f)
                verticalLineTo(6f)
                arcToRelative(1.5f, 1.5f, 0f, false, false, -1.5f, -1.5f)
                horizontalLineTo(3.75f)
                arcTo(1.5f, 1.5f, 0f, false, false, 2.25f, 6f)
                verticalLineToRelative(12f)
                arcToRelative(1.5f, 1.5f, 0f, false, false, 1.5f, 1.5f)
                close()
                moveToRelative(10.5f, -11.25f)
                horizontalLineToRelative(0.008f)
                verticalLineToRelative(0.008f)
                horizontalLineToRelative(-0.008f)
                verticalLineTo(8.25f)
                close()
                moveToRelative(0.375f, 0f)
                arcToRelative(0.375f, 0.375f, 0f, true, true, -0.75f, 0f)
                arcToRelative(0.375f, 0.375f, 0f, false, true, 0.75f, 0f)
                close()
            }
        }.build()
        
        return _HeroiconsPhoto!!
    }

private var _HeroiconsPhoto: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/heroicons/photo.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.25,15.75l5.159,-5.159a2.25,2.25 0 0,1 3.182,0l5.159,5.159m-1.5,-1.5l1.409,-1.409a2.25,2.25 0 0,1 3.182,0l2.909,2.909m-18,3.75h16.5a1.5,1.5 0 0,0 1.5,-1.5V6a1.5,1.5 0 0,0 -1.5,-1.5H3.75A1.5,1.5 0 0,0 2.25,6v12a1.5,1.5 0 0,0 1.5,1.5Zm10.5,-11.25h0.008v0.008h-0.008V8.25Zm0.375,0a0.375,0.375 0 1,1 -0.75,0a0.375,0.375 0 0,1 0.75,0Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/heroicons/photo.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.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"/></svg>
```
