ICONYZ
English
Cake 48 icon from Energy Icons

Cake 48 icon

energy-icons:cake-48

The Cake 48 icon (energy-icons:cake-48) is a free SVG icon from the Energy Icons set by Sam Passmore. It is drawn on a 48 × 48 grid. Energy Icons 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
Energy Icons
Author
Sam Passmore
License
MIT
Size
48 × 48
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path fill="currentColor" d="M40 21a1 1 0 0 1 1 1v20a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V22a1 1 0 0 1 1-1zM9 41h30V23H9z"/><path fill="currentColor" d="M32 27a1 1 0 0 1 .832.445c1.604 2.407 4.732 2.407 6.336 0l1.664 1.11c-2.145 3.217-6.271 3.552-8.832 1.01c-2.26 2.244-5.74 2.244-8 0c-2.256 2.239-5.723 2.244-7.984.015c-1.013 1.066-2.246 1.67-3.641 1.67c-1.744 0-3.483-.944-5.082-2.543l1.414-1.414c1.401 1.401 2.662 1.957 3.668 1.957c.955 0 1.925-.503 2.793-1.805l.075-.098a1 1 0 0 1 1.589.098c1.604 2.407 4.732 2.407 6.336 0l.075-.098a1 1 0 0 1 1.589.098c1.604 2.407 4.732 2.407 6.336 0l.075-.098A1 1 0 0 1 32 27M15 14a1 1 0 1 1 2 0v8h-2zm8-2a1 1 0 1 1 2 0v10h-2zm8 2a1 1 0 1 1 2 0v8h-2zM15 9.02V9a1 1 0 1 1 2 0v.02a1 1 0 1 1-2 0m8-2V7a1 1 0 1 1 2 0v.02a1 1 0 1 1-2 0m8 2V9a1 1 0 1 1 2 0v.02a1 1 0 1 1-2 0"/></svg>

How to use the Cake 48 icon

React

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

<Icon icon="energy-icons:cake-48" width="24" />

Vue

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

<template>
  <Icon icon="energy-icons:cake-48" width="24" />
</template>

Svelte

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

<Icon icon="energy-icons:cake-48" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="energy-icons:cake-48"></iconify-icon>

HTML image

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

Related icons in Energy Icons

Cake 48 icon FAQ

Is the Cake 48 icon free for commercial use?

Yes. Energy Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Cake 48 icon in React?

Install @iconify/react and render <Icon icon="energy-icons:cake-48" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Cake 48 icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/energy-icons/cake-48.svg" alt="Cake 48 icon">, or paste the SVG code inline to style it with CSS.

Browse all Energy Icons →