Skip to content

Toneflix FlipbookAn expressive flipbook

For creating personalised and interactive reading and photo viewing experiences.

Drag a corner, flick a page, tap the edges or use the arrow keys.

Why this exists ​

For years, turn.js was how the web turned pages. It showed what a flipbook in the browser could feel like, and then it stopped moving: no maintenance, no touch-first rethink, and no React or React Native.

When I needed a flipbook for Toneflix Photos, I tried the modern route and asked coding agents to build one. Agents are good at plumbing and poor at craft. Prompted by a junior developer, or anyone who doesn't already know what a good page turn looks like, they produce a page that slides instead of folds, a shadow in the wrong place, photos pasted on top of the paper, a book that falls apart on a phone held upright. Getting from there to something that feels like a real album is hundreds of small decisions, and nobody should have to make them again.

So this library makes them once. The fold follows the finger. The spring carries the weight of the flick. Prints sink into the paper's grain and curve into the spine. Phones open the book sideways. Pass it a list of photos and you get all of that, whether you're a person or an agent writing the integration.

Everyone, and every agent, should be able to build something beautiful with a flipbook in it, without sweating the details. These ones are figured out.

— Obi, Toneflix