Menu

1 / 5

How I built a 3D scroll portfolio with Astro, React Three Fiber, GSAP and Lenis

DEV Community: astro·nishar multani·10 days ago
#zua6XBoB
#devtoastro#devto#dev#scroll#every
Long article (882 words) — no AI summary yet.
Reading 0:00
15s threshold

I'm a product designer, and my portfolio is the one project where nobody can tell me what to cut. So I built it as a scroll experience: a hero that morphs into a 3D screen, a cube that turns between case studies, an About card hanging on ropes that you can tilt, drag and stretch, and a work grid you can throw around.

Live: nishar.xyz

It is built with Astro for the pages, React islands with React Three Fiber and Three.js for the 3D, GSAP (ScrollTrigger, Draggable, Inertia) and Lenis for motion, and Tailwind for layout. It is hosted on Cloudflare Pages. I designed it in Figma first, then built it with AI-assisted development (Claude Code, Codex and Cursor) so I could test how it felt in the browser instead of guessing from a prototype.

Making it look right was the easy part. Making it feel right at 60 fps took much longer. These are the problems that cost me the most time.

1.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.