cake icon
cake from Material Line Icons by Vjacheslav Trushkin · Line · Food and Drink · MIT Free for personal and commercial use.
- Name
- cake
- Set
- Material Line Icons
- Style
- Line
- Category
- Food and Drink
- Viewbox
- 24×24
- License
- MIT
The same icon in other sets
cakeAkar IconscakeBootstrap IconscakeBoxIcons v2cakeBoxIcons v2 SolidcakeDeviconcakeFont Awesome SolidcakeHeroIconscakeHuge IconscakeIconParkcakeIconPark OutlinecakeIconPark SolidcakeIconPark TwoTonecakeLucidecakeMajesticonscakeMaterial Icon ThemecakeMaterial SymbolscakeMaterial Symbols LightcakeMaterial Design Iconscake-fillMingCute IconcakeMyna UI IconscakeOpenMojicakePhosphorcakePixelarticonscake-fillRemix Icon
More food and drink icons from Material Line Icons
beerbeer-altbeer-alt-filledbeer-alt-filled-loopbeer-alt-loopbeer-alt-twotonebeer-alt-twotone-loopbeer-filledbeer-filled-loopbeer-loopbeer-twotonebeer-twotone-loopcake-filledcake-twotonecoffeecoffee-arrowcoffee-arrow-filledcoffee-arrow-twotonecoffee-filledcoffee-filled-loopcoffee-half-empty-filled-loopcoffee-half-empty-twotone-loopcoffee-loopcoffee-twotone
Use the cake icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path stroke-dasharray="30" d="M12 21h8v-9c0 -1.1 -0.9 -2 -2 -2h-6M12 21h-8v-9c0 -1.1 0.9 -2 2 -2h6"><animate fill="freeze" attributeName="stroke-dashoffset" dur="0.4s" values="30;0"/></path><path stroke-dasharray="4" stroke-dashoffset="4" d="M12 10v-2"><animate fill="freeze" attributeName="stroke-dashoffset" begin="0.5s" dur="0.2s" to="0"/></path><path stroke-dasharray="22" stroke-dashoffset="22" d="M4 16h1c2 0 3.5 -2 3.5 -2c0 0 1.5 2 3.5 2c2 0 3.5 -2 3.5 -2c0 0 1.5 2 3.5 2h1"><animate fill="freeze" attributeName="stroke-dashoffset" begin="0.7s" dur="0.3s" to="0"/></path></g><path fill="currentColor" d="M14 4c0 1.1 -0.9 2 -2 2c-1.1 0 -2 -0.9 -2 -2c0 -1.1 2 -4 2 -4c0 0 2 2.9 2 4Z" opacity="0"><set fill="freeze" attributeName="opacity" begin="1s" to="1"/><animate fill="freeze" attributeName="d" begin="1s" dur="0.2s" values="M13 5c0 0.5 -0.5 1 -1 1c-0.5 0 -1 -0.5 -1 -1c0 -0.5 1 -1 1 -1c0 0 1 0.5 1 1Z;M14 4c0 1.1 -0.9 2 -2 2c-1.1 0 -2 -0.9 -2 -2c0 -1.1 2 -4 2 -4c0 0 2 2.9 2 4Z"/></path></svg>
React
import type { SVGProps } from "react";
export function LineMdCake(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2"><path strokeDasharray="30" d="M12 21h8v-9c0 -1.1 -0.9 -2 -2 -2h-6M12 21h-8v-9c0 -1.1 0.9 -2 2 -2h6"><animate fill="freeze" attributeName="strokeDashoffset" dur="0.4s" values="30;0"/></path><path strokeDasharray="4" strokeDashoffset="4" d="M12 10v-2"><animate fill="freeze" attributeName="strokeDashoffset" begin="0.5s" dur="0.2s" to="0"/></path><path strokeDasharray="22" strokeDashoffset="22" d="M4 16h1c2 0 3.5 -2 3.5 -2c0 0 1.5 2 3.5 2c2 0 3.5 -2 3.5 -2c0 0 1.5 2 3.5 2h1"><animate fill="freeze" attributeName="strokeDashoffset" begin="0.7s" dur="0.3s" to="0"/></path></g><path fill="currentColor" d="M14 4c0 1.1 -0.9 2 -2 2c-1.1 0 -2 -0.9 -2 -2c0 -1.1 2 -4 2 -4c0 0 2 2.9 2 4Z" opacity="0"><set fill="freeze" attributeName="opacity" begin="1s" to="1"/><animate fill="freeze" attributeName="d" begin="1s" dur="0.2s" values="M13 5c0 0.5 -0.5 1 -1 1c-0.5 0 -1 -0.5 -1 -1c0 -0.5 1 -1 1 -1c0 0 1 0.5 1 1Z;M14 4c0 1.1 -0.9 2 -2 2c-1.1 0 -2 -0.9 -2 -2c0 -1.1 2 -4 2 -4c0 0 2 2.9 2 4Z"/></path></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path stroke-dasharray="30" d="M12 21h8v-9c0 -1.1 -0.9 -2 -2 -2h-6M12 21h-8v-9c0 -1.1 0.9 -2 2 -2h6"><animate fill="freeze" attributeName="stroke-dashoffset" dur="0.4s" values="30;0"/></path><path stroke-dasharray="4" stroke-dashoffset="4" d="M12 10v-2"><animate fill="freeze" attributeName="stroke-dashoffset" begin="0.5s" dur="0.2s" to="0"/></path><path stroke-dasharray="22" stroke-dashoffset="22" d="M4 16h1c2 0 3.5 -2 3.5 -2c0 0 1.5 2 3.5 2c2 0 3.5 -2 3.5 -2c0 0 1.5 2 3.5 2h1"><animate fill="freeze" attributeName="stroke-dashoffset" begin="0.7s" dur="0.3s" to="0"/></path></g><path fill="currentColor" d="M14 4c0 1.1 -0.9 2 -2 2c-1.1 0 -2 -0.9 -2 -2c0 -1.1 2 -4 2 -4c0 0 2 2.9 2 4Z" opacity="0"><set fill="freeze" attributeName="opacity" begin="1s" to="1"/><animate fill="freeze" attributeName="d" begin="1s" dur="0.2s" values="M13 5c0 0.5 -0.5 1 -1 1c-0.5 0 -1 -0.5 -1 -1c0 -0.5 1 -1 1 -1c0 0 1 0.5 1 1Z;M14 4c0 1.1 -0.9 2 -2 2c-1.1 0 -2 -0.9 -2 -2c0 -1.1 2 -4 2 -4c0 0 2 2.9 2 4Z"/></path></svg> </template>
CSS
.icon-cake {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Cpath%20stroke-dasharray%3D%2230%22%20d%3D%22M12%2021h8v-9c0%20-1.1%20-0.9%20-2%20-2%20-2h-6M12%2021h-8v-9c0%20-1.1%200.9%20-2%202%20-2h6%22%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22stroke-dashoffset%22%20dur%3D%220.4s%22%20values%3D%2230%3B0%22%2F%3E%3C%2Fpath%3E%3Cpath%20stroke-dasharray%3D%224%22%20stroke-dashoffset%3D%224%22%20d%3D%22M12%2010v-2%22%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22stroke-dashoffset%22%20begin%3D%220.5s%22%20dur%3D%220.2s%22%20to%3D%220%22%2F%3E%3C%2Fpath%3E%3Cpath%20stroke-dasharray%3D%2222%22%20stroke-dashoffset%3D%2222%22%20d%3D%22M4%2016h1c2%200%203.5%20-2%203.5%20-2c0%200%201.5%202%203.5%202c2%200%203.5%20-2%203.5%20-2c0%200%201.5%202%203.5%202h1%22%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22stroke-dashoffset%22%20begin%3D%220.7s%22%20dur%3D%220.3s%22%20to%3D%220%22%2F%3E%3C%2Fpath%3E%3C%2Fg%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M14%204c0%201.1%20-0.9%202%20-2%202c-1.1%200%20-2%20-0.9%20-2%20-2c0%20-1.1%202%20-4%202%20-4c0%200%202%202.9%202%204Z%22%20opacity%3D%220%22%3E%3Cset%20fill%3D%22freeze%22%20attributeName%3D%22opacity%22%20begin%3D%221s%22%20to%3D%221%22%2F%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22d%22%20begin%3D%221s%22%20dur%3D%220.2s%22%20values%3D%22M13%205c0%200.5%20-0.5%201%20-1%201c-0.5%200%20-1%20-0.5%20-1%20-1c0%20-0.5%201%20-1%201%20-1c0%200%201%200.5%201%201Z%3BM14%204c0%201.1%20-0.9%202%20-2%202c-1.1%200%20-2%20-0.9%20-2%20-2c0%20-1.1%202%20-4%202%20-4c0%200%202%202.9%202%204Z%22%2F%3E%3C%2Fpath%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Cpath%20stroke-dasharray%3D%2230%22%20d%3D%22M12%2021h8v-9c0%20-1.1%20-0.9%20-2%20-2%20-2h-6M12%2021h-8v-9c0%20-1.1%200.9%20-2%202%20-2h6%22%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22stroke-dashoffset%22%20dur%3D%220.4s%22%20values%3D%2230%3B0%22%2F%3E%3C%2Fpath%3E%3Cpath%20stroke-dasharray%3D%224%22%20stroke-dashoffset%3D%224%22%20d%3D%22M12%2010v-2%22%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22stroke-dashoffset%22%20begin%3D%220.5s%22%20dur%3D%220.2s%22%20to%3D%220%22%2F%3E%3C%2Fpath%3E%3Cpath%20stroke-dasharray%3D%2222%22%20stroke-dashoffset%3D%2222%22%20d%3D%22M4%2016h1c2%200%203.5%20-2%203.5%20-2c0%200%201.5%202%203.5%202c2%200%203.5%20-2%203.5%20-2c0%200%201.5%202%203.5%202h1%22%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22stroke-dashoffset%22%20begin%3D%220.7s%22%20dur%3D%220.3s%22%20to%3D%220%22%2F%3E%3C%2Fpath%3E%3C%2Fg%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M14%204c0%201.1%20-0.9%202%20-2%202c-1.1%200%20-2%20-0.9%20-2%20-2c0%20-1.1%202%20-4%202%20-4c0%200%202%202.9%202%204Z%22%20opacity%3D%220%22%3E%3Cset%20fill%3D%22freeze%22%20attributeName%3D%22opacity%22%20begin%3D%221s%22%20to%3D%221%22%2F%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22d%22%20begin%3D%221s%22%20dur%3D%220.2s%22%20values%3D%22M13%205c0%200.5%20-0.5%201%20-1%201c-0.5%200%20-1%20-0.5%20-1%20-1c0%20-0.5%201%20-1%201%20-1c0%200%201%200.5%201%201Z%3BM14%204c0%201.1%20-0.9%202%20-2%202c-1.1%200%20-2%20-0.9%20-2%20-2c0%20-1.1%202%20-4%202%20-4c0%200%202%202.9%202%204Z%22%2F%3E%3C%2Fpath%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/line-md/cake.svg?color=%231a73e8&size=48