UAsset
Motion icon · Free

Heart icon — animated SVG

A free heart 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-heart" overflow="visible"><style>.uah-heart g.uam,.uah-heart [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-heart:hover,:hover>.uah-heart,:focus-visible>.uah-heart) g.uam{animation:uaLpump 0.90s cubic-bezier(.65,0,.35,1) 0s 1 both}@keyframes uaLpump{0%,100%{transform:none}15%{transform:scale(1.2)}30%{transform:scale(.94)}45%{transform:scale(1.1)}62%{transform:scale(1)}}@media (prefers-reduced-motion:reduce){.uah-heart *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M12 20s-8.5-4.6-8.5-10.6A4.6 4.6 0 0 1 12 6.6a4.6 4.6 0 0 1 8.5 2.8C20.5 15.4 12 20 12 20z"/><path pathLength="1" d="M6.8 9.6a2.1 2.1 0 0 1 1.7-1.8"/></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-heart" overflow="visible"><style>.ual-heart g.uam,.ual-heart [class^=p]{transform-box:fill-box;transform-origin:center}.ual-heart g.uam{animation:uaLpumpL 2.34s cubic-bezier(.65,0,.35,1) 0s infinite}@keyframes uaLpumpL{0.0%,38.0%{transform:none}5.7%{transform:scale(1.2)}11.4%{transform:scale(.94)}17.1%{transform:scale(1.1)}23.6%{transform:scale(1)}}@media (prefers-reduced-motion:reduce){.ual-heart *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M12 20s-8.5-4.6-8.5-10.6A4.6 4.6 0 0 1 12 6.6a4.6 4.6 0 0 1 8.5 2.8C20.5 15.4 12 20 12 20z"/><path pathLength="1" d="M6.8 9.6a2.1 2.1 0 0 1 1.7-1.8"/></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 20s-8.5-4.6-8.5-10.6A4.6 4.6 0 0 1 12 6.6a4.6 4.6 0 0 1 8.5 2.8C20.5 15.4 12 20 12 20z"/><path pathLength="1" d="M6.8 9.6a2.1 2.1 0 0 1 1.7-1.8"/></svg>

Tags: actions, heart, line, outline, stroke

More Actions motion icons

PlusMinusCloseCheckCheck CircleClose CirclePlus CirclePlus SquarePencilEditTrashCopyDownloadUploadShareShare UpLinkPinBookmarkStarThumbs UpFlagSendLog In

Browse categories