ICONYZ
English
Cocktail Glass icon from OpenMoji

Cocktail Glass icon

openmoji:cocktail-glass

The Cocktail Glass icon (openmoji:cocktail-glass) is a free SVG icon from the OpenMoji set. It is drawn on a 72 × 72 grid. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
OpenMoji
Author
OpenMoji
License
CC-BY-SA-4.0
Size
72 × 72
Category
Food Drink
Tags
cocktailglass
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 72 72"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" d="M45.686 20.066h7.982m-35.624 0h19.042"/><path fill="#b1cc33" d="m17.061 19l6.439 8.5L36 44l12.5-16.5l6.439-8.5z"/><path fill="#5c9e31" d="M44.939 19L38.5 27.5L31 37.4l5 6.6l12.5-16.5l6.439-8.5z"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" d="M36 44v23m-16 0h32m9-56L48.5 27.5L36 44L23.5 27.5L11.239 11.315m0 0L11 11m28 12L55 4"/></svg>

How to use the Cocktail Glass icon

React

import { Icon } from "@iconify/react";

<Icon icon="openmoji:cocktail-glass" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="openmoji:cocktail-glass" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="openmoji:cocktail-glass" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[openmoji--cocktail-glass]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/openmoji -->
<div class="i-openmoji:cocktail-glass"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="openmoji:cocktail-glass"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/openmoji/cocktail-glass.svg" alt="Cocktail Glass icon" width="24" height="24">

Cocktail Glass icon in other icon sets

Cocktail Glass icon FAQ

Is the Cocktail Glass icon free for commercial use?

Yes. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.

How do I use the Cocktail Glass icon in React?

Install @iconify/react and render <Icon icon="openmoji:cocktail-glass" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Cocktail Glass icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/openmoji/cocktail-glass.svg" alt="Cocktail Glass icon">, or paste the SVG code inline to style it with CSS.

Browse all OpenMoji icons →