Platform
VaultVault
  • Free15
  • Navigation19
  • Buttons9
  • Scroll55
  • Text27
  • Sliders & marquees19
  • Gallery & images67
  • Cursor24
  • Page transitions10
  • Loaders2
  • Backgrounds10
  • UI components33
ButtonsPart of ProButtons
IconsPart of ProIcons
  • Interface Essentials144
  • Social Icons69
  • Payment Badges41
SavedPart of ProSaved
Support
DocumentationDocumentation
MCP serverMCP server
SettingsSettings
VaultScrollImage Trail Takeover
Growing Tile on ScrollBrowse all 182File Drawer Cards
  • Free15
  • Navigation19
  • Buttons9
  • Scroll55
  • Text27
  • Sliders & marquees19
  • Gallery & images67
  • Cursor24
  • Page transitions10
  • Loaders2
  • Backgrounds10
  • UI components33
  • Interface Essentials144
  • Social Icons69
  • Payment Badges41
Sign inSign in

Start free. The code for 15 components, no card needed.

Get 15 free

Image Trail Takeover

This one is locked. Become a member to open the code for it and the rest of the Vault.

See plansTry the 15 free ones

What you'll need.

Install

  • gsap
  • ScrollTrigger
  • SplitText

Setup

npm i gsapregisterPlugin(ScrollTrigger, SplitText)

More like this

  • Pinned
  • Section transition
  • Reveal
  • Expand
  • Stagger
  • Split text
  • ScrollTrigger
  • Parallax
  • Sticky

Features.

  • Pictures and colour blocks pop in one by one along a falling curve
  • The whole trail drifts down the curve as you scroll
  • One picture stops with the screen, opens up to full screen and becomes the next section
  • The next section's heading rises in word by word at the hand-over
  • Its picture keeps drifting and zooming while the section holds
  • Separate places for the pieces on phones
  • Respects prefers-reduced-motion: the trail sits still and the next section follows

How to get it right.

Use one picture three times

The slot, the growing pane and the next section all show the same picture. Change all three src values together, or the hand-over shows.

Pick a picture that crops both ways

The growing picture starts as a small upright box and ends as the whole screen, zoomed 1.2×. Keep the subject near the middle.

Keep the pieces in pop order

The pieces pop in the order they appear in the markup, and each takes its direction from its place in that order. Top right first, bottom left last.

Give it something to start from

The trail pulls 5em up into the section before it and its first pieces sit above its top edge. It wants a section above, not the top of the page.

Check the heading against the picture

The heading sits bottom left on the photograph over a scrim. With a pale picture, strengthen --trt-scrim.

Variations.

  • Pieces arrive together — data-au-stagger="0.15"; "0.9" strings them out
  • A longer pop — data-au-pop="0.3"; "0" scales in on the spot
  • A still trail — data-au-drift="0"
  • Looser follow — data-au-scrub="0.8"
  • A shorter next section — --trt-scene: 200vh
  • A still picture — data-au-parallax="false"
  • A paragraph — add <p class="trt_text" data-trt-say="lines">…</p> under the heading; its lines rise in after the words
  • On a light page — set --trt-bg and remove mix-blend-mode: lighten from .trt_item
  • Other block colours — --trt-orange, --trt-soft, --trt-cream, --trt-muted
  • Your own scatter — move pieces with --trt-x, --trt-y and --trt-w on each one

Where it fits.

  • Landing pages — a gallery teaser that opens into a feature section
  • Case studies — a scatter of stills into the hero shot
  • Editorial — a chapter break

Frequently asked.

No. It runs on native scroll, and with Lenis once Lenis updates ScrollTrigger.

Yes. Any number of [data-trt-item] pieces works, with exactly one [data-trt-slot] among them. Give each its width, place and ratio inline.

Pieces with trt_item--wide are hidden under 768px so the trail stays readable. Remove the class and add --trt-m-w, --trt-m-x and --trt-m-y to show one.

Yes. Edit the d of [data-trt-path]. It is never drawn; the pieces only read its direction, and its box sets the height of the field.

Related components.

NewPro

Arc Collage Hero

Scroll

Pro

Rising Card on Scroll

Scroll

Pro

Outline Paint Reveal

Scroll