Grids & Galleries
Vertically stacked rounded image panels with a gentle scroll-parallax on each. Optional bottom-left caption. Editorial pacing, generous whitespace, portrait-friendly aspect. Ideal for editorial features, case studies, and long-form article galleries.
Live preview
No extra dependencies. React 18+ and Tailwind CSS v3+ assumed. Save as VerticalPortraitParallaxGallery.tsx.
Paste the prompt into the tool you already use. Each version is written specifically for that tool, matched to the same design constraints so the output stays consistent.
Build components/VerticalPortraitParallaxGallery.tsx. Section bg-black. Inner max-w-[900px] py-16-24 flex flex-col gap-6-8. Renders Panel components. Each Panel: relative aspect-[16/10] rounded-2xl overflow-hidden bg-[#111]. Inside: absolute inset-0 img with object-cover scale-1.15. rAF+lerp reads panel getBoundingClientRect: p = (rect.top + rect.height/2 - vh/2) / vh, clamped [-0.5, 0.5]. Each tick: img.style.transform = translateY(current * 12%) scale(1.15). If caption present: bottom-only linear-gradient rgba(0,0,0,0.55) to 0 (h-45%) + p absolute bottom-4-6 left-4-6 (11-12px medium white/85). Props: panels {image, caption?}[]. Single default export.Grids & Galleries
Masonry Image Grid (Pinterest-Style Multi-Column Gallery)
Pinterest-style masonry image grid for React portfolio pages and gallery landing sections.
Grids & Galleries
Tilted Card Fan Gallery (Hover to Lift)
Tilted card fan React gallery hero with hover-to-lift interaction, 4-6 image cards fanned out.
Grids & Galleries
Bento Grid Feature Section (Vercel-Style Landing)
Vercel-style bento grid feature section for React landing pages, varied card sizes with clean spacing.
Copy the source file from the "Copy code" button and save it into your components folder. Add any listed dependencies (React 18 or later and Tailwind CSS v3 or later are always required, plus framer-motion or gradflow if the component lists them). Import and render the component wherever you want it. Every prop is optional and defaulted.
Yes. Every component takes props for its content (headline, subtitle, image URL, CTA, and so on) and uses Tailwind classes throughout, so you can restyle without touching the logic. For deeper design changes, paste the prompt into Claude Code, Cursor, Lovable, Replit, or Codex and describe your brand tokens, spacing, or motion tweaks.
Yes. Everything on this page is free to copy, adapt, and ship in commercial projects. No attribution required. If you post a public showcase we always appreciate a link back.
All five prompts produce the same design. Claude Code and Codex are best when you want the component slotted into a project with existing conventions. Cursor is ideal for editing inside your IDE with the file open. Lovable and Replit spin up a fresh preview fastest, useful for a quick play.
Yes. The source files are plain React 18 client components. They run on any framework that supports React 18 and Tailwind CSS v3. If a component needs the "use client" directive (all of them do here, since they use hooks), keep the directive at the top of the file when you paste.