UAsset
Motion icon · Free

Coffee icon — animated SVG

A free coffee 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-coffee" overflow="visible"><style>.uah-coffee g.uam,.uah-coffee [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-coffee:hover,:hover>.uah-coffee,:focus-visible>.uah-coffee) .pa{animation:uaLsteam 0.80s cubic-bezier(.65,0,.35,1) 0s 1 both}:is(.uah-coffee:hover,:hover>.uah-coffee,:focus-visible>.uah-coffee) .pb{animation:uaLsteam 0.80s cubic-bezier(.65,0,.35,1) 0.12s 1 both}:is(.uah-coffee:hover,:hover>.uah-coffee,:focus-visible>.uah-coffee) .pc{animation:uaLsteam 0.80s cubic-bezier(.65,0,.35,1) 0.24s 1 both}@keyframes uaLsteam{0%{transform:none;opacity:1}45%{transform:translateY(-3px);opacity:0}46%{transform:translateY(2px);opacity:0}100%{transform:none;opacity:1}}@media (prefers-reduced-motion:reduce){.uah-coffee *{animation:none!important}}</style><g class="uam"><g class="pb"><path pathLength="1" d="M10 2v2"/></g><g class="pc"><path pathLength="1" d="M14 2v2"/></g><g class="pa"><path pathLength="1" d="M6 2v2"/></g><path pathLength="1" d="M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1"/></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-coffee" overflow="visible"><style>.ual-coffee g.uam,.ual-coffee [class^=p]{transform-box:fill-box;transform-origin:center}.ual-coffee .pa{animation:uaLsteamL 2.08s cubic-bezier(.65,0,.35,1) 0s infinite}.ual-coffee .pb{animation:uaLsteamL 2.08s cubic-bezier(.65,0,.35,1) 0.12s infinite}.ual-coffee .pc{animation:uaLsteamL 2.08s cubic-bezier(.65,0,.35,1) 0.24s infinite}@keyframes uaLsteamL{0.0%{transform:none;opacity:1}17.1%{transform:translateY(-3px);opacity:0}17.5%{transform:translateY(2px);opacity:0}38.0%{transform:none;opacity:1}}@media (prefers-reduced-motion:reduce){.ual-coffee *{animation:none!important}}</style><g class="uam"><g class="pb"><path pathLength="1" d="M10 2v2"/></g><g class="pc"><path pathLength="1" d="M14 2v2"/></g><g class="pa"><path pathLength="1" d="M6 2v2"/></g><path pathLength="1" d="M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1"/></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"><g class="pb"><path pathLength="1" d="M10 2v2"/></g><g class="pc"><path pathLength="1" d="M14 2v2"/></g><g class="pa"><path pathLength="1" d="M6 2v2"/></g><path pathLength="1" d="M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1"/></svg>

Tags: coffee, design, line, outline, stroke

More Design motion icons

LightbulbRocketCrownSmileQR CodeGemGlassesGraduation CapInfinityAtomDiceVerifiedHeartStarFlagBriefcasePaletteBrushSparklesLightbulbRocketCrownCoffeeSmile

Browse categories