01.14 · Scroll-Based
Horizontal Scroll
Scroll down and a row of panels slides sideways. Best for portfolios.
Scroll it
Scroll inside the box, or press Play and it scrolls for you.
The whole strip
Stacked ↑
Slides sideways ←
Scroll down ↓
The page moves on ↓
Inside, the map is the whole strip of five panels, the bright frame is the box, and the side bar is how far you scrolled. Scroll the box or press Play to watch.
Stacked scrolls its panels up the ordinary way; Slides sideways holds the box still and brings each panel in from the right as you scroll down. Scroll the box or press Play to watch.
Copy the prompt
Paste it into an AI assistant such as ChatGPT, Claude or Cursor to build this in your own project.
Add a horizontal scroll section to [the panels or projects you want to show]. Place the panels side by side in one long strip inside a section that is several screens tall. As the visitor scrolls down through that section, pin its inner frame in place and slide the strip to the left in step with the scroll, so scrolling down moves the panels sideways; once the last panel is in view, release the frame and let the page scroll on. Give the strip an explicit width so it can move. Keep the visitor's own scrolling, touch included, so scrolling back up slides the panels back. If the visitor has reduced motion turned on, keep the strip tied exactly to their scrolling, with no easing or snapping added.
Your settings
Replace the words in brackets with your own panels.
Free and open source. If this helped, a star on GitHub helps other people find it.
Star on GitHubWhat it is
The full explanation is in README.md.