Skip to content
Icon Pantry

Animated file key icon

The file key icon with a swing animation. Try other motions, change the color and speed, then download an animated SVG for the web, or a GIF or WebP for email, Slack, Notion and slides.

16
20
24
32
48
Style
Animation

Hanging things: tags, medals, lanterns, signs.

Color
GIF and WebP size

Animated SVG for websites and apps (plays in browsers, stops for people who prefer reduced motion). GIF for email, Slack, Notion and slides. WebP for sharp, small web animations. Free for personal and commercial use. No attribution required.

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" overflow="visible" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><style>@keyframes ip-swing{0%{transform:translate(0px,0px) rotate(0deg) scale(1,1);opacity:1}25%{transform:translate(0px,0px) rotate(12deg) scale(1,1);opacity:1}50%{transform:translate(0px,0px) rotate(0deg) scale(1,1);opacity:1}75%{transform:translate(0px,0px) rotate(-12deg) scale(1,1);opacity:1}100%{transform:translate(0px,0px) rotate(0deg) scale(1,1);opacity:1}}.ip-swing{animation:ip-swing 2.2s cubic-bezier(.65,0,.35,1) infinite;transform-box:view-box;transform-origin:12px 2px}@media (prefers-reduced-motion:reduce){.ip-swing,.ip-swing .ip-d{animation:none!important;stroke-dashoffset:0!important}}</style><g class="ip-swing"><path d="M19 10.5V8l-5-5H6a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h4.5"/><path d="M14 3v5h5"/><circle cx="14.5" cy="17" r="2.5"/><path d="M17 17h4.5m-1 0v2.5"/></g></svg>