UAsset
Motion icon · Free

Unlock icon — animated SVG

A free unlock 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-unlock" overflow="visible"><style>.uah-unlock g.uam,.uah-unlock [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-unlock:hover,:hover>.uah-unlock,:focus-visible>.uah-unlock) .pa{animation:uaLshackleC 0.70s cubic-bezier(.65,0,.35,1) 0s 1 both}@keyframes uaLshackleC{0%,100%{transform:none}40%,62%{transform:translateY(2px)}}@media (prefers-reduced-motion:reduce){.uah-unlock *{animation:none!important}}</style><g class="uam"><rect pathLength="1" x="3" y="11" width="18" height="11" rx="3.5"/><g class="pa"><path pathLength="1" d="M7 11V7a5 5 0 0 1 9.9-1"/></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-unlock" overflow="visible"><style>.ual-unlock g.uam,.ual-unlock [class^=p]{transform-box:fill-box;transform-origin:center}.ual-unlock .pa{animation:uaLshackleCL 1.82s cubic-bezier(.65,0,.35,1) 0s infinite}@keyframes uaLshackleCL{0.0%,38.0%{transform:none}15.2%,23.6%{transform:translateY(2px)}}@media (prefers-reduced-motion:reduce){.ual-unlock *{animation:none!important}}</style><g class="uam"><rect pathLength="1" x="3" y="11" width="18" height="11" rx="3.5"/><g class="pa"><path pathLength="1" d="M7 11V7a5 5 0 0 1 9.9-1"/></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="3" y="11" width="18" height="11" rx="3.5"/><g class="pa"><path pathLength="1" d="M7 11V7a5 5 0 0 1 9.9-1"/></g></svg>

Tags: line, outline, security, stroke, unlock

More Security motion icons

LockKeyShieldShield CheckFingerprintInfoHelpAlert TriangleAlert CircleBanShield AlertFace IDKey RoundShield XSirenLock KeyholeShield LockPasswordLockUnlockKeyShieldShield CheckFingerprint

Browse categories