# no_food Icon

> The no_food 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_food.md?v=filled), [Outlined](https://composables.com/icons/icon-libraries/material-icons/no_food.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-icons/no_food.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-icons/no_food.md?v=sharp), [Two-Tone](https://composables.com/icons/icon-libraries/material-icons/no_food.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_food.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 MaterialIconsNoFood: ImageVector
    get() {
        if (_MaterialIconsNoFood != null) return _MaterialIconsNoFood!!
        
        _MaterialIconsNoFood = ImageVector.Builder(
            name = "no_food",
            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(1f, 21f)
                    horizontalLineToRelative(15.01f)
                    verticalLineToRelative(0.98f)
                    curveToRelative(0f, 0.56f, -0.45f, 1.01f, -1.01f, 1.01f)
                    horizontalLineTo(2.01f)
                    curveTo(1.45f, 22.99f, 1f, 22.54f, 1f, 21.98f)
                    verticalLineTo(21f)
                    close()
                    moveTo(20.49f, 23.31f)
                    lineTo(16f, 18.83f)
                    verticalLineTo(19f)
                    horizontalLineTo(1f)
                    verticalLineToRelative(-2f)
                    horizontalLineToRelative(13.17f)
                    lineToRelative(-2f, -2f)
                    horizontalLineTo(1f)
                    curveToRelative(0f, -3.24f, 2.46f, -5.17f, 5.38f, -5.79f)
                    lineToRelative(-5.7f, -5.7f)
                    lineTo(2.1f, 2.1f)
                    lineTo(13f, 13f)
                    lineToRelative(2f, 2f)
                    lineToRelative(6.9f, 6.9f)
                    lineTo(20.49f, 23.31f)
                    close()
                    moveTo(10.17f, 13f)
                    lineToRelative(-2f, -2f)
                    curveToRelative(-1.42f, 0.06f, -3.52f, 0.56f, -4.55f, 2f)
                    horizontalLineTo(10.17f)
                    close()
                    moveTo(23f, 5f)
                    horizontalLineToRelative(-5f)
                    verticalLineTo(1f)
                    horizontalLineToRelative(-2f)
                    verticalLineToRelative(4f)
                    horizontalLineToRelative(-5f)
                    lineToRelative(0.23f, 2f)
                    horizontalLineToRelative(9.56f)
                    lineToRelative(-1f, 9.97f)
                    lineToRelative(1.83f, 1.83f)
                    lineTo(23f, 5f)
                    close()
                }
            }
        }.build()
        
        return _MaterialIconsNoFood!!
    }

private var _MaterialIconsNoFood: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/no_food.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="M1,21h15.01v0.98c0,0.56 -0.45,1.01 -1.01,1.01H2.01C1.45,22.99 1,22.54 1,21.98V21ZM20.49,23.31L16,18.83V19H1v-2h13.17l-2,-2H1c0,-3.24 2.46,-5.17 5.38,-5.79l-5.7,-5.7L2.1,2.1L13,13l2,2l6.9,6.9L20.49,23.31ZM10.17,13l-2,-2c-1.42,0.06 -3.52,0.56 -4.55,2H10.17ZM23,5h-5V1h-2v4h-5l0.23,2h9.56l-1,9.97l1.83,1.83L23,5Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-icons/no_food.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="M1,21h15.01v0.98c0,0.56-0.45,1.01-1.01,1.01H2.01C1.45,22.99,1,22.54,1,21.98V21z M20.49,23.31L16,18.83V19H1v-2h13.17 l-2-2H1c0-3.24,2.46-5.17,5.38-5.79l-5.7-5.7L2.1,2.1L13,13l2,2l6.9,6.9L20.49,23.31z M10.17,13l-2-2c-1.42,0.06-3.52,0.56-4.55,2 H10.17z M23,5h-5V1h-2v4h-5l0.23,2h9.56l-1,9.97l1.83,1.83L23,5z"/></g></svg>
```
