UAsset
Motion icon · Free

Candy icon — animated SVG

A free candy 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-candy" overflow="visible"><style>.uah-candy g.uam,.uah-candy [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-candy:hover,:hover>.uah-candy,:focus-visible>.uah-candy) g.uam{animation:uaLtwistC 0.80s cubic-bezier(.65,0,.35,1) 0s 1 both}@keyframes uaLtwistC{0%{transform:none}100%{transform:rotate(-360deg)}}@media (prefers-reduced-motion:reduce){.uah-candy *{animation:none!important}}</style><g class="uam"><circle pathLength="1" cx="12" cy="12" r="4.5"/><path pathLength="1" d="M8.8 15.2 3 16.5 7.5 21zM15.2 8.8 21 7.5 16.5 3zM10 9.6c1.9.4 3.6 2.1 4 4"/></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-candy" overflow="visible"><style>.ual-candy g.uam,.ual-candy [class^=p]{transform-box:fill-box;transform-origin:center}.ual-candy g.uam{animation:uaLtwistCL 2.08s cubic-bezier(.65,0,.35,1) 0s infinite}@keyframes uaLtwistCL{0.0%{transform:none}38.0%{transform:rotate(-360deg)}}@media (prefers-reduced-motion:reduce){.ual-candy *{animation:none!important}}</style><g class="uam"><circle pathLength="1" cx="12" cy="12" r="4.5"/><path pathLength="1" d="M8.8 15.2 3 16.5 7.5 21zM15.2 8.8 21 7.5 16.5 3zM10 9.6c1.9.4 3.6 2.1 4 4"/></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"><circle pathLength="1" cx="12" cy="12" r="4.5"/><path pathLength="1" d="M8.8 15.2 3 16.5 7.5 21zM15.2 8.8 21 7.5 16.5 3zM10 9.6c1.9.4 3.6 2.1 4 4"/></svg>

Tags: candy, food, line, outline, stroke

More Food motion icons

UtensilsPizzaAppleCakeWineBeerIce CreamChef HatSodaCherryCarrotEggSoupDonutCookieMilkTeaBurgerRamenUtensilsPizzaAppleCakeWine

Browse categories