Glass icon
fa:glass
The Glass icon (fa:glass) is a free SVG icon from the Font Awesome 4 set by Dave Gandy. It is drawn on a 1664 × 1664 grid. Font Awesome 4 icons are released under the Open Font 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
- Font Awesome 4
- Author
- Dave Gandy
- License
- OFL-1.1
- Size
- 1664 × 1664
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="1664" height="1664" viewBox="0 0 1664 1664"><path fill="currentColor" d="M1635 58q0 35-43 78L960 768v768h320q26 0 45 19t19 45t-19 45t-45 19H384q-26 0-45-19t-19-45t19-45t45-19h320V768L72 136Q29 93 29 58q0-23 18-36.5T85 4t43-4h1408q23 0 43 4t38 17.5t18 36.5"/></svg>How to use the Glass icon
React
import { Icon } from "@iconify/react";
<Icon icon="fa:glass" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fa:glass" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fa:glass" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fa--glass]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fa -->
<div class="i-fa:glass"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fa:glass"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fa/glass.svg" alt="Glass icon" width="24" height="24">Glass icon in other icon sets
Glass icon FAQ
Is the Glass icon free for commercial use?
Yes. Font Awesome 4 icons are released under the Open Font License, which allows use in personal and commercial projects.
How do I use the Glass icon in React?
Install @iconify/react and render <Icon icon="fa:glass" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Glass icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/fa/glass.svg" alt="Glass icon">, or paste the SVG code inline to style it with CSS.