ICONYZ
English
Cup icon from Pepicons Pencil

Cup icon

pepicons-pencil:cup

The Cup icon (pepicons-pencil:cup) is a free SVG icon from the Pepicons Pencil set by CyCraft. It is drawn on a 20 × 20 grid. Pepicons Pencil icons 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 Pencil
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 4.5H3a.5.5 0 0 0-.5.5c0 4.668 2.874 8.5 6.5 8.5s6.5-3.832 6.5-8.5a.5.5 0 0 0-.5-.5m-.512 1c-.19 3.932-2.608 7-5.488 7s-5.298-3.068-5.488-7z" clip-rule="evenodd"/><path d="m13.862 10.329l.276-.961c.303.086.63.132.97.132C16.46 9.5 17.5 8.78 17.5 8s-1.04-1.5-2.393-1.5v-1C16.95 5.5 18.5 6.572 18.5 8s-1.55 2.5-3.393 2.5c-.431 0-.852-.058-1.245-.171M3.5 14.75h11a.75.75 0 0 1 0 1.5h-11a.75.75 0 0 1 0-1.5"/></g></svg>

How to use the Cup icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Pepicons Pencil

Cup icon in other icon sets

Cup icon FAQ

Is the Cup icon free for commercial use?

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

Browse all Pepicons Pencil icons →