UAsset
Motion icon · Free

Bed icon — animated SVG

A free bed 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-bed" overflow="visible"><style>.uah-bed g.uam,.uah-bed [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-bed:hover,:hover>.uah-bed,:focus-visible>.uah-bed) .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-bed *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M2 4v16M2 8h18a2 2 0 0 1 2 2v10M2 17h20M6 8v9"/><g class="pa"><path pathLength="1" d="M13 3h3l-3 3h3" /></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-bed" overflow="visible"><style>.ual-bed g.uam,.ual-bed [class^=p]{transform-box:fill-box;transform-origin:center}.ual-bed .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-bed *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M2 4v16M2 8h18a2 2 0 0 1 2 2v10M2 17h20M6 8v9"/><g class="pa"><path pathLength="1" d="M13 3h3l-3 3h3" /></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="M2 4v16M2 8h18a2 2 0 0 1 2 2v10M2 17h20M6 8v9"/><g class="pa"><path pathLength="1" d="M13 3h3l-3 3h3" /></g></svg>

Tags: bed, home, line, outline, stroke

More Home motion icons

LampLight OffFlashlightFanSofaBathDoorWashing MachineFridgeSmart TVHouse PlantHouse KeyShowerGarageHome HeartPower SocketLampLight OffFlashlightFanSofaBedBathDoor

Browse categories