Motion icon · Free
File Code icon — animated SVG
A free file code 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 UAssetHover 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-code" overflow="visible"><style>.uah-file-code g.uam,.uah-file-code [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-file-code:hover,:hover>.uah-file-code,:focus-visible>.uah-file-code) .pa{animation:uaLapartXa 0.60s cubic-bezier(.34,1.56,.64,1) 0s 1 both}:is(.uah-file-code:hover,:hover>.uah-file-code,:focus-visible>.uah-file-code) .pb{animation:uaLapartXb 0.60s cubic-bezier(.34,1.56,.64,1) 0s 1 both}@keyframes uaLapartXa{0%,100%{transform:none}45%{transform:translateX(2.4px)}}@keyframes uaLapartXb{0%,100%{transform:none}45%{transform:translateX(-2.4px)}}@media (prefers-reduced-motion:reduce){.uah-file-code *{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="pb"><path pathLength="1" d="m10 12-2 2.5 2 2.5"/></g><g class="pa"><path pathLength="1" d="m14 12 2 2.5-2 2.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-code" overflow="visible"><style>.ual-file-code g.uam,.ual-file-code [class^=p]{transform-box:fill-box;transform-origin:center}.ual-file-code .pa{animation:uaLapartXaL 1.56s cubic-bezier(.34,1.56,.64,1) 0s infinite}.ual-file-code .pb{animation:uaLapartXbL 1.56s cubic-bezier(.34,1.56,.64,1) 0s infinite}@keyframes uaLapartXaL{0.0%,38.0%{transform:none}17.1%{transform:translateX(2.4px)}}@keyframes uaLapartXbL{0.0%,38.0%{transform:none}17.1%{transform:translateX(-2.4px)}}@media (prefers-reduced-motion:reduce){.ual-file-code *{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="pb"><path pathLength="1" d="m10 12-2 2.5 2 2.5"/></g><g class="pa"><path pathLength="1" d="m14 12 2 2.5-2 2.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="pb"><path pathLength="1" d="m10 12-2 2.5 2 2.5"/></g><g class="pa"><path pathLength="1" d="m14 12 2 2.5-2 2.5"/></g></svg>
Tags: code, file, files, line, outline, stroke
More Files motion icons
FileFile TextFile PlusFilesFolderFolder OpenImageBookBook OpenCloudCloud UploadDatabaseSaveCloud DownloadCloud OffFolder PlusFile ImageHard DriveSearch CheckFile CheckFile XFile SearchFile LockFile Music