ICONYZ
English
Coffee Cup icon from Iconoir

Coffee Cup icon

iconoir:coffee-cup

The Coffee Cup icon (iconoir:coffee-cup) is a free SVG icon from the Iconoir set by Luca Burgio. It is drawn on a 24 × 24 grid. Iconoir 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
Iconoir
Author
Luca Burgio
License
MIT
Size
24 × 24
Category
Food
Tags
coffeecup
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M17 11.6V15a6 6 0 0 1-6 6H9a6 6 0 0 1-6-6v-3.4a.6.6 0 0 1 .6-.6h12.8a.6.6 0 0 1 .6.6M12 9c0-1 .714-2 2.143-2A2.857 2.857 0 0 0 17 4.143V3.5M8 9v-.5a3 3 0 0 1 3-3a2 2 0 0 0 2-2V3"/><path d="M16 11h2.5a2.5 2.5 0 0 1 0 5H17"/></g></svg>

How to use the Coffee Cup icon

React

import { Icon } from "@iconify/react";

<Icon icon="iconoir:coffee-cup" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="iconoir:coffee-cup" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="iconoir:coffee-cup" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[iconoir--coffee-cup]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/iconoir -->
<div class="i-iconoir:coffee-cup"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="iconoir:coffee-cup"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/iconoir/coffee-cup.svg" alt="Coffee Cup icon" width="24" height="24">

Coffee Cup icon in other icon sets

Coffee Cup icon FAQ

Is the Coffee Cup icon free for commercial use?

Yes. Iconoir 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="iconoir: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/iconoir/coffee-cup.svg" alt="Coffee Cup icon">, or paste the SVG code inline to style it with CSS.

Browse all Iconoir icons →