Cake icon
zmdi:cake
The Cake icon (zmdi:cake) is a free SVG icon from the Material Design Iconic Font set by MDI Community. It is drawn on a 384 × 472 grid. Material Design Iconic Font icons are released under the Open Font 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
- Material Design Iconic Font
- Author
- MDI Community
- License
- OFL-1.1
- Size
- 384 × 472
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="384" height="472" viewBox="0 0 384 472"><path fill="currentColor" d="M192 128q-18 0-30.5-12.5T149 85q0-12 7-22l36-63l36 63q7 10 7 22q0 18-12.5 30.5T192 128m98 213q22 22 52 22q23 0 42-13v98q0 9-6.5 15t-14.5 6H21q-8 0-14.5-6T0 448v-98q19 13 42 13q30 0 52-22l23-23l23 23q21 21 52 21t52-21l23-23zm30-149q27 0 45.5 18.5T384 256v33q0 17-12.5 29.5T342 331t-29-12l-46-46l-46 46q-11 11-29 11t-30-11l-45-46l-46 46q-12 12-29 12t-29.5-12.5T0 289v-33q0-27 18.5-45.5T64 192h107v-43h42v43z"/></svg>How to use the Cake icon
React
import { Icon } from "@iconify/react";
<Icon icon="zmdi:cake" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="zmdi:cake" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="zmdi:cake" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[zmdi--cake]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/zmdi -->
<div class="i-zmdi:cake"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="zmdi:cake"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/zmdi/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. Material Design Iconic Font icons are released under the Open Font 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="zmdi: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/zmdi/cake.svg" alt="Cake icon">, or paste the SVG code inline to style it with CSS.