Cocktail Glass With Straw icon
roentgen:cocktail-glass-with-straw
The Cocktail Glass With Straw icon (roentgen:cocktail-glass-with-straw) is a free SVG icon from the Röntgen set by Sergey Vartanov. It is drawn on a 24 × 24 grid. Röntgen 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
- Röntgen
- Author
- Sergey Vartanov
- License
- CC-BY-4.0
- Size
- 24 × 24
- Tags
- cocktailglass, glasswith, withstraw, cocktailglasswithstraw
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12.5 1a.5.5 0 0 0-.354.147L10.294 3H1.5a.5.5 0 0 0-.353.853l5 5C6.528 9.237 7 10.168 7 11v1.5a.54.54 0 0 1-.166.334A.54.54 0 0 1 6.5 13h-1a.5.5 0 0 0-.5.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5a.5.5 0 0 0-.5-.5h-1a.54.54 0 0 1-.334-.166A.54.54 0 0 1 8 12.5V11c0-.833.471-1.764.854-2.146l5-5A.5.5 0 0 0 13.5 3h-1.793l1.146-1.146a.5.5 0 0 0 0-.707A.5.5 0 0 0 12.5 1M2.707 4h6.586l-1 1H3.707zm8 0h1.586l-1 1H9.707z"/></svg>How to use the Cocktail Glass With Straw icon
React
import { Icon } from "@iconify/react";
<Icon icon="roentgen:cocktail-glass-with-straw" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="roentgen:cocktail-glass-with-straw" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="roentgen:cocktail-glass-with-straw" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[roentgen--cocktail-glass-with-straw]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/roentgen -->
<div class="i-roentgen:cocktail-glass-with-straw"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="roentgen:cocktail-glass-with-straw"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/roentgen/cocktail-glass-with-straw.svg" alt="Cocktail Glass With Straw icon" width="24" height="24">Related icons in Röntgen
Cocktail Glass With Straw icon FAQ
Is the Cocktail Glass With Straw icon free for commercial use?
Yes. Röntgen 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 Glass With Straw icon in React?
Install @iconify/react and render <Icon icon="roentgen:cocktail-glass-with-straw" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Cocktail Glass With Straw icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/roentgen/cocktail-glass-with-straw.svg" alt="Cocktail Glass With Straw icon">, or paste the SVG code inline to style it with CSS.