UAsset
Motion icon · Free

Hospital icon — animated SVG

A free hospital 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-hospital" overflow="visible"><style>.uah-hospital g.uam,.uah-hospital [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-hospital:hover,:hover>.uah-hospital,:focus-visible>.uah-hospital) .pa{animation:uaLr90 0.55s cubic-bezier(.34,1.56,.64,1) 0s 1 both}@keyframes uaLr90{0%{transform:rotate(0)}100%{transform:rotate(90deg)}}@media (prefers-reduced-motion:reduce){.uah-hospital *{animation:none!important}}</style><g class="uam"><rect pathLength="1" x="4" y="3" width="16" height="19" rx="3.5"/><path pathLength="1" d="M2 22h20M10 22v-4h4v4"/><g class="pa"><path pathLength="1" d="M12 7v6M9 10h6"/></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-hospital" overflow="visible"><style>.ual-hospital g.uam,.ual-hospital [class^=p]{transform-box:fill-box;transform-origin:center}.ual-hospital .pa{animation:uaLr90L 1.43s cubic-bezier(.34,1.56,.64,1) 0s infinite}@keyframes uaLr90L{0.0%{transform:rotate(0)}38.0%{transform:rotate(90deg)}}@media (prefers-reduced-motion:reduce){.ual-hospital *{animation:none!important}}</style><g class="uam"><rect pathLength="1" x="4" y="3" width="16" height="19" rx="3.5"/><path pathLength="1" d="M2 22h20M10 22v-4h4v4"/><g class="pa"><path pathLength="1" d="M12 7v6M9 10h6"/></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="3" width="16" height="19" rx="3.5"/><path pathLength="1" d="M2 22h20M10 22v-4h4v4"/><g class="pa"><path pathLength="1" d="M12 7v6M9 10h6"/></g></svg>

Tags: hospital, line, outline, places, stroke

More Places motion icons

BuildingSchoolTentMountainTreeFlowerSproutPawFishPine TreeBuildingHospitalSchoolTentMountainTreeFlowerSproutPawFishPine TreeBuildingHospitalSchool

Browse categories