ICONYZ
English
Cake icon from IconPark

Cake icon

icon-park:cake

The Cake icon (icon-park:cake) is a free SVG icon from the IconPark set by ByteDance. It is drawn on a 48 × 48 grid. IconPark 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
Author
ByteDance
License
Apache-2.0
Size
48 × 48
Category
Foods
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><g fill="none" stroke="#000" stroke-width="4"><path stroke-linecap="round" stroke-linejoin="round" d="M24 12V17"/><path stroke-linecap="round" stroke-linejoin="round" d="M8 27V40C8 41.1046 8.89543 42 10 42H38C39.1046 42 40 41.1046 40 40V27"/><path fill="#2F88FF" stroke-linecap="round" stroke-linejoin="round" d="M4 21.9691C4 19.2247 6.22474 17 8.96909 17H39.0309C41.7753 17 44 19.2247 44 21.9691V22.2481C44 24.1115 42.8655 25.7871 41.1355 26.4791C40.3093 26.8096 39.3797 26.7613 38.5923 26.3468L38.25 26.1667C37.2589 25.645 36.0744 25.645 35.0833 26.1667C34.0922 26.6883 32.9078 26.6883 31.9167 26.1667C30.9256 25.645 29.7411 25.645 28.75 26.1667C27.7589 26.6883 26.5744 26.6883 25.5833 26.1667C24.5922 25.645 23.4078 25.645 22.4167 26.1667C21.4256 26.6883 20.2411 26.6883 19.25 26.1667C18.2589 25.645 17.0744 25.645 16.0833 26.1667C15.0922 26.6883 13.9078 26.6883 12.9167 26.1667C11.9256 25.645 10.7411 25.645 9.75 26.1667L9.40772 26.3468C8.62028 26.7613 7.69073 26.8096 6.86453 26.4791C5.13445 25.7871 4 24.1115 4 22.2481V21.9691Z"/><path d="M27 8C26.2 4 24.0001 4 24.0001 4C24.0001 4 21.8008 4 21.0008 8C20.0008 13 28 13 27 8Z"/></g></svg>

How to use the Cake icon

React

import { Icon } from "@iconify/react";

<Icon icon="icon-park:cake" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="icon-park:cake" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="icon-park:cake" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[icon-park--cake]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/icon-park -->
<div class="i-icon-park: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:cake"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/icon-park/cake.svg" alt="Cake icon" width="24" height="24">

Related icons in IconPark

Cake icon in other icon sets

Cake icon FAQ

Is the Cake icon free for commercial use?

Yes. IconPark 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: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/cake.svg" alt="Cake icon">, or paste the SVG code inline to style it with CSS.

Browse all IconPark icons →