Beer icon
mdi:beer
The Beer icon (mdi:beer) 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
- pint, pub, bar, drink, cup full, food
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M4 2h15l-2 20H6zm2.2 2l1.6 16h1L7.43 6.34C8.5 6 9.89 5.89 11 7c1.56 1.56 4.33.69 5.5.23L16.8 4z"/></svg>How to use the Beer icon
React
import { Icon } from "@iconify/react";
<Icon icon="mdi:beer" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="mdi:beer" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="mdi:beer" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[mdi--beer]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/mdi -->
<div class="i-mdi:beer"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="mdi:beer"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/mdi/beer.svg" alt="Beer icon" width="24" height="24">Related icons in Material Design Icons
Beer icon in other icon sets
Beer icon FAQ
Is the Beer 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 Beer icon in React?
Install @iconify/react and render <Icon icon="mdi:beer" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Beer icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/mdi/beer.svg" alt="Beer icon">, or paste the SVG code inline to style it with CSS.