# megaphone Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/heroicons/megaphone.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 HeroiconsMegaphone: ImageVector
    get() {
        if (_HeroiconsMegaphone != null) return _HeroiconsMegaphone!!
        
        _HeroiconsMegaphone = ImageVector.Builder(
            name = "megaphone",
            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(10.34f, 15.84f)
                curveToRelative(-0.688f, -0.06f, -1.386f, -0.09f, -2.09f, -0.09f)
                horizontalLineTo(7.5f)
                arcToRelative(4.5f, 4.5f, 0f, true, true, 0f, -9f)
                horizontalLineToRelative(0.75f)
                curveToRelative(0.704f, 0f, 1.402f, -0.03f, 2.09f, -0.09f)
                moveToRelative(0f, 9.18f)
                curveToRelative(0.253f, 0.962f, 0.584f, 1.892f, 0.985f, 2.783f)
                curveToRelative(0.247f, 0.55f, 0.06f, 1.21f, -0.463f, 1.511f)
                lineToRelative(-0.657f, 0.38f)
                curveToRelative(-0.551f, 0.318f, -1.26f, 0.117f, -1.527f, -0.461f)
                arcToRelative(20.845f, 20.845f, 0f, false, true, -1.44f, -4.282f)
                moveToRelative(3.102f, 0.069f)
                arcToRelative(18.03f, 18.03f, 0f, false, true, -0.59f, -4.59f)
                curveToRelative(0f, -1.586f, 0.205f, -3.124f, 0.59f, -4.59f)
                moveToRelative(0f, 9.18f)
                arcToRelative(23.848f, 23.848f, 0f, false, true, 8.835f, 2.535f)
                moveTo(10.34f, 6.66f)
                arcToRelative(23.847f, 23.847f, 0f, false, false, 8.835f, -2.535f)
                moveToRelative(0f, 0f)
                arcTo(23.74f, 23.74f, 0f, false, false, 18.795f, 3f)
                moveToRelative(0.38f, 1.125f)
                arcToRelative(23.91f, 23.91f, 0f, false, true, 1.014f, 5.395f)
                moveToRelative(-1.014f, 8.855f)
                curveToRelative(-0.118f, 0.38f, -0.245f, 0.754f, -0.38f, 1.125f)
                moveToRelative(0.38f, -1.125f)
                arcToRelative(23.91f, 23.91f, 0f, false, false, 1.014f, -5.395f)
                moveToRelative(0f, -3.46f)
                curveToRelative(0.495f, 0.413f, 0.811f, 1.035f, 0.811f, 1.73f)
                curveToRelative(0f, 0.695f, -0.316f, 1.317f, -0.811f, 1.73f)
                moveToRelative(0f, -3.46f)
                arcToRelative(24.347f, 24.347f, 0f, false, true, 0f, 3.46f)
            }
        }.build()
        
        return _HeroiconsMegaphone!!
    }

private var _HeroiconsMegaphone: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/heroicons/megaphone.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="M10.34,15.84c-0.688,-0.06 -1.386,-0.09 -2.09,-0.09H7.5a4.5,4.5 0 1,1 0,-9h0.75c0.704,0 1.402,-0.03 2.09,-0.09m0,9.18c0.253,0.962 0.584,1.892 0.985,2.783c0.247,0.55 0.06,1.21 -0.463,1.511l-0.657,0.38c-0.551,0.318 -1.26,0.117 -1.527,-0.461a20.845,20.845 0 0,1 -1.44,-4.282m3.102,0.069a18.03,18.03 0 0,1 -0.59,-4.59c0,-1.586 0.205,-3.124 0.59,-4.59m0,9.18a23.848,23.848 0 0,1 8.835,2.535M10.34,6.66a23.847,23.847 0 0,0 8.835,-2.535m0,0A23.74,23.74 0 0,0 18.795,3m0.38,1.125a23.91,23.91 0 0,1 1.014,5.395m-1.014,8.855c-0.118,0.38 -0.245,0.754 -0.38,1.125m0.38,-1.125a23.91,23.91 0 0,0 1.014,-5.395m0,-3.46c0.495,0.413 0.811,1.035 0.811,1.73c0,0.695 -0.316,1.317 -0.811,1.73m0,-3.46a24.347,24.347 0 0,1 0,3.46" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/heroicons/megaphone.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="M10.34 15.84c-.688-.06-1.386-.09-2.09-.09H7.5a4.5 4.5 0 1 1 0-9h.75c.704 0 1.402-.03 2.09-.09m0 9.18c.253.962.584 1.892.985 2.783.247.55.06 1.21-.463 1.511l-.657.38c-.551.318-1.26.117-1.527-.461a20.845 20.845 0 0 1-1.44-4.282m3.102.069a18.03 18.03 0 0 1-.59-4.59c0-1.586.205-3.124.59-4.59m0 9.18a23.848 23.848 0 0 1 8.835 2.535M10.34 6.66a23.847 23.847 0 0 0 8.835-2.535m0 0A23.74 23.74 0 0 0 18.795 3m.38 1.125a23.91 23.91 0 0 1 1.014 5.395m-1.014 8.855c-.118.38-.245.754-.38 1.125m.38-1.125a23.91 23.91 0 0 0 1.014-5.395m0-3.46c.495.413.811 1.035.811 1.73 0 .695-.316 1.317-.811 1.73m0-3.46a24.347 24.347 0 0 1 0 3.46"/></svg>
```
