Cupcake icon
boxicons:cupcake
The Cupcake icon (boxicons:cupcake) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19.79 10.11c.14-.34.21-.72.21-1.11c0-1.33-.88-2.47-2.08-2.86c.05-.21.08-.42.08-.64A2.5 2.5 0 0 0 15.5 3h-1.26a8.6 8.6 0 0 1-3.79-.89l-.55-.28L8.2 3.1C7.45 3.66 7 4.56 7 5.5c0 .17.02.34.05.5H7a3.01 3.01 0 0 0-2.79 4.11C2.94 10.46 2 11.62 2 13s.96 2.55 2.24 2.89l1.58 4.74A2 2 0 0 0 7.72 22h8.56c.86 0 1.62-.55 1.9-1.37l1.58-4.74a2.988 2.988 0 0 0 .03-5.78M16.28 20H7.72l-1.33-4h11.23l-1.33 4ZM19 14H5c-.55 0-1-.45-1-1s.45-1 1-1h7v-2H7c-.55 0-1-.45-1-1s.45-1 1-1h3V6h-.5c-.28 0-.5-.22-.5-.5c0-.31.15-.61.4-.8l.72-.54c1.3.55 2.71.84 4.11.84h1.26c.28 0 .5.22.5.5s-.22.5-.5.5h-2.5v2h4c.55 0 1 .45 1 1s-.45 1-1 1h-2v2h4c.55 0 1 .45 1 1s-.45 1-1 1Z"/></svg>How to use the Cupcake icon
React
import { Icon } from "@iconify/react";
<Icon icon="boxicons:cupcake" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="boxicons:cupcake" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="boxicons:cupcake" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--cupcake]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:cupcake"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="boxicons:cupcake"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/boxicons/cupcake.svg" alt="Cupcake icon" width="24" height="24">Related icons in Boxicons
Cupcake icon in other icon sets
Cupcake icon FAQ
Is the Cupcake icon free for commercial use?
Yes. Boxicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Cupcake icon in React?
Install @iconify/react and render <Icon icon="boxicons:cupcake" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Cupcake icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/cupcake.svg" alt="Cupcake icon">, or paste the SVG code inline to style it with CSS.