Lightbox galleries that open from the photo you tapped.
Updated November 17, 2026
A good lightbox grows out of the photo you tapped and closes back into it. PhotoSwipe does this best for plain web pages, Yet Another React Lightbox for React, and lightGallery and Fancybox add many modules under commercial licences. In Gallery Studio, the Gestures & Reveals family has tap-to-open, peek, flip and inspect designs where the lightbox is part of the same native gallery.
Drag, hover or tap the gallery. Change its motion, look and photos, then open it in the editor exactly as you set it. Pick any of the 100 below to load it here.
Captioned photos stacked like a dating app: fling the top card left or right to reveal the next.
Selected row 0Selected title —
These are the gallery’s state machine inputs. In your app they have exactly these names.
Listener eventsTap a photo or scroll to see onItemClick and onChange.
All 100 galleries, live
Each one plays its own gesture. Hover or drag any of them to take over, press Customize to load it into the playground, or open it straight in ExodeUI.
Gestures & Reveals 10
Swipe, tear, lightbox, peek, flip, inspect and compare.
Swipe DeckCaptioned photos stacked like a dating app: fling the top card left or right to reveal the next.
100 ready gallery designs that land as one native ListView widget. Photos come from an Array variable, motion settings are state machine inputs, and the same file plays on web and mobile.
100 designs across carousels, grids, 3D, stacks, lenses, physics, gestures, paths, marquees and editorial
Change photos, captions, springs and speed without code
Taps, index and selected title reach your app as inputs and events
One file for web, iOS and Android
Draws to a canvas, so photos are not selectable page text or <img> tags for SEO
Needs the ExodeUI runtime in your app
2PhotoSwipe
A fast lightbox with pinch-to-zoom and swipe-to-close that opens from your existing thumbnails.
Excellent touch zoom
Works with any grid
A lightbox only, not the gallery layout
3Yet Another React Lightbox
A modern React lightbox with plugins for zoom, thumbnails, captions, video and slideshow.
Plugin-based
Pairs with React Photo Album
Lightbox only
4lightGallery
A feature-rich lightbox with thumbnails, zoom, video and many transition modules.
Lots of modules
Framework wrappers
Commercial licence for closed-source use
Lightbox-centred
5Fancybox (Fancyapps UI)
A polished lightbox with a matching Carousel and Panzoom component.
Polished defaults
Panzoom built in
Paid for commercial projects
Web only
6Motion (formerly Framer Motion)
Layout animations, shared-element transitions, drag and springs for React and Vue.
layoutId shared transitions for lightboxes
Springs and gestures
Gallery logic and layout are yours
Web only
How to choose
Open and close
Does it grow from the thumbnail and back?
Gestures
Pinch zoom, swipe to close, swipe between photos.
Licence
MIT versus commercial licences.
Captions
Title and details shown with the photo.
How to use Gallery Studio
Add a gallery in the editor
Open Gallery Studio. In the ExodeUI editor, open Plugins and choose Gallery Studio. Nothing to install.
Pick a design. Browse the 10 families; every thumbnail plays. Choose a theme and accent.
Insert. It lands as one native ListView widget, with five Array variables and its state machine inputs already created.
Make it yours. Paste your photo URLs into the Image URLs variable and your captions into Titles. In the List panel, switch the motion to any of the other 99 designs, change colours, Item size and each card layer.
Wire the logic. Bind Next row to your own button, use Item clicked to open a screen, or bind Selected row to a variable another part of the file reads.
Ship it. Export the .exode or .bexode file and play it with the ExodeUI runtime for React, Vue, Svelte, Angular, Solid, React Native, SwiftUI and Flutter.
Events your code can hear
onItemClick with { index, item } when a photo is tapped.
onChange with the new index when the focus photo changes.
In React: onComponentChange receives both, with eventType set to the listener name.
State machine inputs
Input
Type
What it does
Selected row
Number
The photo in focus. Set it to scroll there; it changes as people scroll.
Next row / Previous row
Trigger
Step to the next or previous photo (designs that snap).
Replay
Trigger
Plays the entrance again.
Item clicked
Trigger
Fires when someone taps a photo. Use it in Logic or listen to it in code.
Selected title / Selected item
Text
Title and full item of the photo that was tapped.
Spring stiffness / Spring damping
Number
How photos spring into place.
Effect amount
Number
Strength of the design’s effect (0–2): depth, tilt, magnify, spread.
Drag to scroll
Boolean
Turn dragging on or off.
Speed
Number
Marquees and loops: speed and direction.
Friction
Number
Flick designs: how far a throw coasts.
Autoplay / Autoplay interval
Boolean / Number
Autoplaying designs: on or off, and seconds per step.
Gravity / Bounce
Number
Drop designs: fall speed and landing bounce.
Each input is named after the gallery, for example “Cover Flow · Next row”. Which ones a design has depends on its motion; the playground above shows the exact list.
Array variables
Variable
Holds
<Gallery> Image URLs
The photos, in order. The number of photos sets the number of items.
<Gallery> Titles
Caption titles, by index.
<Gallery> Subtitles
Second line, such as a place.
<Gallery> Meta
Small label, such as a year.
<Gallery> Details
Longer text for lightbox and story designs.
Set them from code with updateInput(name, array) on the web, or setInputStringArray(name, array) in SwiftUI and Flutter.
Questions
Which lightbox library is free for commercial use?
PhotoSwipe and Yet Another React Lightbox are MIT. lightGallery is GPLv3 with a commercial licence, and Fancybox needs a paid licence for commercial use.
Can my app react when someone taps a photo?
Yes. A tap fires the onItemClick listener with the index and item, and sets the "Item clicked" trigger, "Selected title" and "Selected item" inputs. Scrolling updates the "Selected row" input.
How do I use my own photos?
Every gallery reads its photos from an Array variable called "<Gallery> Image URLs". Edit it in the editor, or set it from your app with updateInput (web) or setInputStringArray (Swift, Flutter). Captions come from the Titles, Subtitles, Meta and Details variables, matched by index.
Is Gallery Studio free?
Yes. Gallery Studio is built into the ExodeUI editor and included in the free Community plan. Professional is $5 a month, billed yearly.