The Hallway Track
Engineering Insights

<click-to-play> — a still that plays

Simon Willison · Jun 17, 2026 · Engineering Insights

Simon Willison released <click-to-play>, a Web Component that lazy-loads GIFs from a still frame.

“For when you don't want big GIFs to be loaded unless people want to play them.”

Simon Willison built a small progressive-enhancement Web Component that turns a still image into a click-to-play GIF, loading the full GIF only on demand. It is a useful front-end utility but carries no meaningful AI industry signal.

web-components progressive-enhancement javascript gif

Watch / read the original source →