Cocktail icon
la:cocktail
The Cocktail icon (la:cocktail) is a free SVG icon from the Line Awesome set by Icons8. It is drawn on a 32 × 32 grid. Line Awesome icons are released under the Apache 2.0 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
- Line Awesome
- Author
- Icons8
- License
- Apache-2.0
- Size
- 32 × 32
- Category
- Travel
- Tags
- cocktail solid
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M8.5 4A5.503 5.503 0 0 0 3 9.5C3 12.535 5.465 15 8.5 15c.813 0 1.578-.203 2.281-.531L16 21.344V27h-4v2h10v-2h-4v-5.656l8.813-11.625l.187-.281V8H13.75c-.605-2.32-2.766-4-5.25-4m0 2c1.39 0 2.59.84 3.125 2H7v1.438l.188.28l2.343 3.095A3.1 3.1 0 0 1 8.5 13A3.46 3.46 0 0 1 5 9.5A3.46 3.46 0 0 1 8.5 6m1.438 4h14.124l-1.5 2H13.5l1.5 2h6.031L17 19.344z"/></svg>How to use the Cocktail icon
React
import { Icon } from "@iconify/react";
<Icon icon="la:cocktail" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="la:cocktail" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="la:cocktail" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[la--cocktail]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/la -->
<div class="i-la:cocktail"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="la:cocktail"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/la/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. Line Awesome icons are released under the Apache 2.0 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="la: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/la/cocktail.svg" alt="Cocktail icon">, or paste the SVG code inline to style it with CSS.