
Company News
Andrew Becherer Joins Socket as Chief Information Security Officer
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.
@immersive-scroll/horizontal-scroll
Advanced tools
Scroll-driven horizontal scroll effect for immersive galleries.
A high-performance React component for creating horizontal scroll sections pinned to vertical viewport progress.
pnpm add @immersive-scroll/horizontal-scroll gsap
import { HorizontalScrollContainer } from '@immersive-scroll/horizontal-scroll';
export function ProductGallery() {
return (
<HorizontalScrollContainer scrub={1} pin={true} start="top top">
<div className="horizontal-track">
<ProductCard id={1} />
<ProductCard id={2} />
<ProductCard id={3} />
</div>
</HorizontalScrollContainer>
);
}
| Prop | Type | Default | Description |
|---|---|---|---|
children | React.ReactNode | Required | The content to be translated horizontally. |
className | string | '' | CSS class for the pinned container. |
trackClassName | string | '' | CSS class for the horizontal track. |
start | string | number | 'top top' | ScrollTrigger start position. |
scrub | boolean | number | 1 | Smoothness of the horizontal translation. |
pin | boolean | true | Whether to pin the container during horizontal traversal. |
Most horizontal scroll implementations rely on fragile CSS hacks or heavy intersection observer logic. @immersive-scroll/horizontal-scroll uses GSAP and ScrollTrigger under the hood to ensure:
will-change: transform and optimized GPU layers.FAQs
Scroll-driven horizontal scroll effect for immersive galleries.
We found that @immersive-scroll/horizontal-scroll demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.