ICONYZ
English
Glass Mug icon from Material Design Icons

Glass Mug icon

mdi:glass-mug

The Glass Mug icon (mdi:glass-mug) is a free SVG icon from the Material Design Icons set by Pictogrammers. It is drawn on a 24 × 24 grid. Material Design 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
Material Design Icons
Author
Pictogrammers
License
Apache-2.0
Size
24 × 24
Category
Food / Drink
Tags
pub, bar, beer, alcohol, cup, drink, local bar, food, glassmug
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M10 4v3h8V4zM8 2h13v1l-1 1v16l1 1v1H7v-1l1-1v-1.4l-3.8-1.77C3.5 16.5 3 15.82 3 15V8a2 2 0 0 1 2-2h3V4L7 3V2zM5 15l3 1.39V8H5z"/></svg>

How to use the Glass Mug icon

React

import { Icon } from "@iconify/react";

<Icon icon="mdi:glass-mug" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="mdi:glass-mug" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="mdi:glass-mug" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[mdi--glass-mug]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/mdi -->
<div class="i-mdi:glass-mug"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="mdi:glass-mug"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/mdi/glass-mug.svg" alt="Glass Mug icon" width="24" height="24">

Related icons in Material Design Icons

Glass Mug icon FAQ

Is the Glass Mug icon free for commercial use?

Yes. Material Design Icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Glass Mug icon in React?

Install @iconify/react and render <Icon icon="mdi:glass-mug" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Glass Mug icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/mdi/glass-mug.svg" alt="Glass Mug icon">, or paste the SVG code inline to style it with CSS.

Browse all Material Design Icons →