Cake icon
material-symbols-light:cake
The Cake icon (material-symbols-light:cake) is a free SVG icon from the Material Symbols Light set by Google. It is drawn on a 24 × 24 grid. Material Symbols Light 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 Symbols Light
- Author
- License
- Apache-2.0
- Size
- 24 × 24
- Category
- Activities
- Tags
- add, baked, birthday, candles, celebration, dessert, food, frosting, party, pastries, pastry, plus, social, sweet, symbol
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M4.73 21q-.31 0-.52-.23T4 20.23v-4.153q0-.667.474-1.141t1.141-.474h12.77q.666 0 1.14.474T20 16.077v4.154q0 .31-.23.54t-.54.229zM6 13.462v-3.77q0-.666.475-1.14t1.14-.475H11.5V6.588q-.43-.28-.715-.638t-.285-.84q0-.3.112-.568t.334-.488L12 3l1.052 1.052q.225.225.337.491t.111.568q0 .481-.285.839q-.284.358-.715.638v1.489h3.885q.666 0 1.14.475T18 9.692v3.77z"/></svg>How to use the Cake icon
React
import { Icon } from "@iconify/react";
<Icon icon="material-symbols-light:cake" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="material-symbols-light:cake" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="material-symbols-light:cake" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[material-symbols-light--cake]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/material-symbols-light -->
<div class="i-material-symbols-light:cake"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="material-symbols-light:cake"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/material-symbols-light/cake.svg" alt="Cake icon" width="24" height="24">Related icons in Material Symbols Light
Cake icon in other icon sets
Cake icon FAQ
Is the Cake icon free for commercial use?
Yes. Material Symbols Light icons are released under the Apache 2.0 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="material-symbols-light: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/material-symbols-light/cake.svg" alt="Cake icon">, or paste the SVG code inline to style it with CSS.