Cupcake 48 icon
energy-icons:cupcake-48
The Cupcake 48 icon (energy-icons:cupcake-48) is a free SVG icon from the Energy Icons set by Sam Passmore. It is drawn on a 48 × 48 grid. Energy Icons 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.
- Icon set
- Energy Icons
- Author
- Sam Passmore
- License
- MIT
- Size
- 48 × 48
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path fill="currentColor" d="M38 25a1 1 0 0 1 .97 1.242l-4 16A1 1 0 0 1 34 43H14a1 1 0 0 1-.97-.758l-4-16A1 1 0 0 1 10 25zM14.78 41h18.44l3.5-14H11.28z"/><path fill="currentColor" d="m21.5 41.969l-2 .062l-.5-16l2-.062zM29 26.031l-.5 16l-2-.062l.5-16z"/><path fill="currentColor" d="M24 8c3.683 0 6.922 1.053 9.26 2.979c2.133 1.756 3.471 4.205 3.703 7.106c1.953.354 3.22 1.775 3.632 3.423c.466 1.864-.151 4.064-2.04 5.324l-1.11-1.664c1.11-.74 1.494-2.04 1.21-3.176C38.38 20.897 37.5 20 35.999 20a1 1 0 0 1-1-1c0-2.698-1.114-4.917-3.01-6.478C30.077 10.947 27.315 10 23.999 10s-6.077.947-7.989 2.521C14.114 14.083 13 16.302 13 19a1 1 0 0 1-1 1c-1.501 0-2.38.897-2.655 1.992c-.284 1.136.099 2.436 1.21 3.176l-1.11 1.664c-1.89-1.26-2.506-3.46-2.04-5.324c.412-1.647 1.678-3.069 3.63-3.423c.232-2.901 1.571-5.35 3.704-7.107C17.077 9.054 20.316 8 23.999 8"/></svg>How to use the Cupcake 48 icon
React
import { Icon } from "@iconify/react";
<Icon icon="energy-icons:cupcake-48" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="energy-icons:cupcake-48" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="energy-icons:cupcake-48" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[energy-icons--cupcake-48]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/energy-icons -->
<div class="i-energy-icons:cupcake-48"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="energy-icons:cupcake-48"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/energy-icons/cupcake-48.svg" alt="Cupcake 48 icon" width="24" height="24">Related icons in Energy Icons
Cupcake 48 icon FAQ
Is the Cupcake 48 icon free for commercial use?
Yes. Energy Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Cupcake 48 icon in React?
Install @iconify/react and render <Icon icon="energy-icons:cupcake-48" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Cupcake 48 icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/energy-icons/cupcake-48.svg" alt="Cupcake 48 icon">, or paste the SVG code inline to style it with CSS.