Components / section

Horizontal Scroll

A pinned section where scrolling down slides a row of panels sideways.

Horizontal Scroll demo

Implementation

A pinned section where scrolling down slides a row of panels sideways.

Framework
React 19.3.1 with TypeScript
Motion
Native CSS and browser APIs. No GSAP required.
Available modes
build
Version
1.0.0 · published

Source code

Loading source…

Quality evidence

Export tested in 2 consumer projects with chromium, firefox, webkit. Evidence recorded on .

Changelog

v1.0.0 · A pinned section where scrolling down slides a row of panels sideways.

Frequently asked questions

What do visitors see without JavaScript or with reduced motion?

A normal row of panels that scrolls sideways by itself. The pinned behavior is added only when script runs and motion is allowed.

What if a link inside an off-screen panel gets keyboard focus?

The page scrolls to bring that panel into view, so focus is never lost off screen. Mark each panel with a data-panel attribute so it can be found.