← All components Next componentFluid Chroma Cursor→
Gallery · Editorial
Parallax Depth Gallery
A vertical editorial gallery seen through windows: each image slides inside its frame with cinematic inertia, ripples like jelly when you scroll fast, and tilts under the pointer behind a glass chamfer that catches the light.
<ParallaxDepthGallery />Live
Scroll fast · hover a frame
Customize
Captions
Layout
Installation
Use it in your project
Or skip the copy-paste
One command: writes the file and installs the dependencies.
$ npx deepui-cli add parallax-depth-gallery
Pro component: run npx deepui-cli login first with a token from your library.
01
Install
The 3D packages this component is built on.
$ npm install three @react-three/fiber framer-motion && npm install -D @types/three
02
Add the component
One self-contained file: create components/ParallaxDepthGallery.tsx and paste it in.
03
Drop it in a page
Updated live with the settings above.
app/page.tsx
1import ParallaxDepthGallery from "@/components/ParallaxDepthGallery";23export default function Section() {4 return (5 // The component fills this box: give it a position and a height6 <div style={{ position: "relative", width: "100%", height: "100vh" }}>7 <ParallaxDepthGallery8 items={[9 {10 id: "aurora",11 src: "/3d1.jpg",12 title: "Aurora",13 category: "Series 01",14 year: "2026",15 orientation: "landscape",16 description: "Light studies shot at the edge of the render, where the glass starts to bend.",17 },18 {19 id: "muse",20 src: "/girl.jpg",21 title: "Muse",22 category: "Portrait",23 year: "2025",24 orientation: "portrait",25 description: "A single window light, a long exposure and a lot of patience.",26 },27 {28 id: "monolith",29 src: "/3d2.jpg",30 title: "Monolith",31 category: "Studio",32 year: "2026",33 orientation: "square",34 description: "Form before function: a study in mass, edge and shadow.",35 },36 ]}37 textLayout="overlay"38 layoutStyle="center"39 parallaxSpeed={0.25}40 scrollDistortion={0.3}41 maxTiltAngle={8}42 cursorDamping={0.08}43 glassBorders44 />45 </div>46 );47}