ICONYZ
English
Icons8 Cup icon from Flat Color Icons

Icons8 Cup icon

flat-color-icons:icons8-cup

The Icons8 Cup icon (flat-color-icons:icons8-cup) is a free SVG icon from the Flat Color Icons set by Icons8. It is drawn on a 48 × 48 grid. Flat Color 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
Flat Color Icons
Author
Icons8
License
MIT
Size
48 × 48
Tags
icons8cup
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path fill="#4CAF50" d="M40 14H8l3.8 28.3c.1 1 1 1.7 2 1.7h20.5c1 0 1.8-.7 2-1.7z"/><g fill="#81C784"><path d="M42 14H6v-3c0-2.2 1.8-4 4-4h28c2.2 0 4 1.8 4 4z"/><path d="M37.2 10H10.8l1.7-4.7c.3-.8 1-1.3 1.9-1.3h19.2c.8 0 1.6.5 1.9 1.3z"/></g><path fill="#E8F5E9" d="M28 28.5c1.2-1.1 2-2.7 2-4.5c0-3.3-2.7-6-6-6s-6 2.7-6 6c0 1.8.8 3.4 2 4.5c-1.2 1.1-2 2.7-2 4.5c0 3.3 2.7 6 6 6s6-2.7 6-6c0-1.8-.8-3.4-2-4.5M24 36c-1.7 0-3-1.3-3-3s1.3-3 3-3s3 1.3 3 3s-1.3 3-3 3m0-9c-1.7 0-3-1.3-3-3s1.3-3 3-3s3 1.3 3 3s-1.3 3-3 3"/></svg>

How to use the Icons8 Cup icon

React

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

<Icon icon="flat-color-icons:icons8-cup" width="24" />

Vue

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

<template>
  <Icon icon="flat-color-icons:icons8-cup" width="24" />
</template>

Svelte

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

<Icon icon="flat-color-icons:icons8-cup" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[flat-color-icons--icons8-cup]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/flat-color-icons -->
<div class="i-flat-color-icons:icons8-cup"></div>

Web component

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

<iconify-icon icon="flat-color-icons:icons8-cup"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/flat-color-icons/icons8-cup.svg" alt="Icons8 Cup icon" width="24" height="24">

Icons8 Cup icon FAQ

Is the Icons8 Cup icon free for commercial use?

Yes. Flat Color Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Icons8 Cup icon in React?

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

How do I add the Icons8 Cup icon to a web page?

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

Browse all Flat Color Icons →