# no_drinks Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-icons/no_drinks.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 MaterialIconsNoDrinks: ImageVector
    get() {
        if (_MaterialIconsNoDrinks != null) return _MaterialIconsNoDrinks!!
        
        _MaterialIconsNoDrinks = ImageVector.Builder(
            name = "no_drinks",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 24f,
            viewportHeight = 24f
        ).apply {
            group {
                path(
                    fill = SolidColor(Color.Transparent)
                ) {
                    moveTo(0f, 0f)
                    horizontalLineTo(24f)
                    verticalLineTo(24f)
                    horizontalLineTo(0f)
                    verticalLineTo(0f)
                    close()
                }
                path(
                    fill = SolidColor(Color.Black)
                ) {
                    moveTo(21.19f, 21.19f)
                    lineTo(2.81f, 2.81f)
                    lineTo(1.39f, 4.22f)
                    lineToRelative(8.23f, 8.23f)
                    lineTo(11f, 14f)
                    verticalLineToRelative(5f)
                    horizontalLineTo(6f)
                    verticalLineToRelative(2f)
                    horizontalLineToRelative(12f)
                    verticalLineToRelative(-0.17f)
                    lineToRelative(1.78f, 1.78f)
                    lineTo(21.19f, 21.19f)
                    close()
                    moveTo(13f, 19f)
                    verticalLineToRelative(-3.17f)
                    lineTo(16.17f, 19f)
                    horizontalLineTo(13f)
                    close()
                    moveTo(7.83f, 5f)
                    lineToRelative(-2f, -2f)
                    horizontalLineTo(21f)
                    verticalLineToRelative(2f)
                    lineToRelative(-6.2f, 6.97f)
                    lineToRelative(-1.42f, -1.42f)
                    lineTo(14.77f, 9f)
                    horizontalLineToRelative(-2.94f)
                    lineToRelative(-2f, -2f)
                    horizontalLineToRelative(6.74f)
                    lineToRelative(1.78f, -2f)
                    horizontalLineTo(7.83f)
                    close()
                }
            }
        }.build()
        
        return _MaterialIconsNoDrinks!!
    }

private var _MaterialIconsNoDrinks: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/no_drinks.xml`

```xml
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:viewportWidth="24"
    android:viewportHeight="24">
    <path
        android:pathData="M0,0H24V24H0V0Z" />
    <path
        android:fillColor="@android:color/black"
        android:pathData="M21.19,21.19L2.81,2.81L1.39,4.22l8.23,8.23L11,14v5H6v2h12v-0.17l1.78,1.78L21.19,21.19ZM13,19v-3.17L16.17,19H13ZM7.83,5l-2,-2H21v2l-6.2,6.97l-1.42,-1.42L14.77,9h-2.94l-2,-2h6.74l1.78,-2H7.83Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-icons/no_drinks.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><rect fill="none" height="24" width="24"/><path d="M21.19,21.19L2.81,2.81L1.39,4.22l8.23,8.23L11,14v5H6v2h12v-0.17l1.78,1.78L21.19,21.19z M13,19v-3.17L16.17,19H13z M7.83,5l-2-2H21v2l-6.2,6.97l-1.42-1.42L14.77,9h-2.94l-2-2h6.74l1.78-2H7.83z"/></g></svg>
```
