ICONYZ
English
Cup icon from IconPark

Cup icon

icon-park:cup

The Cup icon (icon-park:cup) is a free SVG icon from the IconPark set by ByteDance. It is drawn on a 49 × 48 grid. IconPark 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
IconPark
Author
ByteDance
License
Apache-2.0
Size
49 × 48
Category
Hardware
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="49" height="48" viewBox="0 0 49 48"><g fill="none" stroke="#000" stroke-width="4"><path d="M8.77783 17.012C8.77783 16.4531 9.23094 16 9.78988 16H33.7658C34.3247 16 34.7778 16.4531 34.7778 17.012V31C34.7778 38.1797 28.9575 44 21.7778 44V44C14.5981 44 8.77783 38.1797 8.77783 31V17.012Z"/><rect width="26" height="8" x="8.778" y="23" fill="#2F88FF" stroke-linecap="round" stroke-linejoin="round"/><path stroke-linecap="round" stroke-linejoin="round" d="M21.7778 4V10"/><path stroke-linecap="round" stroke-linejoin="round" d="M13.7778 6V8"/><path stroke-linecap="round" stroke-linejoin="round" d="M29.7778 6V8"/><path stroke-linecap="round" d="M34.7778 34C38.6438 34 41.7778 30.866 41.7778 27C41.7778 23.134 38.6438 20 34.7778 20"/></g></svg>

How to use the Cup icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="icon-park:cup"></iconify-icon>

HTML image

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

Related icons in IconPark

Cup icon in other icon sets

Cup icon FAQ

Is the Cup icon free for commercial use?

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

How do I use the Cup icon in React?

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

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

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

Browse all IconPark icons →