# how_to_vote Icon

> The how_to_vote icon from Material as Compose ImageVector Kotlin code, Android Vector Drawable XML and SVG.

- Library: [Material Icons](https://composables.com/icons/icon-libraries/material-icons.md)
- License: Apache 2.0 (full text in the [Material Icons library page](https://composables.com/icons/icon-libraries/material-icons.md))
- Styles: [Filled](https://composables.com/icons/icon-libraries/material-icons/how_to_vote.md?v=filled), [Outlined](https://composables.com/icons/icon-libraries/material-icons/how_to_vote.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-icons/how_to_vote.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-icons/how_to_vote.md?v=sharp), [Two-Tone](https://composables.com/icons/icon-libraries/material-icons/how_to_vote.md?v=twotone)
- Categories: [Content](https://composables.com/icons/categories/content.md)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-icons/how_to_vote.kt`

```kotlin
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.unit.dp

val MaterialIconsHowToVote: ImageVector
    get() {
        if (_MaterialIconsHowToVote != null) return _MaterialIconsHowToVote!!
        
        _MaterialIconsHowToVote = ImageVector.Builder(
            name = "how_to_vote",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 24f,
            viewportHeight = 24f
        ).apply {
            path(
                fill = SolidColor(Color.Transparent)
            ) {
                moveTo(0f, 0f)
                horizontalLineToRelative(24f)
                verticalLineToRelative(24f)
                horizontalLineTo(0f)
                verticalLineTo(0f)
                close()
            }
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(18f, 13f)
                horizontalLineToRelative(-0.68f)
                lineToRelative(-2f, 2f)
                horizontalLineToRelative(1.91f)
                lineTo(19f, 17f)
                horizontalLineTo(5f)
                lineToRelative(1.78f, -2f)
                horizontalLineToRelative(2.05f)
                lineToRelative(-2f, -2f)
                horizontalLineTo(6f)
                lineToRelative(-3f, 3f)
                verticalLineToRelative(4f)
                curveToRelative(0f, 1.1f, 0.89f, 2f, 1.99f, 2f)
                horizontalLineTo(19f)
                curveToRelative(1.1f, 0f, 2f, -0.89f, 2f, -2f)
                verticalLineToRelative(-4f)
                lineToRelative(-3f, -3f)
                close()
                moveToRelative(1f, 7f)
                horizontalLineTo(5f)
                verticalLineToRelative(-1f)
                horizontalLineToRelative(14f)
                verticalLineToRelative(1f)
                close()
                moveToRelative(-7.66f, -4.98f)
                curveToRelative(0.39f, 0.39f, 1.02f, 0.39f, 1.41f, 0f)
                lineToRelative(6.36f, -6.36f)
                curveToRelative(0.39f, -0.39f, 0.39f, -1.02f, 0f, -1.41f)
                lineTo(14.16f, 2.3f)
                curveToRelative(-0.38f, -0.4f, -1.01f, -0.4f, -1.4f, -0.01f)
                lineTo(6.39f, 8.66f)
                curveToRelative(-0.39f, 0.39f, -0.39f, 1.02f, 0f, 1.41f)
                lineToRelative(4.95f, 4.95f)
                close()
                moveToRelative(2.12f, -10.61f)
                lineTo(17f, 7.95f)
                lineToRelative(-4.95f, 4.95f)
                lineToRelative(-3.54f, -3.54f)
                lineToRelative(4.95f, -4.95f)
                close()
            }
        }.build()
        
        return _MaterialIconsHowToVote!!
    }

private var _MaterialIconsHowToVote: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/how_to_vote.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:pathData="M0,0h24v24H0V0Z" />
    <path
        android:fillColor="@android:color/black"
        android:pathData="M18,13h-0.68l-2,2h1.91L19,17H5l1.78,-2h2.05l-2,-2H6l-3,3v4c0,1.1 0.89,2 1.99,2H19c1.1,0 2,-0.89 2,-2v-4l-3,-3Zm1,7H5v-1h14v1Zm-7.66,-4.98c0.39,0.39 1.02,0.39 1.41,0l6.36,-6.36c0.39,-0.39 0.39,-1.02 0,-1.41L14.16,2.3c-0.38,-0.4 -1.01,-0.4 -1.4,-0.01L6.39,8.66c-0.39,0.39 -0.39,1.02 0,1.41l4.95,4.95Zm2.12,-10.61L17,7.95l-4.95,4.95l-3.54,-3.54l4.95,-4.95Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-icons/how_to_vote.svg`

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M18 13h-.68l-2 2h1.91L19 17H5l1.78-2h2.05l-2-2H6l-3 3v4c0 1.1.89 2 1.99 2H19c1.1 0 2-.89 2-2v-4l-3-3zm1 7H5v-1h14v1zm-7.66-4.98c.39.39 1.02.39 1.41 0l6.36-6.36c.39-.39.39-1.02 0-1.41L14.16 2.3c-.38-.4-1.01-.4-1.4-.01L6.39 8.66c-.39.39-.39 1.02 0 1.41l4.95 4.95zm2.12-10.61L17 7.95l-4.95 4.95-3.54-3.54 4.95-4.95z"/></svg>
```
