Beer icon
typcn:beer
The Beer icon (typcn:beer) is a free SVG icon from the Typicons set by Stephen Hutchings. It is drawn on a 24 × 24 grid. Typicons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Typicons
- Author
- Stephen Hutchings
- License
- CC-BY-SA-4.0
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M10 16.5c0 .275-.225.5-.5.5s-.5-.225-.5-.5v-6c0-.275.225-.5.5-.5s.5.225.5.5zm2 0c0 .275-.225.5-.5.5s-.5-.225-.5-.5v-6c0-.275.225-.5.5-.5s.5.225.5.5zm2 0c0 .275-.225.5-.5.5s-.5-.225-.5-.5v-6c0-.275.225-.5.5-.5s.5.225.5.5zM18.5 6H18V5a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v13c0 1.656 1.344 3 3 3h7c1.656 0 3-1.344 3-3h.5c1.93 0 3.5-1.57 3.5-3.5v-5C22 7.57 20.43 6 18.5 6M7 5h9v1h-4.444l-.118.332c-.164.458-.663.73-1.117.648l-.348-.058l-.173.307A1.5 1.5 0 0 1 8.5 8C7.673 8 7 7.327 7 6.5zm9 13a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8.49c.419.317.936.51 1.5.51c.784 0 1.521-.376 1.989-1c.728 0 1.383-.391 1.736-1H16zm4-3.5c0 .827-.673 1.5-1.5 1.5H17V8h1.5c.827 0 1.5.673 1.5 1.5z"/></svg>How to use the Beer icon
React
import { Icon } from "@iconify/react";
<Icon icon="typcn:beer" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="typcn:beer" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="typcn:beer" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[typcn--beer]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/typcn -->
<div class="i-typcn:beer"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="typcn:beer"></iconify-icon>HTML image
<img src="https://icons.sys.karaztherapy.ma/api/public/svg/typcn/beer.svg" alt="Beer icon" width="24" height="24">Beer icon in other icon sets
Beer icon FAQ
Is the Beer icon free for commercial use?
Yes. Typicons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.
How do I use the Beer icon in React?
Install @iconify/react and render <Icon icon="typcn: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://icons.sys.karaztherapy.ma/api/public/svg/typcn/beer.svg" alt="Beer icon">, or paste the SVG code inline to style it with CSS.