Cocktail Flat icon
streamline-flex-color:cocktail-flat
The Cocktail Flat icon (streamline-flex-color:cocktail-flat) is a free SVG icon from the Flex color icons set by Streamline. It is drawn on a 14 × 14 grid. Flex color 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 color icons
- Author
- Streamline
- License
- CC-BY-4.0
- Size
- 14 × 14
- Category
- FoodDrink
- Tags
- cocktailflat
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path fill="#8fbffa" fill-rule="evenodd" d="M2.628.239c-1.463 0-2.28 1.69-1.371 2.837l3.588 4.527c.377.476.872.789 1.405.938v3.72H4.344a.75.75 0 0 0 0 1.5h5.312a.75.75 0 1 0 0-1.5H7.75v-3.72a2.73 2.73 0 0 0 1.405-.938l3.588-4.527c.91-1.147.092-2.837-1.371-2.837z" clip-rule="evenodd"/></svg>How to use the Cocktail Flat icon
React
import { Icon } from "@iconify/react";
<Icon icon="streamline-flex-color:cocktail-flat" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="streamline-flex-color:cocktail-flat" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="streamline-flex-color:cocktail-flat" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[streamline-flex-color--cocktail-flat]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/streamline-flex-color -->
<div class="i-streamline-flex-color:cocktail-flat"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="streamline-flex-color:cocktail-flat"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/streamline-flex-color/cocktail-flat.svg" alt="Cocktail Flat icon" width="24" height="24">Related icons in Flex color icons
Cocktail Flat icon in other icon sets
Cocktail Flat icon FAQ
Is the Cocktail Flat icon free for commercial use?
Yes. Flex color 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 Flat icon in React?
Install @iconify/react and render <Icon icon="streamline-flex-color:cocktail-flat" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Cocktail Flat icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/streamline-flex-color/cocktail-flat.svg" alt="Cocktail Flat icon">, or paste the SVG code inline to style it with CSS.