ICONYZ
English
Cup icon from Pepicons

Cup icon

pepicons:cup

The Cup icon (pepicons:cup) is a free SVG icon from the Pepicons set by CyCraft. It is drawn on a 20 × 20 grid. Pepicons 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
Pepicons
Author
CyCraft
License
CC-BY-4.0
Size
20 × 20
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><g fill="currentColor"><path fill-rule="evenodd" d="M15.5 4h-12a1 1 0 0 0-1 1c0 4.918 3.061 9 7 9s7-4.082 7-9a1 1 0 0 0-1-1Zm-6 8c-2.455 0-4.596-2.57-4.949-6h9.898c-.353 3.43-2.494 6-4.949 6Z" clip-rule="evenodd"/><path d="M4 14.5h11a1 1 0 1 1 0 2H4a1 1 0 1 1 0-2Zm10.024-3.69l.552-1.923c.257.074.539.113.831.113c1.107 0 1.893-.543 1.893-1c0-.457-.786-1-1.893-1V5C17.495 5 19.3 6.248 19.3 8s-1.805 3-3.893 3c-.477 0-.944-.065-1.383-.19Z"/></g></svg>

How to use the Cup icon

React

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

<Icon icon="pepicons:cup" width="24" />

Vue

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

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

Svelte

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

<Icon icon="pepicons:cup" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Pepicons

Cup icon in other icon sets

Cup icon FAQ

Is the Cup icon free for commercial use?

Yes. Pepicons 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 Cup icon in React?

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

Browse all Pepicons →