# phone Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/heroicons/phone.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 HeroiconsPhone: ImageVector
    get() {
        if (_HeroiconsPhone != null) return _HeroiconsPhone!!
        
        _HeroiconsPhone = ImageVector.Builder(
            name = "phone",
            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, 6.75f)
                curveToRelative(0f, 8.284f, 6.716f, 15f, 15f, 15f)
                horizontalLineToRelative(2.25f)
                arcToRelative(2.25f, 2.25f, 0f, false, false, 2.25f, -2.25f)
                verticalLineToRelative(-1.372f)
                curveToRelative(0f, -0.516f, -0.351f, -0.966f, -0.852f, -1.091f)
                lineToRelative(-4.423f, -1.106f)
                curveToRelative(-0.44f, -0.11f, -0.902f, 0.055f, -1.173f, 0.417f)
                lineToRelative(-0.97f, 1.293f)
                curveToRelative(-0.282f, 0.376f, -0.769f, 0.542f, -1.21f, 0.38f)
                arcToRelative(12.035f, 12.035f, 0f, false, true, -7.143f, -7.143f)
                curveToRelative(-0.162f, -0.441f, 0.004f, -0.928f, 0.38f, -1.21f)
                lineToRelative(1.293f, -0.97f)
                curveToRelative(0.363f, -0.271f, 0.527f, -0.734f, 0.417f, -1.173f)
                lineTo(6.963f, 3.102f)
                arcToRelative(1.125f, 1.125f, 0f, false, false, -1.091f, -0.852f)
                horizontalLineTo(4.5f)
                arcTo(2.25f, 2.25f, 0f, false, false, 2.25f, 4.5f)
                verticalLineToRelative(2.25f)
                close()
            }
        }.build()
        
        return _HeroiconsPhone!!
    }

private var _HeroiconsPhone: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/heroicons/phone.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,6.75c0,8.284 6.716,15 15,15h2.25a2.25,2.25 0 0,0 2.25,-2.25v-1.372c0,-0.516 -0.351,-0.966 -0.852,-1.091l-4.423,-1.106c-0.44,-0.11 -0.902,0.055 -1.173,0.417l-0.97,1.293c-0.282,0.376 -0.769,0.542 -1.21,0.38a12.035,12.035 0 0,1 -7.143,-7.143c-0.162,-0.441 0.004,-0.928 0.38,-1.21l1.293,-0.97c0.363,-0.271 0.527,-0.734 0.417,-1.173L6.963,3.102a1.125,1.125 0 0,0 -1.091,-0.852H4.5A2.25,2.25 0 0,0 2.25,4.5v2.25Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/heroicons/phone.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 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 0 0 2.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 0 1-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 0 0-1.091-.852H4.5A2.25 2.25 0 0 0 2.25 4.5v2.25Z"/></svg>
```
