Coffee Mug icon
streamline:coffee-mug
The Coffee Mug icon (streamline:coffee-mug) is a free SVG icon from the Streamline set. It is drawn on a 14 × 14 grid. Streamline icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Streamline
- Author
- Streamline
- License
- CC-BY-4.0
- Size
- 14 × 14
- Category
- FoodDrink
- Tags
- coffeemug
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M3 5.5h5a1 1 0 0 1 1 1v5a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-5a1 1 0 0 1 1-1m6 1h.5a2.5 2.5 0 0 1 0 5H9M4 .5v2m3-2v2"/></svg>How to use the Coffee Mug icon
React
import { Icon } from "@iconify/react";
<Icon icon="streamline:coffee-mug" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="streamline:coffee-mug" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="streamline:coffee-mug" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[streamline--coffee-mug]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/streamline -->
<div class="i-streamline:coffee-mug"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="streamline:coffee-mug"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/streamline/coffee-mug.svg" alt="Coffee Mug icon" width="24" height="24">Related icons in Streamline
Coffee Mug icon in other icon sets
Coffee Mug icon FAQ
Is the Coffee Mug icon free for commercial use?
Yes. Streamline icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Coffee Mug icon in React?
Install @iconify/react and render <Icon icon="streamline:coffee-mug" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Coffee Mug icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/streamline/coffee-mug.svg" alt="Coffee Mug icon">, or paste the SVG code inline to style it with CSS.