UAsset
Motion icon · Free

Building icon — animated SVG

A free building 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-building" overflow="visible"><style>.uah-building g.uam,.uah-building [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-building:hover,:hover>.uah-building,:focus-visible>.uah-building) .pc{animation:uaLfade 0.50s cubic-bezier(.65,0,.35,1) 0s 1 both}:is(.uah-building:hover,:hover>.uah-building,:focus-visible>.uah-building) .pb{animation:uaLfade 0.50s cubic-bezier(.65,0,.35,1) 0.1s 1 both}:is(.uah-building:hover,:hover>.uah-building,:focus-visible>.uah-building) .pa{animation:uaLfade 0.50s cubic-bezier(.65,0,.35,1) 0.2s 1 both}@keyframes uaLfade{0%,100%{opacity:1}30%{opacity:.1}}@media (prefers-reduced-motion:reduce){.uah-building *{animation:none!important}}</style><g class="uam"><rect pathLength="1" x="4" y="2" width="16" height="20" rx="3.5"/><path pathLength="1" d="M9 22v-4h6v4"/><g class="pa"><path pathLength="1" d="M8 6h.01M12 6h.01M16 6h.01"/></g><g class="pb"><path pathLength="1" d="M8 10h.01M12 10h.01M16 10h.01"/></g><g class="pc"><path pathLength="1" d="M8 14h.01M12 14h.01M16 14h.01"/></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-building" overflow="visible"><style>.ual-building g.uam,.ual-building [class^=p]{transform-box:fill-box;transform-origin:center}.ual-building .pc{animation:uaLfadeL 1.30s cubic-bezier(.65,0,.35,1) 0s infinite}.ual-building .pb{animation:uaLfadeL 1.30s cubic-bezier(.65,0,.35,1) 0.1s infinite}.ual-building .pa{animation:uaLfadeL 1.30s cubic-bezier(.65,0,.35,1) 0.2s infinite}@keyframes uaLfadeL{0.0%,38.0%{opacity:1}11.4%{opacity:.1}}@media (prefers-reduced-motion:reduce){.ual-building *{animation:none!important}}</style><g class="uam"><rect pathLength="1" x="4" y="2" width="16" height="20" rx="3.5"/><path pathLength="1" d="M9 22v-4h6v4"/><g class="pa"><path pathLength="1" d="M8 6h.01M12 6h.01M16 6h.01"/></g><g class="pb"><path pathLength="1" d="M8 10h.01M12 10h.01M16 10h.01"/></g><g class="pc"><path pathLength="1" d="M8 14h.01M12 14h.01M16 14h.01"/></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"><rect pathLength="1" x="4" y="2" width="16" height="20" rx="3.5"/><path pathLength="1" d="M9 22v-4h6v4"/><g class="pa"><path pathLength="1" d="M8 6h.01M12 6h.01M16 6h.01"/></g><g class="pb"><path pathLength="1" d="M8 10h.01M12 10h.01M16 10h.01"/></g><g class="pc"><path pathLength="1" d="M8 14h.01M12 14h.01M16 14h.01"/></g></svg>

Tags: building, line, outline, places, stroke

More Places motion icons

HospitalSchoolTentMountainTreeFlowerSproutPawFishPine TreeBuildingHospitalSchoolTentMountainTreeFlowerSproutPawFishPine TreeBuildingHospitalSchool

Browse categories