Coffee Cup icon
jam:coffee-cup
The Coffee Cup icon (jam:coffee-cup) is a free SVG icon from the Jam Icons set by Michael Amprimo. It is drawn on a 24 × 24 grid. Jam 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
- Jam Icons
- Author
- Michael Amprimo
- License
- MIT
- Size
- 24 × 24
- Tags
- coffeecup
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M2 4a6 6 0 1 0 12 0V2H2zm14-4h1a3 3 0 0 1 0 6h-1.252A8 8 0 0 1 0 4V0zm0 4h1a1 1 0 0 0 0-2h-1z"/></svg>How to use the Coffee Cup icon
React
import { Icon } from "@iconify/react";
<Icon icon="jam:coffee-cup" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="jam:coffee-cup" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="jam:coffee-cup" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[jam--coffee-cup]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/jam -->
<div class="i-jam:coffee-cup"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="jam:coffee-cup"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/jam/coffee-cup.svg" alt="Coffee Cup icon" width="24" height="24">Related icons in Jam Icons
Coffee Cup icon in other icon sets
Coffee Cup icon FAQ
Is the Coffee Cup icon free for commercial use?
Yes. Jam Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Coffee Cup icon in React?
Install @iconify/react and render <Icon icon="jam:coffee-cup" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Coffee Cup icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/jam/coffee-cup.svg" alt="Coffee Cup icon">, or paste the SVG code inline to style it with CSS.