# coffee Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-icons/coffee.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 MaterialIconsCoffee: ImageVector
    get() {
        if (_MaterialIconsCoffee != null) return _MaterialIconsCoffee!!
        
        _MaterialIconsCoffee = ImageVector.Builder(
            name = "coffee",
            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(18.5f, 3f)
                    horizontalLineTo(6f)
                    curveTo(4.9f, 3f, 4f, 3.9f, 4f, 5f)
                    verticalLineToRelative(5.71f)
                    curveToRelative(0f, 3.83f, 2.95f, 7.18f, 6.78f, 7.29f)
                    curveToRelative(3.96f, 0.12f, 7.22f, -3.06f, 7.22f, -7f)
                    verticalLineToRelative(-1f)
                    horizontalLineToRelative(0.5f)
                    curveToRelative(1.93f, 0f, 3.5f, -1.57f, 3.5f, -3.5f)
                    reflectiveCurveTo(20.43f, 3f, 18.5f, 3f)
                    close()
                    moveTo(16f, 5f)
                    verticalLineToRelative(3f)
                    horizontalLineTo(6f)
                    verticalLineTo(5f)
                    horizontalLineTo(16f)
                    close()
                    moveTo(16f, 10f)
                    verticalLineToRelative(1f)
                    curveToRelative(0f, 2.76f, -2.24f, 5f, -5f, 5f)
                    reflectiveCurveToRelative(-5f, -2.24f, -5f, -5f)
                    verticalLineToRelative(-1f)
                    moveTo(18.5f, 8f)
                    horizontalLineTo(18f)
                    verticalLineTo(5f)
                    horizontalLineToRelative(0.5f)
                    curveTo(19.33f, 5f, 20f, 5.67f, 20f, 6.5f)
                    reflectiveCurveTo(19.33f, 8f, 18.5f, 8f)
                    close()
                    moveTo(4f, 19f)
                    horizontalLineToRelative(16f)
                    verticalLineToRelative(2f)
                    horizontalLineTo(4f)
                    verticalLineTo(19f)
                    close()
                }
            }
        }.build()
        
        return _MaterialIconsCoffee!!
    }

private var _MaterialIconsCoffee: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/coffee.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.5,3H6C4.9,3 4,3.9 4,5v5.71c0,3.83 2.95,7.18 6.78,7.29c3.96,0.12 7.22,-3.06 7.22,-7v-1h0.5c1.93,0 3.5,-1.57 3.5,-3.5S20.43,3 18.5,3ZM16,5v3H6V5H16ZM16,10v1c0,2.76 -2.24,5 -5,5s-5,-2.24 -5,-5v-1M18.5,8H18V5h0.5C19.33,5 20,5.67 20,6.5S19.33,8 18.5,8ZM4,19h16v2H4V19Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-icons/coffee.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="M18.5,3H6C4.9,3,4,3.9,4,5v5.71c0,3.83,2.95,7.18,6.78,7.29c3.96,0.12,7.22-3.06,7.22-7v-1h0.5c1.93,0,3.5-1.57,3.5-3.5 S20.43,3,18.5,3z M16,5v3H6V5H16z M16,10v1c0,2.76-2.24,5-5,5s-5-2.24-5-5v-1 M18.5,8H18V5h0.5C19.33,5,20,5.67,20,6.5 S19.33,8,18.5,8z M4,19h16v2H4V19z"/></g></svg>
```
