ICONYZ
English
Coffee icon from Grommet Icons

Coffee icon

grommet-icons:coffee

The Coffee icon (grommet-icons:coffee) is a free SVG icon from the Grommet Icons set by Grommet. It is drawn on a 24 × 24 grid. Grommet Icons are released under the Apache 2.0 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
Grommet Icons
Author
Grommet
License
Apache-2.0
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path stroke="currentColor" stroke-width="2" d="M6.264 20.192c4.096 2.868 8.602-.081 11.47-4.177s4.097-9.338.002-12.206s-8.602.08-11.47 4.176s-4.098 9.339-.002 12.207Z"/><path fill="currentColor" d="M16.589 5.447c-1.393.246-5.326 2.375-5.408 5.98c-.083 3.604-2.787 6.594-3.77 7.126c1.803.042 5.326-2.375 5.408-5.98c.083-3.604 2.786-6.594 3.77-7.126"/></g></svg>

How to use the Coffee icon

React

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

<Icon icon="grommet-icons:coffee" width="24" />

Vue

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

<template>
  <Icon icon="grommet-icons:coffee" width="24" />
</template>

Svelte

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

<Icon icon="grommet-icons:coffee" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="grommet-icons:coffee"></iconify-icon>

HTML image

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

Coffee icon in other icon sets

Coffee icon FAQ

Is the Coffee icon free for commercial use?

Yes. Grommet Icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Coffee icon in React?

Install @iconify/react and render <Icon icon="grommet-icons:coffee" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Coffee icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/grommet-icons/coffee.svg" alt="Coffee icon">, or paste the SVG code inline to style it with CSS.

Browse all Grommet Icons →