Horizontal Rail
Scroll down, travel sideways: a pinned rail of panels with parallax.
About
A section that turns vertical scroll into a horizontal journey. It measures its own rail and sets its height to match, so the last panel lands flush as the section ends and the page carries on. Images marked data-parallax drift against the rail, the panels lean a few degrees when you scroll fast and settle when you stop, and a progress line with a 02 / 06 counter tracks where you are.
What you get
- Rebuild prompt
One paste into Claude Code, Cursor, Codex or v0 rebuilds it byte for byte.
- Source
HorizontalRail.tsx + HorizontalRail.css — plain React and CSS, every comment kept.
- Vite project
A ready-to-run project with this exact example and pinned versions — unzip, install, run.
More like this
All componentsAperture Zoom
ScrollA framed image that opens to full-bleed as you scroll, parting the headline.
Ink Reveal
ScrollA paragraph that fills in word by word as you scroll through it.
Stack Scroll
ScrollCards that pin and pile into a deck as you scroll.