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
VaultTextStaggered Line Reveal
Letter Wave TextBrowse all 182Split-Flap Board
  • 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

Staggered Line Reveal

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

Setup

npm i gsapregisterPlugin(ScrollTrigger)

More like this

  • Reveal
  • Stagger
  • ScrollTrigger

Features.

  • Big words on their own lines, set at staggered indents so the block reads like a poster
  • Each line fades in while sliding home, one after another, the first time its block scrolls into view
  • One block per screen; add or remove panels freely
  • Slides in from the right by default; left, bottom and top too
  • Plays once: scrolling back up leaves the lines in place
  • The section clips its overflow, so lines starting off to the side never cause a sideways scroll
  • No text splitting: each line is your own element, so the copy stays exactly as written
  • Respects prefers-reduced-motion: the lines are just there
  • GSAP and ScrollTrigger only

How to get it right.

One or two words per line

The lines are 6em (3em under 768px) and never wrap by design. Short lines keep the indents readable and the motion clean.

Mix the indents

.sst_line--in, .sst_line--back and .sst_line--far push a line left or right of centre. Alternate them so the eye zig-zags down the block; a line without a modifier sits centred.

Keep the travel short

40px reads as a confident slide. Past 100px the lines start to feel like they're arriving from off screen, and the first ones are still moving when the last appear.

Let the stagger carry it

data-au-stagger sets the rhythm between lines. 0.15s with four lines plays in about a second; slow it down for fewer, bigger lines.

Variations.

  • From the right — the default
  • From below — data-au-from="bottom" for a classic rise
  • Long slide — data-au-distance="120" and data-au-duration="1"
  • All at once — data-au-stagger="0"
  • Your colours — override --sst-bg and --sst-fg on the section

Where it fits.

  • Section breaks — a short statement between two content blocks
  • Hero follow-ups — the line that comes right after the fold
  • Manifestos — a few words per line, set like a poster
  • Event or campaign pages — the date, the place, the name

Frequently asked.

Yes. Add or remove [data-sst-line] elements; they animate in document order.

Use the three modifiers, or set your own padding-left / padding-right on a line. Indents are in em of the line, so they scale with the type.

No. The trigger is set to once, so the lines stay put after they've arrived.

The lines start off to one side. Without the clip, the start offset could make the page scroll sideways on narrow screens.

Yes. With Lenis, update ScrollTrigger on Lenis's scroll event, as you would for any ScrollTrigger.

Related components.

Pro

Multi-Cursor Typing

Load

Pro

Scroll-Lit Word List

Scroll

Pro

Glitch Wipe Reveal

Scroll