Cake icon
openmoji:cake
The Cake icon (openmoji:cake) is a free SVG icon from the OpenMoji set. It is drawn on a 72 × 72 grid. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- OpenMoji
- Author
- OpenMoji
- License
- CC-BY-SA-4.0
- Size
- 72 × 72
- Category
- Extras Openmoji
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 72 72"><circle cx="38.5" cy="15" r="2" fill="#ea5a47"/><circle cx="33.5" cy="15" r="2" fill="#ea5a47"/><circle cx="36" cy="11" r="2" fill="#ea5a47"/><path fill="#fff" d="M60 57a3 3 0 0 1-3 3H15a3 3 0 0 1-3-3v-1h48z"/><path fill="#fcea2b" d="M55.767 34.414L58 56H14l2.233-21.586L17 27c0-5.523 4.478-10 10-10h18c5.523 0 10 4.477 10 10z"/><path fill="#a57939" d="M55.533 34.414a2.98 2.98 0 0 1-1.766.586a3 3 0 0 1-3-3v-2a3 3 0 1 0-6 0v2a3 3 0 0 1-6 0v-2a3 3 0 1 0-6 0v2a3 3 0 0 1-6 0v-2a3 3 0 1 0-6 0v2a3 3 0 0 1-3 3A2.98 2.98 0 0 1 16 34.414L16.767 27c0-5.523 4.477-10 10-10h18c5.522 0 10 4.477 10 10z"/><g fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"><path d="M60 57a3 3 0 0 1-3 3H15a3 3 0 0 1-3-3v-1h48z"/><circle cx="38.5" cy="15" r="2"/><circle cx="33.5" cy="15" r="2"/><circle cx="36" cy="11" r="2"/><path d="M16.233 34.414L17 27c0-5.523 4.478-10 10-10h18c5.523 0 10 4.477 10 10l.767 7.414m-39.534 0L14 56h44l-2.233-21.586"/><path d="M16.233 34.414A2.98 2.98 0 0 0 18 35a3 3 0 0 0 3-3v-2a3 3 0 1 1 6 0v2a3 3 0 0 0 6 0v-2a3 3 0 1 1 6 0v2a3 3 0 0 0 6 0v-2a3 3 0 1 1 6 0v2a3 3 0 0 0 3 3a2.98 2.98 0 0 0 1.767-.586"/></g></svg>How to use the Cake icon
React
import { Icon } from "@iconify/react";
<Icon icon="openmoji:cake" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="openmoji:cake" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="openmoji:cake" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[openmoji--cake]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/openmoji -->
<div class="i-openmoji:cake"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="openmoji:cake"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/openmoji/cake.svg" alt="Cake icon" width="24" height="24">Cake icon in other icon sets
Cake icon FAQ
Is the Cake icon free for commercial use?
Yes. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.
How do I use the Cake icon in React?
Install @iconify/react and render <Icon icon="openmoji:cake" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Cake icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/openmoji/cake.svg" alt="Cake icon">, or paste the SVG code inline to style it with CSS.