Skip to content

Instantly share code, notes, and snippets.

View ShishKabab's full-sized avatar

Vincent den Boer ShishKabab

View GitHub Profile
@ShishKabab
ShishKabab / README.md
Last active September 4, 2025 23:16
React component for a pausable image-based animation (call it a non-GIF player)

I was looking for an easy to use GIF player to play a GIF made out of a few screenshots. In the end, I decided to just make a compoment that takes in a list of image URLs, preloads them and plays them when playing the play button.

Features:

  • Loads first frame first, then the rest of them
  • Loading indicator while loading all frames
  • Seperately configurable pauses between frames and after a loop

Usage: