Cake icon
fluent-mdl2:cake
The Cake icon (fluent-mdl2:cake) is a free SVG icon from the Fluent UI MDL2 set by Microsoft Corporation. It is drawn on a 2048 × 2048 grid. Fluent UI MDL2 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
- Fluent UI MDL2
- Author
- Microsoft Corporation
- License
- MIT
- Size
- 2048 × 2048
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="2048" height="2048" viewBox="0 0 2048 2048"><path fill="currentColor" d="M1216 256q-26 0-45-19t-19-45q0-12 8-31t18-40t21-40t17-30q6 11 16 30t21 40t19 40t8 31q0 26-19 45t-45 19m832 640v1152H0V896l1152-384V352q0-9 7-15t18-10t21-5t18-2q7 0 17 1t21 5t18 10t8 16v117l256-85zm-832-128q-7 0-17-1t-21-5t-18-10t-8-16v-89L405 896h1462l-366-366l-221 74v132q0 9-7 15t-18 10t-21 5t-18 2M128 1024v384h1792v-384zm1792 896v-384H128v384z"/></svg>How to use the Cake icon
React
import { Icon } from "@iconify/react";
<Icon icon="fluent-mdl2:cake" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fluent-mdl2:cake" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fluent-mdl2:cake" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fluent-mdl2--cake]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fluent-mdl2 -->
<div class="i-fluent-mdl2:cake"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fluent-mdl2:cake"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fluent-mdl2/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. Fluent UI MDL2 icons 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="fluent-mdl2: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/fluent-mdl2/cake.svg" alt="Cake icon">, or paste the SVG code inline to style it with CSS.