UAsset
Motion icon · Free

File X icon — animated SVG

A free file x 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-x" overflow="visible"><style>.uah-file-x g.uam,.uah-file-x [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-file-x:hover,:hover>.uah-file-x,:focus-visible>.uah-file-x) .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-file-x *{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"/><g class="pa"><path pathLength="1" d="m14.5 12.5-5 5M9.5 12.5l5 5"/></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-x" overflow="visible"><style>.ual-file-x g.uam,.ual-file-x [class^=p]{transform-box:fill-box;transform-origin:center}.ual-file-x .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-file-x *{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"/><g class="pa"><path pathLength="1" d="m14.5 12.5-5 5M9.5 12.5l5 5"/></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"/><g class="pa"><path pathLength="1" d="m14.5 12.5-5 5M9.5 12.5l5 5"/></g></svg>

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

More Files motion icons

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

Browse categories