Cake Variant icon
mdi:cake-variant
The Cake Variant icon (mdi:cake-variant) is a free SVG icon from the Material Design Icons set by Pictogrammers. It is drawn on a 24 × 24 grid. Material Design 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
- Material Design Icons
- Author
- Pictogrammers
- License
- Apache-2.0
- Size
- 24 × 24
- Category
- Food / Drink, Holiday
- Tags
- birthday cake, holiday, food, drink, cakevariant
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12 6a2 2 0 0 0 2-2c0-.38-.1-.73-.29-1.03L12 0l-1.71 2.97c-.19.3-.29.65-.29 1.03a2 2 0 0 0 2 2m4.6 10l-1.07-1.08L14.45 16c-1.3 1.29-3.58 1.3-4.89 0L8.5 14.92L7.4 16a3.47 3.47 0 0 1-4.4.39V21a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-4.61a3.47 3.47 0 0 1-4.4-.39M18 9h-5V7h-2v2H6a3 3 0 0 0-3 3v1.54c0 1.08.88 1.96 1.96 1.96c.54 0 1.04-.2 1.38-.57L8.5 12.8l2.11 2.13c.74.74 2.03.74 2.77 0l2.12-2.13l2.15 2.13c.35.37.85.57 1.38.57c1.08 0 1.97-.88 1.97-1.96V12a3 3 0 0 0-3-3"/></svg>How to use the Cake Variant icon
React
import { Icon } from "@iconify/react";
<Icon icon="mdi:cake-variant" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="mdi:cake-variant" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="mdi:cake-variant" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[mdi--cake-variant]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/mdi -->
<div class="i-mdi:cake-variant"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="mdi:cake-variant"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/mdi/cake-variant.svg" alt="Cake Variant icon" width="24" height="24">Related icons in Material Design Icons
Cake Variant icon FAQ
Is the Cake Variant icon free for commercial use?
Yes. Material Design Icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Cake Variant icon in React?
Install @iconify/react and render <Icon icon="mdi:cake-variant" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Cake Variant icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/mdi/cake-variant.svg" alt="Cake Variant icon">, or paste the SVG code inline to style it with CSS.