ICONYZ
English
Coffee Cup icon from Röntgen

Coffee Cup icon

roentgen:coffee-cup

The Coffee Cup icon (roentgen:coffee-cup) is a free SVG icon from the Röntgen set by Sergey Vartanov. It is drawn on a 24 × 24 grid. Röntgen 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
Röntgen
Author
Sergey Vartanov
License
CC-BY-4.0
Size
24 × 24
Tags
coffeecup
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M2.5 2a.5.5 0 0 0-.5.5c0 4.083 1.029 6.736 2.646 8.354A.5.5 0 0 0 5 11h5a.5.5 0 0 0 .354-.146a7.5 7.5 0 0 0 1.343-1.858c.994-.031 1.805-.301 2.383-.806c.615-.54.92-1.329.92-2.19c0-.628-.127-1.267-.592-1.713a1.54 1.54 0 0 0-.888-.404a2.3 2.3 0 0 0-.563.002Q13 3.222 13 2.5a.5.5 0 0 0-.5-.5zm10.816 2.85a.56.56 0 0 1 .4.16c.16.153.284.513.284.99c0 .639-.195 1.1-.58 1.436c-.284.248-.696.437-1.262.52c.328-.877.569-1.887.707-3.044a1.5 1.5 0 0 1 .451-.062M2.5 12a.5.5 0 0 0 0 1h10a.5.5 0 0 0 0-1z"/></svg>

How to use the Coffee Cup icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

<img src="https://iconyz.com/api/public/svg/roentgen/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. Röntgen 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 Cup icon in React?

Install @iconify/react and render <Icon icon="roentgen: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/roentgen/coffee-cup.svg" alt="Coffee Cup icon">, or paste the SVG code inline to style it with CSS.

Browse all Röntgen icons →