Cupcake icon
roentgen:cupcake
The Cupcake icon (roentgen:cupcake) is a free SVG icon from the Röntgen set by Sergey Vartanov. It is drawn on a 24 × 24 grid. Röntgen 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
- Röntgen
- Author
- Sergey Vartanov
- License
- CC-BY-4.0
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M8 3c-2.361 0-4.006.78-4.879 1.799c-.436.509-.683 1.084-.683 1.654c0 .378.123.75.353 1.055c.522-.476 1.1-.758 1.709-.758c.523 0 .994.343 1.455.703A3.4 3.4 0 0 1 8 6.75c.739 0 1.457.255 2.045.703c.46-.36.932-.703 1.455-.703c.61 0 1.187.282 1.709.758c.23-.306.354-.677.354-1.055c0-.57-.248-1.145-.684-1.654C12.006 3.78 10.36 3 8 3M4.5 7.75c-.333 0-.705.162-1.146.604l-.038.037l1.72 4.295A.5.5 0 0 0 5.5 13h5a.5.5 0 0 0 .465-.314l1.719-4.297l-.037-.035c-.442-.442-.814-.604-1.147-.604s-.705.162-1.146.604a.5.5 0 0 1-.707 0C9.264 7.97 8.639 7.75 8 7.75s-1.264.221-1.646.604a.5.5 0 0 1-.708 0c-.44-.442-.813-.604-1.146-.604"/></svg>How to use the Cupcake icon
React
import { Icon } from "@iconify/react";
<Icon icon="roentgen:cupcake" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="roentgen:cupcake" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="roentgen:cupcake" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[roentgen--cupcake]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/roentgen -->
<div class="i-roentgen:cupcake"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="roentgen:cupcake"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/roentgen/cupcake.svg" alt="Cupcake icon" width="24" height="24">Cupcake icon in other icon sets
Cupcake icon FAQ
Is the Cupcake icon free for commercial use?
Yes. Röntgen 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 Cupcake icon in React?
Install @iconify/react and render <Icon icon="roentgen: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/roentgen/cupcake.svg" alt="Cupcake icon">, or paste the SVG code inline to style it with CSS.