Cake icon
icon-park-solid:cake
The Cake icon (icon-park-solid:cake) is a free SVG icon from the IconPark Solid set by ByteDance. It is drawn on a 48 × 48 grid. IconPark Solid icons are released under the Apache 2.0 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
- IconPark Solid
- Author
- ByteDance
- License
- Apache-2.0
- Size
- 48 × 48
- Category
- Foods
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><g fill="none" stroke="currentColor" stroke-width="4"><path stroke-linecap="round" stroke-linejoin="round" d="M24 12v5M8 27v13a2 2 0 0 0 2 2h28a2 2 0 0 0 2-2V27"/><path fill="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M4 21.97A4.97 4.97 0 0 1 8.97 17h30.06A4.97 4.97 0 0 1 44 21.97v.278a4.56 4.56 0 0 1-2.864 4.231a3.04 3.04 0 0 1-2.544-.132l-.342-.18a3.4 3.4 0 0 0-3.167 0a3.4 3.4 0 0 1-3.166 0a3.4 3.4 0 0 0-3.167 0a3.4 3.4 0 0 1-3.167 0a3.4 3.4 0 0 0-3.166 0a3.4 3.4 0 0 1-3.167 0a3.4 3.4 0 0 0-3.167 0a3.4 3.4 0 0 1-3.166 0a3.4 3.4 0 0 0-3.167 0l-.342.18a3.04 3.04 0 0 1-2.543.132A4.56 4.56 0 0 1 4 22.25z"/><path d="M27 8c-.8-4-3-4-3-4s-2.2 0-3 4c-1 5 7 5 6 0Z"/></g></svg>How to use the Cake icon
React
import { Icon } from "@iconify/react";
<Icon icon="icon-park-solid:cake" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="icon-park-solid:cake" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="icon-park-solid:cake" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[icon-park-solid--cake]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/icon-park-solid -->
<div class="i-icon-park-solid:cake"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="icon-park-solid:cake"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/icon-park-solid/cake.svg" alt="Cake icon" width="24" height="24">Related icons in IconPark Solid
Cake icon in other icon sets
Cake icon FAQ
Is the Cake icon free for commercial use?
Yes. IconPark Solid icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Cake icon in React?
Install @iconify/react and render <Icon icon="icon-park-solid: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/icon-park-solid/cake.svg" alt="Cake icon">, or paste the SVG code inline to style it with CSS.