Glass Half icon
iconoir:glass-half
The Glass Half icon (iconoir:glass-half) is a free SVG icon from the Iconoir set by Luca Burgio. It is drawn on a 24 × 24 grid. Iconoir icons are released under the MIT 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
- Iconoir
- Author
- Luca Burgio
- License
- MIT
- Size
- 24 × 24
- Category
- Food
- Tags
- glasshalf
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5"><path d="M3.04 4.294a.5.5 0 0 1 .191-.479C3.927 3.32 6.314 2 12 2s8.073 1.32 8.769 1.815a.5.5 0 0 1 .192.479l-1.7 12.744a4 4 0 0 1-1.98 2.944l-.32.183a10 10 0 0 1-9.922 0l-.32-.183a4 4 0 0 1-1.98-2.944z"/><path d="M3 5c2.571 2.667 15.429 2.667 18 0M4 13c1.032 1.203 3.925 1.864 7 1.981a25.4 25.4 0 0 0 4-.158c2.266-.279 4.197-.886 5-1.823M4 13c2.286-2.667 13.714-2.667 16 0"/></g></svg>How to use the Glass Half icon
React
import { Icon } from "@iconify/react";
<Icon icon="iconoir:glass-half" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="iconoir:glass-half" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="iconoir:glass-half" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[iconoir--glass-half]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/iconoir -->
<div class="i-iconoir:glass-half"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="iconoir:glass-half"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/iconoir/glass-half.svg" alt="Glass Half icon" width="24" height="24">Related icons in Iconoir
Glass Half icon FAQ
Is the Glass Half icon free for commercial use?
Yes. Iconoir icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Glass Half icon in React?
Install @iconify/react and render <Icon icon="iconoir:glass-half" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Glass Half icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/iconoir/glass-half.svg" alt="Glass Half icon">, or paste the SVG code inline to style it with CSS.