ICONYZ
English
Cake icon from ProIcons

Cake icon

proicons:cake

The Cake icon (proicons:cake) is a free SVG icon from the ProIcons set by ProCode. It is drawn on a 24 × 24 grid. ProIcons 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
ProIcons
Author
ProCode
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M4.25 13.25a2.5 2.5 0 0 1 2.5-2.5h10.5a2.5 2.5 0 0 1 2.5 2.5v8H4.25z"/><path d="m4.25 14.87l2.249 1.45a3 3 0 0 0 3.252 0l.623-.4a3 3 0 0 1 3.252 0l.623.4a3 3 0 0 0 3.252 0l2.249-1.45m1.5 6.375H2.75M12 2.75l1.414 1.414a2 2 0 1 1-2.828 0zm0 4.83v3.17"/></g></svg>

How to use the Cake icon

React

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

<Icon icon="proicons:cake" width="24" />

Vue

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

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

Svelte

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

<Icon icon="proicons:cake" width="24" />

Tailwind CSS

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

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/proicons -->
<div class="i-proicons:cake"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="proicons:cake"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/proicons/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. ProIcons are released under the MIT 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="proicons: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/proicons/cake.svg" alt="Cake icon">, or paste the SVG code inline to style it with CSS.

Browse all ProIcons →