UAsset
Motion icon · Free

Sleep icon — animated SVG

A free sleep 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-sleep" overflow="visible"><style>.uah-sleep g.uam,.uah-sleep [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-sleep:hover,:hover>.uah-sleep,:focus-visible>.uah-sleep) .pa{animation:uaLzzz 1.00s cubic-bezier(.65,0,.35,1) 0s 1 both}@keyframes uaLzzz{0%{transform:none;opacity:1}60%{transform:translate(2px,-3px) scale(1.15);opacity:0}61%{transform:translate(-1px,1px) scale(.6);opacity:0}100%{transform:none;opacity:1}}@media (prefers-reduced-motion:reduce){.uah-sleep *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9z"/><g class="pa"><path pathLength="1" d="M16 3h4l-4 4h4"/></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-sleep" overflow="visible"><style>.ual-sleep g.uam,.ual-sleep [class^=p]{transform-box:fill-box;transform-origin:center}.ual-sleep .pa{animation:uaLzzzL 2.60s cubic-bezier(.65,0,.35,1) 0s infinite}@keyframes uaLzzzL{0.0%{transform:none;opacity:1}22.8%{transform:translate(2px,-3px) scale(1.15);opacity:0}23.2%{transform:translate(-1px,1px) scale(.6);opacity:0}38.0%{transform:none;opacity:1}}@media (prefers-reduced-motion:reduce){.ual-sleep *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9z"/><g class="pa"><path pathLength="1" d="M16 3h4l-4 4h4"/></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="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9z"/><g class="pa"><path pathLength="1" d="M16 3h4l-4 4h4"/></g></svg>

Tags: health, line, outline, sleep, stroke

More Health motion icons

PillHeart PulseStethoscopeThermometerSyringeBandageBrainDumbbellHospital BedDentalEye CareNutritionFirst AidDNAPillHeart PulseStethoscopeThermometerSyringeBandageBrainDumbbellHospital BedDental

Browse categories