ICONYZ
English
Cocktail icon from WebHostingHub Glyphs

Cocktail icon

whh:cocktail

The Cocktail icon (whh:cocktail) is a free SVG icon from the WebHostingHub Glyphs set by WebHostingHub. It is drawn on a 769 × 1024 grid. WebHostingHub Glyphs icons are released under the Open Font License, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
WebHostingHub Glyphs
Author
WebHostingHub
License
OFL-1.1
Size
769 × 1024
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="769" height="1024" viewBox="0 0 769 1024"><path fill="currentColor" d="M766.5 99q-4.5 16-20 24t-32.5 4L567 84l-28 108h5q13 0 22.5 9.5T576 224v736q0 27-19 45.5t-45 18.5H256q-27 0-45.5-19T192 960V384q-80 0-136-56T0 192T56 56T192 0t136 56t56 136h73l42-160q4-12 11-18.5t18-9t17-3t21-.5l170 50q18 4 26.5 18t4 30M256 302q29-17 46-46h-46zM192 64q-53 0-90.5 37.5T64 192t37.5 90.5T192 320v-96q0-13 9.5-22.5T224 192h96q0-53-37.5-90.5T192 64m180 192q-14 41-44.5 71.5T256 372v76h133l51-192zm140 38l-41 154h41z"/></svg>

How to use the Cocktail icon

React

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

<Icon icon="whh:cocktail" width="24" />

Vue

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

<template>
  <Icon icon="whh:cocktail" width="24" />
</template>

Svelte

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

<Icon icon="whh:cocktail" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="whh:cocktail"></iconify-icon>

HTML image

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

Cocktail icon in other icon sets

Cocktail icon FAQ

Is the Cocktail icon free for commercial use?

Yes. WebHostingHub Glyphs icons are released under the Open Font License, which allows use in personal and commercial projects.

How do I use the Cocktail icon in React?

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

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

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

Browse all WebHostingHub Glyphs icons →