ICONYZ
English
Cup icon from IconPark Solid

Cup icon

icon-park-solid:cup

The Cup icon (icon-park-solid:cup) is a free SVG icon from the IconPark Solid set by ByteDance. It is drawn on a 49 × 48 grid. IconPark Solid 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 Solid
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="currentColor" stroke-width="4"><path d="M8.778 17.012c0-.559.453-1.012 1.012-1.012h23.976c.559 0 1.012.453 1.012 1.012V31c0 7.18-5.82 13-13 13s-13-5.82-13-13z"/><path fill="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M8.778 23h26v8h-26z"/><path stroke-linecap="round" stroke-linejoin="round" d="M21.778 4v6m-8-4v2m16-2v2"/><path stroke-linecap="round" d="M34.778 34a7 7 0 1 0 0-14"/></g></svg>

How to use the Cup icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/icon-park-solid -->
<div class="i-icon-park-solid: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-solid:cup"></iconify-icon>

HTML image

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

Related icons in IconPark Solid

Cup icon in other icon sets

Cup icon FAQ

Is the Cup icon free for commercial use?

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

Browse all IconPark Solid icons →