60+ GSAP ScrollTrigger Examples
Take full control of scroll-based interactivity with GSAP ScrollTrigger. This collection showcases advanced scroll animations including pinning elements, syncing timelines with scroll, horizontal scroll effects, and animated reveals - all powered by the precision and flexibility of GSAP.
Examples

Interactive Cicada Genomics Landing Page
This immersive landing page uses an intricate sequence of vector animations and responsive viewport styling to tell a visual story. Built on top of GSAP ScrollTrigger and MotionPathPlugin, it transitions users through interactive text slides and morphs a tree diagram into organic butterfly wings. Smooth motion path travels, audio ambiance, and SVG stroke-drawing create a highly tailored cinematic web experience. (Requires: gsap.js, observer.js, splittext.js, drawsvgplugin.js, motionpathplugin.js, scrolltrigger.js, customease.js)
See the Pen Interactive Cicada Genomics Landing Page.

Scroll-Driven SVG Map Editorial Gallery
This cinematic travel presentation combines scroll-driven vector mapping and nested photographic galleries. Built with GSAP ScrollTrigger and the Intersection Observer API, scrolling initiates a staged intro: the title fades, a detailed SVG map draws its borders, and a specific province highlights. Concurrently, a three-column image grid slides up, transitioning smoothly from greyscale to full color. (Requires: gsap.js, scroll-trigger.js, images-loaded.js)
See the Pen Scroll-Driven SVG Map Editorial Gallery.

Sci-Fi Gravity Simulation Dashboard
An interactive sci-fi dashboard demonstrating variable physics and dynamic UI synchronization. Powered by GSAP and Draggable plugins, users can manipulate gravity parameters through either a rotary SVG dial or a vertical linear range slider. Adjusting the inputs scales the bouncing ball simulation’s trajectory height and speed in real-time, while simultaneously morphing variable font weights and HUD color gradients. (Requires: gsap.js, scroll-trigger.js, draggable.js)
See the Pen Sci-Fi Gravity Simulation Dashboard.

Scroll-Driven Godzilla Walk-and-Destroy Animation
An interactive scroll-driven showcase featuring Godzilla walking across a detailed scenic skyline. Scrolling horizontally advances the sprite along an SVG vector path using GSAP MotionPath and ScrollTrigger, adjusting container offsets to dynamically re-center the camera viewpoint. Features vintage film grain dust loops, click-to-destroy targets, and explosive debris particles. (Requires: gsap.js, scrollTrigger.js)
See the Pen Scroll-Driven Godzilla Walk-and-Destroy Animation.

Seamless Infinite Scroll 3D Carousel
An advanced infinite loop carousel engineered with GSAP, ScrollTrigger, and Draggable. By binding a proxy playhead to window scrolls and pointer drag deltas, cards move smoothly across a custom scaling path. A specialized timeline looping mathematical function builds overlapping clones, ensuring a zero-gap continuous navigation experience. (Requires: gsap.js, scroll-trigger.js, draggable.js)
See the Pen Seamless Infinite Scroll 3D Carousel.

Scroll-Driven macOS iOS Dock Concept
Pure CSS Scroll-Driven macOS iOS Dock recreates Apple’s legendary dock using the native CSS Scroll-Driven Animations API. Icons dynamically scale, blur, and shift depth completely without JavaScript. Utilizing @supports (animation-timeline: scroll()), the layout safely handles horizontal and vertical snaps. A zero-dependency, ultra-lightweight demonstrator of modern CSS capabilities. (Requires: gsap.js, scroll-trigger.js)
See the Pen Scroll-Driven macOS iOS Dock Concept.

Smooth Parallax Image Scroll Gallery
This is a Smooth Parallax Image Scroll Gallery. It translates vertical scroll progression into independent Y-axis movement for masked images. Its function is to create a sense of depth and momentum, elevating standard vertical feeds into immersive visual narratives. (Requires: gsap-js, scroll-trigger-js, lenis-js)
See the Pen Smooth Parallax Image Scroll Gallery.

Staggered Text Scroll Reveal
This is a Staggered Text Scroll Reveal. It parses structural typography into independent animated lines. Its function is to pace the reader’s attention, transforming static paragraphs into dynamic narrative elements triggered by viewport intersection. (Requires: gsap-js, scroll-trigger-js, lenis-js, split-type)
See the Pen Staggered Text Scroll Reveal.

GSAP ScrollTrigger List Expansion
This snippet showcases a GSAP ScrollTrigger List Expansion effect. It mimics the native iOS “Notification Center” or “Wallet” card stack behavior. Its function is to condense a long list of items into a compact, layered visual stack, and then fluidly expand them into full, scrollable cards as the user scrolls down the container, creating a highly tactile mobile UI experience. (Requires: GSAP, ScrollTrigger)
See the Pen GSAP ScrollTrigger List Expansion.

Lenis Smooth Scroll & GSAP Page
This is a Lenis Smooth Scroll & GSAP Page. It transforms a standard one-page website into a high-end, cinematic scrolling experience. Its function is to provide an exceptionally fluid and responsive interface by replacing native “jumpy” browser scrolling with the physics-based smoothness of Lenis, while using GSAP’s ScrollTrigger to orchestrate a series of staggered animations that reveal content as the user navigates down the page. (Requires: GSAP, Lenis, ScrollTrigger)
See the Pen Lenis Smooth Scroll & GSAP Page.

Lenis Smooth Scroll Cinematic Experience
This is a Lenis Smooth Scroll Cinematic Experience. It transforms a standard single-page portfolio or narrative website into an immersive, high-end digital journey. Its primary function is to replace jarring browser scrolling with the fluid, physics-based motion of Lenis, while using GSAP’s ScrollTrigger plugin to orchestrate a complex sequence of cinematic animations, including a “film roll” header, an expanding video player, and a dramatic footer reveal. (Requires: Lenis, GSAP, ScrollTrigger)
See the Pen Lenis Smooth Scroll Cinematic Experience.

Smooth Scroll Stacking Accordion
This is a Smooth Scroll Stacking Accordion. It replaces standard click-to-open accordions with a scroll-driven interaction. Its function is to pin a section of content and compress multiple information cards into a stacked deck as the user scrolls down the page. (Requires: GSAP, ScrollTrigger, ScrollSmoother)
See the Pen Smooth Scroll Stacking Accordion.

Scroll-Driven Dynamic Marquee Frame
This is a Scroll-Driven Dynamic Marquee Frame. It creates a continuous perimeter ticker that bounds the viewport. Its function is to provide persistent context by reflecting the currently active section’s title. It transforms static reading into a reactive environment, updating both edge typography and core background colors as the user scrolls. (Requires: gsap.js, scroll-trigger.js)
See the Pen Scroll-Driven Dynamic Marquee Frame.

Pinned Split-Screen Mask Reveal
Pinned Split-Screen Mask Reveal is a high-performance scroll-driven layout. It synchronizes fixed image stacks with flowing text content. This element creates a cinematic transition where images are “unmasked” as the user progresses through sections. It is designed to bridge the gap between static information and immersive visual storytelling. (Requires: gsap-js, scroll-trigger-js, lenis-js)
See the Pen Pinned Split-Screen Mask Reveal.

GSAP Staggered Blinds Reveal
This GSAP Staggered Blinds Reveal creates a cinematic transition effect often used in hero sections or between major content blocks. By manipulating a series of div elements acting as “slats,” the animation mimics a zipper or venetian blinds opening. As the user scrolls, the slats slide away and rotate sequentially, revealing the content underneath (or changing the state) in a synchronized wave motion. (Requires: GSAP, GSAP ScrollTrigger)
See the Pen GSAP Staggered Blinds Reveal.

Parallax Jungle Leaves Reveal
This Parallax Jungle Leaves Reveal creates a cinematic opening for a landing page. As the user scrolls, dense layers of tropical SVG leaves part ways - some moving left, some right - while smaller leaves float randomly in the background. The effect culminates in the reveal of a typography-based logo, creating a sense of depth and discovery perfect for storytelling or adventure-themed websites. (Requires: GSAP, ScrollTrigger (GSAP))
See the Pen Parallax Jungle Leaves Reveal.

Scroll-Triggered Text Highlights
This Scroll-Triggered Text Highlight effect mimics the experience of marking important passages with a highlighter pen as you read. Using GSAP ScrollTrigger, the highlights animate seamlessly from left to right exactly when the text enters the reader’s viewport. The component offers multiple visual styles (full background, half-height, or underline) and fully supports dark mode, making it an excellent addition to long-form articles, documentation, or educational content. (Requires: GSAP, ScrollTrigger (GSAP))
See the Pen Scroll-Triggered Text Highlights.

3D Rotating iOS Time Picker
This 3D Rotating iOS Time Picker recreates the tactile feel of native mobile controls on the web. It features three independently rotating wheels (Hours, Minutes, Meridiem) that snap into place with satisfying physics. The component leverages the cutting-edge Scroll-driven Animations API for buttery-smooth performance on supported browsers, while seamlessly falling back to GSAP for others. The 3D perspective creates a “drum” effect where numbers fade and rotate away as they leave the center view. (Requires: GSAP, Draggable, InertiaPlugin, Tweakpane)
See the Pen 3D Rotating iOS Time Picker.

Scroll-Driven Image Swapper
This Scroll-Driven Image Swapper demonstrates the bleeding edge of web animation. It uses the native CSS Scroll-driven Animations API to create a complex parallax-like effect where two columns of different heights scroll in sync. As you scroll, the images in the shorter column slide and crossfade to match the context of the taller column. Crucially, the code implements a Progressive Enhancement strategy: it checks for native browser support and falls back to GSAP ScrollTrigger for browsers that haven’t implemented the spec yet. (Requires: GSAP, ScrollTrigger)
See the Pen Scroll-Driven Image Swapper.

Smooth Parallax Scroll Layout
This GSAP ScrollSmoother Parallax Gallery represents a high-end implementation of scroll-based storytelling suitable for portfolios or luxury brand landing pages. It leverages the full power of the GreenSock ecosystem - specifically the premium ScrollSmoother and SplitText plugins - to create a “buttery” smooth scroll experience where content reveals itself with elegant, staggered animations and depth-inducing parallax. (Requires: GSAP, ScrollTrigger, ScrollToPlugin, SplitText, ScrollSmoother)
See the Pen Smooth Parallax Scroll Layout.

10 Simple Yet Cool Popular Effects in Modern UI
A comprehensive showcase of modern UI trends implemented as a scrollytelling landing page. It leverages GSAP ScrollTrigger for complex animations like horizontal scrolling and pinning, while vanilla JavaScript handles a custom cursor, dynamic loading, and parallax-like effects, all wrapped in a bold, monochrome aesthetic using CSS mix-blend-mode.
See the Pen 10 Simple Yet Cool Popular Effects in Modern UI.

Let's Move! GSAP Infinite Horizontal Scroll
An infinite 3D card carousel powered by GSAP ScrollTrigger.
See the Pen Let's Move! GSAP Infinite Horizontal Scroll.

Perspective Zoom Effect on Scroll
An immersive scrolling experience where the user flies through a cloud of photos that smoothly approach and fade away, revealing an elegantly emerging text.
See the Pen Perspective Zoom Effect on Scroll.

Scroll-Triggered Image Stack with Gradient Mask Reveal
As the user scrolls down, images transition not by simple sliding or fading, but through a complex diagonal “wiping” animation controlled by dynamic gradients, all while the text content remains fixed over the changing background.

On-Scroll Fire (Three.js + GSAP)
A stylized, “digital” flame that evolves over time but obediently transforms (fades or flares up, changes geometry) in response to user interaction (scrolling).
See the Pen On-Scroll Fire (Three.js + GSAP).

Oreo, Smash, Donuts, etc.
A suite of volumetric typographic experiments where depth is simulated by stacking multiple DOM layers along the Z-axis using transform-style: preserve-3d.
See the Pen Oreo, Smash, Donuts, etc..

GSAP ScrollSmoother and Three.js
An immersive scrolling experience blending smooth typography with a floating 3D particle field powered by Three.js. GSAP orchestrates the camera movement and dynamic text highlighting, creating a synchronized parallax journey.
See the Pen GSAP ScrollSmoother and Three.js.

Scroll UI Animation
As you scroll down, a large image of a field shrinks and gets cropped by white blocks to focus attention, while a heading on the left counts up the percentage of water saved, changing color for emphasis. This creates the feel of a dynamic infographic.
See the Pen Scroll UI Animation.

Smooth Scrolling with GSAP ScrollSmoother
A premium smooth-scrolling interface orchestrated by GSAP’s ScrollSmoother plugin. The layout leverages CSS Grid for overlapping compositions, while declarative data-speed attributes drive distinct parallax velocities for text and imagery, creating a layered, depth-rich browsing experience.
See the Pen Smooth Scrolling with GSAP ScrollSmoother.

Scrollable Timeline with Animated Year Counter and Media
An elegant, kinetic, presentation-like website that uses scrolling to drive deep, layered animation and audio feedback.