ICONYZ
English
Cocktail icon from Flex free icons

Cocktail icon

streamline-flex:cocktail

The Cocktail icon (streamline-flex:cocktail) is a free SVG icon from the Flex free icons set by Streamline. It is drawn on a 14 × 14 grid. Flex free icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Flex free icons
Author
Streamline
License
CC-BY-4.0
Size
14 × 14
Category
FoodDrink
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M12.156 2.61L8.567 7.137a2 2 0 0 1-3.134 0L1.845 2.61A1 1 0 0 1 2.628.989h8.744a1 1 0 0 1 .784 1.62M7 7.898v5.113m2.656 0H4.344"/></svg>

How to use the Cocktail icon

React

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

<Icon icon="streamline-flex:cocktail" width="24" />

Vue

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

<template>
  <Icon icon="streamline-flex:cocktail" width="24" />
</template>

Svelte

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

<Icon icon="streamline-flex:cocktail" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="streamline-flex:cocktail"></iconify-icon>

HTML image

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

Related icons in Flex free icons

Cocktail icon in other icon sets

Cocktail icon FAQ

Is the Cocktail icon free for commercial use?

Yes. Flex free icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Cocktail icon in React?

Install @iconify/react and render <Icon icon="streamline-flex: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/streamline-flex/cocktail.svg" alt="Cocktail icon">, or paste the SVG code inline to style it with CSS.

Browse all Flex free icons →