# glass-cocktail Icon

> The glass-cocktail icon from Tabler as Compose ImageVector Kotlin code, Android Vector Drawable XML and SVG.

- Library: [Tabler](https://composables.com/icons/icon-libraries/tabler.md)
- License: MIT (full text in the [Tabler library page](https://composables.com/icons/icon-libraries/tabler.md))

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/tabler/glass-cocktail.kt`

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

val TablerGlassCocktail: ImageVector
    get() {
        if (_TablerGlassCocktail != null) return _TablerGlassCocktail!!
        
        _TablerGlassCocktail = ImageVector.Builder(
            name = "glass-cocktail",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 24f,
            viewportHeight = 24f
        ).apply {
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(8f, 21f)
                horizontalLineToRelative(8f)
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(12f, 15f)
                verticalLineToRelative(6f)
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(5f, 5f)
                arcToRelative(7f, 2f, 0f, true, false, 14f, 0f)
                arcToRelative(7f, 2f, 0f, true, false, -14f, 0f)
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(5f, 5f)
                verticalLineToRelative(0.388f)
                curveToRelative(0f, 0.432f, 0.126f, 0.853f, 0.362f, 1.206f)
                lineToRelative(5f, 7.509f)
                curveToRelative(0.633f, 0.951f, 1.88f, 1.183f, 2.785f, 0.517f)
                curveToRelative(0.191f, -0.141f, 0.358f, -0.316f, 0.491f, -0.517f)
                lineToRelative(5f, -7.509f)
                curveToRelative(0.236f, -0.353f, 0.362f, -0.774f, 0.362f, -1.206f)
                verticalLineToRelative(-0.388f)
            }
        }.build()
        
        return _TablerGlassCocktail!!
    }

private var _TablerGlassCocktail: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/tabler/glass-cocktail.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:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M8,21h8" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M12,15v6" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M5,5a7,2 0 1,0 14,0a7,2 0 1,0 -14,0" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M5,5v0.388c0,0.432 0.126,0.853 0.362,1.206l5,7.509c0.633,0.951 1.88,1.183 2.785,0.517c0.191,-0.141 0.358,-0.316 0.491,-0.517l5,-7.509c0.236,-0.353 0.362,-0.774 0.362,-1.206v-0.388" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/tabler/glass-cocktail.svg`

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" ><path d="M8 21h8" /><path d="M12 15v6" /><path d="M5 5a7 2 0 1 0 14 0a7 2 0 1 0 -14 0" /><path d="M5 5v.388c0 .432 .126 .853 .362 1.206l5 7.509c.633 .951 1.88 1.183 2.785 .517c.191 -.141 .358 -.316 .491 -.517l5 -7.509c.236 -.353 .362 -.774 .362 -1.206v-.388" /></svg>
```
