UAsset
Motion icon · Free

File Lock icon — animated SVG

A free file lock 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-file-lock" overflow="visible"><style>.uah-file-lock g.uam,.uah-file-lock [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-file-lock:hover,:hover>.uah-file-lock,:focus-visible>.uah-file-lock) .pa{animation:uaLshackle 0.80s cubic-bezier(.65,0,.35,1) 0s 1 both}@keyframes uaLshackle{0%,100%{transform:none}35%,65%{transform:translateY(-3px)}}@media (prefers-reduced-motion:reduce){.uah-file-lock *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><path pathLength="1" d="M14 2v6h6"/><rect pathLength="1" x="8" y="14" width="8" height="5" rx="2"/><g class="pa"><path pathLength="1" d="M10 14v-2a2 2 0 1 1 4 0v2"/></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-file-lock" overflow="visible"><style>.ual-file-lock g.uam,.ual-file-lock [class^=p]{transform-box:fill-box;transform-origin:center}.ual-file-lock .pa{animation:uaLshackleL 2.08s cubic-bezier(.65,0,.35,1) 0s infinite}@keyframes uaLshackleL{0.0%,38.0%{transform:none}13.3%,24.7%{transform:translateY(-3px)}}@media (prefers-reduced-motion:reduce){.ual-file-lock *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><path pathLength="1" d="M14 2v6h6"/><rect pathLength="1" x="8" y="14" width="8" height="5" rx="2"/><g class="pa"><path pathLength="1" d="M10 14v-2a2 2 0 1 1 4 0v2"/></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="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><path pathLength="1" d="M14 2v6h6"/><rect pathLength="1" x="8" y="14" width="8" height="5" rx="2"/><g class="pa"><path pathLength="1" d="M10 14v-2a2 2 0 1 1 4 0v2"/></g></svg>

Tags: file, files, line, lock, outline, stroke

More Files motion icons

FileFile TextFile PlusFilesFolderFolder OpenImageBookBook OpenCloudCloud UploadDatabaseSaveCloud DownloadCloud OffFolder PlusFile CodeFile ImageHard DriveSearch CheckFile CheckFile XFile SearchFile Music

Browse categories