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
VaultScrollPinned Wipe Steps
Sliding Step FormBrowse all 182Drop-In Photo 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

Pinned Wipe Steps

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
  • Reveal
  • Wipe
  • Split text
  • ScrollTrigger
  • Sticky

Features.

  • A full-screen stage sticks while you scroll through one screen per step
  • The next step's background and the centred 3:4 card wipe open together, top to bottom, from one shared scroll value
  • Each new step rolls its title in letter by letter, rolls a two-digit number to the step and swaps the note line by line
  • The text changes at 75% of a wipe going down and 25% going back up, so it never flickers near a boundary
  • A hairline along the top fills with progress through the whole track
  • Each picture is both its step's background (zoomed 1.1 and dimmed) and its card
  • Phones keep the same choreography with the title, number and notes moved round the card
  • Respects prefers-reduced-motion: the wipe follows the scroll with no lag and the text changes instantly

How to get it right.

Use portrait pictures with room at the top

The card is 3:4 and the background crops the same picture to the screen, aimed at 30% from the top. Portraits with the subject in the upper half read best in both.

Keep titles short

Titles sit in one column per step across the top (on phones they stack in one spot). One short word per step fits at 3em.

Keep notes short

Notes sit bottom right, 21.25em wide, and their lines swap one by one. A line or two keeps the swap quick. The script needs one note per step, so keep them even when they're brief.

Check the contrast

A scrim darkens the top and bottom of the stage, and --swp-dim dims the background (0.65 by default). With very light pictures, lower --swp-dim or strengthen --swp-scrim-top / --swp-scrim-bottom.

Variations.

  • Locked to scroll — data-au-scrub="0"
  • Brighter backdrop — --swp-dim: 0.85
  • Three or six steps — add or remove a plate, card, title and note for each; the track height follows
  • Your palette — override --swp-bg, --swp-fg, --swp-fg-2, --swp-line and --swp-card on the track

Where it fits.

  • Process stories — sketch to finished piece
  • Lookbooks — one look per step
  • Product tours — one feature per screen with its own picture
  • Case studies — before, during, after

Frequently asked.

Two up to six as shipped: the CSS stacks plates and places title columns for six. For more, add nth-child rules for .swp_plate z-index and .swp_title columns.

One screen per step plus one more, so the last step can settle before the stage lets go. The script writes --swp-steps from the number of plates.

On purpose. The wipe follows the scroll; the text only changes once a wipe is three quarters done (a quarter, scrolling back), so it doesn't flicker when you stop near a boundary.

Yes. The plates in .swp_plates are the backgrounds and the plates in .swp_card are the cards; give them different src values, keeping one of each per step.

No. It scrubs on scroll position, so it works with native scrolling and with any smooth-scroll library that updates ScrollTrigger.

Related components.

NewPro

Arc Collage Hero

Scroll

Pro

Rising Card on Scroll

Scroll

Pro

Outline Paint Reveal

Scroll