Media

Photo Gallery

Media Pro

Browse a photo library by trips, days or single shots, with a smooth zoom between levels. Delete a selection and the photos dim and shrink in place before leaving, then the grid closes the gap.

About the Photo Gallery screen

Players, cameras, galleries and feeds for music, podcasts, audiobooks, photos and short video. This is one of 16 media screens.

How it behaves

It responds to taps, scrolling, pinch to zoom and swipes. On a phone you feel a light tap on buttons, a selection tick when you switch an option and a warning buzz when something can't be done yet.

  • Has an empty state for when there's nothing to show yet.
  • Respects Reduce Motion: movement drops out and the feedback stays.

Make it yours

npx @lumioui/cli add pro/media-photo-gallery copies the screen into screens/media/photo-gallery.tsx along with the 5 components it uses, so the source is yours to edit. It's shown here in the pink accent: wrap it in a different <Accent> to recolour every button, highlight and chart at once. It follows light and dark mode, and is designed for a dark canvas, and runs on iOS and Android, including Expo Go.

Built from

  • GlassGlass surface for cards and controls: system glass on newer iOS, real refraction on the web and a frosted look elsewhere. Light can gather under your finger, and panes merge on newer iOS and the web.
  • IconIcon set drawn on one consistent grid, sized and coloured from your theme. The heart, star and bookmark can fill in place inside their outline, then fade back out.
  • ImageImage with a placeholder while it loads, a fallback when it fails, and aspect-ratio handling so your layout doesn’t jump when the picture arrives.
  • LightboxPhoto gallery where any tapped photo grows out of its exact tile into a full-screen viewer, then flies back into the tile of whichever photo is showing when you let it go.
  • TextThemed type scale from caption to display that follows light and dark mode. Includes a pull-quote style with an accent rule and a quieter dimmed tone for secondary text.

More in Media

View all 16