UAsset
Motion icon · Free

Cake icon — animated SVG

A free cake motion icon that acts out its meaning. The animation is pure CSS inside the SVG, so it works in any website or app without Lottie or JavaScript. 24px grid, 2px stroke, round caps. Free for personal and commercial use.

Open in UAsset

Hover SVG code (plays when hovered)

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="uah-cake" overflow="visible"><style>.uah-cake g.uam,.uah-cake [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-cake:hover,:hover>.uah-cake,:focus-visible>.uah-cake) .pa{transform-origin:50% 100%;animation:uaLflick 0.80s cubic-bezier(.65,0,.35,1) 0s 1 both}@keyframes uaLflick{0%,100%{transform:none;opacity:1}25%{transform:scale(.7,1.3);opacity:.5}50%{transform:scale(1.2,.85)}75%{transform:scale(.9,1.15);opacity:.8}}@media (prefers-reduced-motion:reduce){.uah-cake *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M20 21V12a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v9M2 21h20M4 15c1.5 1 3 1 4 0s2.5-1 4 0 2.5 1 4 0 2.5-1 4 0M12 10V7"/><g class="pa"><path pathLength="1" d="M12 3.5c.7.8 1 1.4 1 2a1 1 0 0 1-2 0c0-.6.3-1.2 1-2z"/></g></g></svg>

Looping SVG code

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="ual-cake" overflow="visible"><style>.ual-cake g.uam,.ual-cake [class^=p]{transform-box:fill-box;transform-origin:center}.ual-cake .pa{transform-origin:50% 100%;animation:uaLflickL 2.08s cubic-bezier(.65,0,.35,1) 0s infinite}@keyframes uaLflickL{0.0%,38.0%{transform:none;opacity:1}9.5%{transform:scale(.7,1.3);opacity:.5}19.0%{transform:scale(1.2,.85)}28.5%{transform:scale(.9,1.15);opacity:.8}}@media (prefers-reduced-motion:reduce){.ual-cake *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M20 21V12a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v9M2 21h20M4 15c1.5 1 3 1 4 0s2.5-1 4 0 2.5 1 4 0 2.5-1 4 0M12 10V7"/><g class="pa"><path pathLength="1" d="M12 3.5c.7.8 1 1.4 1 2a1 1 0 0 1-2 0c0-.6.3-1.2 1-2z"/></g></g></svg>

Static SVG code

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path pathLength="1" d="M20 21V12a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v9M2 21h20M4 15c1.5 1 3 1 4 0s2.5-1 4 0 2.5 1 4 0 2.5-1 4 0M12 10V7"/><g class="pa"><path pathLength="1" d="M12 3.5c.7.8 1 1.4 1 2a1 1 0 0 1-2 0c0-.6.3-1.2 1-2z"/></g></svg>

Tags: cake, food, line, outline, stroke

More Food motion icons

UtensilsPizzaAppleWineBeerIce CreamChef HatSodaCherryCarrotEggSoupDonutCookieCandyMilkTeaBurgerRamenUtensilsPizzaAppleCakeWine

Browse categories