# quiz Icon

> The quiz 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/quiz.md?v=filled), [Outlined](https://composables.com/icons/icon-libraries/material-icons/quiz.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-icons/quiz.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-icons/quiz.md?v=sharp), [Two-Tone](https://composables.com/icons/icon-libraries/material-icons/quiz.md?v=twotone)
- Categories: [Device](https://composables.com/icons/categories/device.md)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-icons/quiz.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.group
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.unit.dp

val MaterialIconsQuiz: ImageVector
    get() {
        if (_MaterialIconsQuiz != null) return _MaterialIconsQuiz!!
        
        _MaterialIconsQuiz = ImageVector.Builder(
            name = "quiz",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 24f,
            viewportHeight = 24f
        ).apply {
            group {
                path(
                    fill = SolidColor(Color.Transparent)
                ) {
                    moveTo(0f, 0f)
                    horizontalLineToRelative(24f)
                    verticalLineToRelative(24f)
                    horizontalLineTo(0f)
                    verticalLineTo(0f)
                    close()
                }
            }
            group {
                path(
                    fill = SolidColor(Color.Black)
                ) {
                    moveTo(4f, 6f)
                    horizontalLineTo(2f)
                    verticalLineToRelative(14f)
                    curveToRelative(0f, 1.1f, 0.9f, 2f, 2f, 2f)
                    horizontalLineToRelative(14f)
                    verticalLineToRelative(-2f)
                    horizontalLineTo(4f)
                    verticalLineTo(6f)
                    close()
                    moveTo(20f, 2f)
                    horizontalLineTo(8f)
                    curveTo(6.9f, 2f, 6f, 2.9f, 6f, 4f)
                    verticalLineToRelative(12f)
                    curveToRelative(0f, 1.1f, 0.9f, 2f, 2f, 2f)
                    horizontalLineToRelative(12f)
                    curveToRelative(1.1f, 0f, 2f, -0.9f, 2f, -2f)
                    verticalLineTo(4f)
                    curveTo(22f, 2.9f, 21.1f, 2f, 20f, 2f)
                    close()
                    moveTo(20f, 16f)
                    horizontalLineTo(8f)
                    verticalLineTo(4f)
                    horizontalLineToRelative(12f)
                    verticalLineTo(16f)
                    close()
                    moveTo(13.51f, 10.16f)
                    curveToRelative(0.41f, -0.73f, 1.18f, -1.16f, 1.63f, -1.8f)
                    curveToRelative(0.48f, -0.68f, 0.21f, -1.94f, -1.14f, -1.94f)
                    curveToRelative(-0.88f, 0f, -1.32f, 0.67f, -1.5f, 1.23f)
                    lineToRelative(-1.37f, -0.57f)
                    curveTo(11.51f, 5.96f, 12.52f, 5f, 13.99f, 5f)
                    curveToRelative(1.23f, 0f, 2.08f, 0.56f, 2.51f, 1.26f)
                    curveToRelative(0.37f, 0.6f, 0.58f, 1.73f, 0.01f, 2.57f)
                    curveToRelative(-0.63f, 0.93f, -1.23f, 1.21f, -1.56f, 1.81f)
                    curveToRelative(-0.13f, 0.24f, -0.18f, 0.4f, -0.18f, 1.18f)
                    horizontalLineToRelative(-1.52f)
                    curveTo(13.26f, 11.41f, 13.19f, 10.74f, 13.51f, 10.16f)
                    close()
                    moveTo(12.95f, 13.95f)
                    curveToRelative(0f, -0.59f, 0.47f, -1.04f, 1.05f, -1.04f)
                    curveToRelative(0.59f, 0f, 1.04f, 0.45f, 1.04f, 1.04f)
                    curveToRelative(0f, 0.58f, -0.44f, 1.05f, -1.04f, 1.05f)
                    curveTo(13.42f, 15f, 12.95f, 14.53f, 12.95f, 13.95f)
                    close()
                }
            }
        }.build()
        
        return _MaterialIconsQuiz!!
    }

private var _MaterialIconsQuiz: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/quiz.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="M4,6H2v14c0,1.1 0.9,2 2,2h14v-2H4V6ZM20,2H8C6.9,2 6,2.9 6,4v12c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2V4C22,2.9 21.1,2 20,2ZM20,16H8V4h12V16ZM13.51,10.16c0.41,-0.73 1.18,-1.16 1.63,-1.8c0.48,-0.68 0.21,-1.94 -1.14,-1.94c-0.88,0 -1.32,0.67 -1.5,1.23l-1.37,-0.57C11.51,5.96 12.52,5 13.99,5c1.23,0 2.08,0.56 2.51,1.26c0.37,0.6 0.58,1.73 0.01,2.57c-0.63,0.93 -1.23,1.21 -1.56,1.81c-0.13,0.24 -0.18,0.4 -0.18,1.18h-1.52C13.26,11.41 13.19,10.74 13.51,10.16ZM12.95,13.95c0,-0.59 0.47,-1.04 1.05,-1.04c0.59,0 1.04,0.45 1.04,1.04c0,0.58 -0.44,1.05 -1.04,1.05C13.42,15 12.95,14.53 12.95,13.95Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" viewBox="0 0 24 24" fill="currentColor"><g><path d="M0,0h24v24H0V0z" fill="none"/></g><g><path d="M4,6H2v14c0,1.1,0.9,2,2,2h14v-2H4V6z M20,2H8C6.9,2,6,2.9,6,4v12c0,1.1,0.9,2,2,2h12c1.1,0,2-0.9,2-2V4 C22,2.9,21.1,2,20,2z M20,16H8V4h12V16z M13.51,10.16c0.41-0.73,1.18-1.16,1.63-1.8c0.48-0.68,0.21-1.94-1.14-1.94 c-0.88,0-1.32,0.67-1.5,1.23l-1.37-0.57C11.51,5.96,12.52,5,13.99,5c1.23,0,2.08,0.56,2.51,1.26c0.37,0.6,0.58,1.73,0.01,2.57 c-0.63,0.93-1.23,1.21-1.56,1.81c-0.13,0.24-0.18,0.4-0.18,1.18h-1.52C13.26,11.41,13.19,10.74,13.51,10.16z M12.95,13.95 c0-0.59,0.47-1.04,1.05-1.04c0.59,0,1.04,0.45,1.04,1.04c0,0.58-0.44,1.05-1.04,1.05C13.42,15,12.95,14.53,12.95,13.95z"/></g></svg>
```
