ramka

The lightbox for React.

Unstyled, accessible primitives built on native scrolling and view transitions. Morph, swipe, zoom, and pull-to-dismiss, all out of the box.

Click any image. Swipe, pinch to zoom, pull to dismiss.

Artur, creator of ramka

“I’d rather eat glass than build this again.”

Artur Bień · the guy who built this

Exhibit A: what building a lightbox does to a person. Sponsors keep ramka maintained, and their logo hangs in this gallery, in front of React developers who care about polish.

How it compares.

Nobody chooses a lightbox. You inherit one from 2013, or you decide to build your own. Here is how that goes.

ramkathe one you’d buildthat 2013 plugin
Morph transitionsFLIP, take 3fade()
Native scrollingtranslateXarrows
Pinch, pan, flicksprint 14mouse only
Pull to dismissin the backlogEsc
Keyboard, a11yTODO
Respects reduced motionoopsalways has
Your design, not a themeto be fair, yesskin.css

MIT licensed. From $0/month.

ramka is free and open source, and always will be. If it saved you a sprint, a rewrite, or a jQuery plugin, sponsoring keeps it maintained.

Proceeds fund the ongoing fight against scroll emulation.