Back to components
ComponentGalleryFree

Photo Album React component

A bound photo album with a linen cover that opens and pages that turn in 3D: drag or tap to turn, the page lifts when you near its edge, line indicators jump between spreads, and a captioned lightbox opens on any photo.

About the Photo Album component

Photo Album presents a set of photos as a bound book. It opens from a linen cover with a photo window, and each page turns around the spine in 3D with shading that follows the fold, so flipping through it feels like handling a real album.

Drag to turn a page (a quick flick finishes the turn), tap the left or right page to step, or use the arrow keys once it has focus. Pages lift slightly when the pointer nears their outer edge, the line indicators under the book jump straight to any spread, and tapping a photo opens a captioned lightbox.

When to use it

Use it for a story told in order: a trip, a wedding, a year in photos, a lookbook or a project diary, where captions and dates matter and the turning itself is part of the charm.

For a large set that people want to scan quickly, a grid or masonry gallery serves better; an album shows two photos at a time.

Installation

Add the Photo Album component to your project with the shadcn CLI. It lands in components/photo-album.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/photo-album

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install clsx tailwind-merge

More Gallery components

Masonry Photo Gallery
Free
Gallery Curve
Dome Photo Sphere
Free
Gallery Flow
Free
Spiral Gallery
Free
Mood Gallery