Beer 48 icon
energy-icons:beer-48
The Beer 48 icon (energy-icons:beer-48) is a free SVG icon from the Energy Icons set by Sam Passmore. It is drawn on a 48 × 48 grid. Energy 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
- Energy Icons
- Author
- Sam Passmore
- License
- MIT
- Size
- 48 × 48
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path fill="currentColor" d="M31 17a2 2 0 0 0-2-2H11a2 2 0 0 0-2 2v24a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2zm2 24a4 4 0 0 1-4 4H11a4 4 0 0 1-4-4V17a4 4 0 0 1 4-4h18a4 4 0 0 1 4 4z"/><path fill="currentColor" d="M41 30v-4c0-2.748-2.252-5-5-5h-4v-2h4c3.852 0 7 3.148 7 7v4c0 3.852-3.148 7-7 7h-4v-2h4c2.748 0 5-2.252 5-5M22 4c2.375 0 4.97.838 6.397 2.749c.839-.287 1.65-.36 2.377-.191c1.007.234 1.764.923 2.058 1.905c.283.94.106 2.022-.422 3.078c-.533 1.065-1.452 2.173-2.786 3.24l-1.249-1.562c1.166-.933 1.873-1.825 2.247-2.572c.377-.756.388-1.301.295-1.61c-.08-.268-.26-.454-.596-.532c-.376-.087-1.008-.043-1.873.39a1 1 0 0 1-1.342-.448C26.347 6.931 24.316 6 22 6s-4.348.93-5.106 2.447a1 1 0 0 1-1.34.448c-1.619-.81-3.126-.375-3.935.524c-.775.86-1.061 2.325.181 3.981l-1.6 1.2c-1.758-2.344-1.544-4.88-.069-6.519c1.27-1.411 3.358-2.017 5.466-1.325C17.023 4.839 19.623 4 22 4m-7 32V22a1 1 0 1 1 2 0v14a1 1 0 1 1-2 0m8 0V22a1 1 0 1 1 2 0v14a1 1 0 1 1-2 0"/></svg>How to use the Beer 48 icon
React
import { Icon } from "@iconify/react";
<Icon icon="energy-icons:beer-48" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="energy-icons:beer-48" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="energy-icons:beer-48" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[energy-icons--beer-48]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/energy-icons -->
<div class="i-energy-icons:beer-48"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="energy-icons:beer-48"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/energy-icons/beer-48.svg" alt="Beer 48 icon" width="24" height="24">Related icons in Energy Icons
Beer 48 icon FAQ
Is the Beer 48 icon free for commercial use?
Yes. Energy Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Beer 48 icon in React?
Install @iconify/react and render <Icon icon="energy-icons:beer-48" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Beer 48 icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/energy-icons/beer-48.svg" alt="Beer 48 icon">, or paste the SVG code inline to style it with CSS.