ICONYZ
English
Cocktail Solid icon from Streamline

Cocktail Solid icon

streamline:cocktail-solid

The Cocktail Solid icon (streamline:cocktail-solid) is a free SVG icon from the Streamline set. It is drawn on a 14 × 14 grid. Streamline 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
Streamline
Author
Streamline
License
CC-BY-4.0
Size
14 × 14
Category
FoodDrink
Tags
cocktailsolid
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path fill="currentColor" fill-rule="evenodd" d="M2.536.026a1.447 1.447 0 0 0-1.138 2.342L6.25 8.543v3.946H4a.75.75 0 0 0 0 1.5h6a.75.75 0 0 0 0-1.5H7.75V8.543l4.852-6.175A1.447 1.447 0 0 0 11.464.026zM9.805 3.5l1.55-1.974h-8.71L4.195 3.5z" clip-rule="evenodd"/></svg>

How to use the Cocktail Solid icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Streamline

Cocktail Solid icon in other icon sets

Cocktail Solid icon FAQ

Is the Cocktail Solid icon free for commercial use?

Yes. Streamline 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 Solid icon in React?

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

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

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

Browse all Streamline icons →