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
VaultTextStaircase Letter Pop
Curved Path TextBrowse all 182Push Aside Drawer
  • 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

Staircase Letter Pop

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

  • Reveal
  • Stagger
  • Split text
  • ScrollTrigger

Features.

  • Letters pop in strictly one after another as each word scrolls up into view
  • Each letter grows from its top-left corner and straightens out from a random tilt, with a small overshoot (back.out(1.7))
  • Scrubbed: scrolling back up pops the letters out again
  • Words set as a diagonal staircase, with tighter steps under 768px
  • Every word has its own trigger, so the lines pop in turn as they arrive
  • The type scales down with the viewport, so the staircase fits on phones
  • Respects prefers-reduced-motion: nothing is split and the words are just there
  • GSAP, ScrollTrigger and SplitText

How to get it right.

One word per line

Each line is set white-space: nowrap and the third step is indented 3.35em, so keep lines to a single word of about 11 letters or fewer.

Keep the tilt playful, not messy

15° reads as bouncy. Past 30° the letters land from all angles and the word is hard to read while it pops. data-au-tilt="0" gives a straight scale-up.

Let the scroll window breathe

Each word pops while its top travels from 80% to 60% of the viewport (data-au-start, data-au-end). A bigger gap spreads the letters over more scroll.

Variations.

  • Staircase — the default: three words, each stepped further right
  • Straight pop — data-au-tilt="0": letters scale up without turning
  • Wild — data-au-tilt="35"
  • Locked to scroll — data-au-scrub="0": no catch-up
  • Stacked — drop the ppt_line--second / ppt_line--third classes for a flush-left column
  • Your colours — override --ppt-bg and --ppt-fg on the section

Where it fits.

  • Playful section openers — a three-word line before a feature grid
  • Campaign pages — a short slogan that arrives word by word
  • Kids', food or events brands — where a bit of bounce suits the voice

Frequently asked.

Yes. Add more [data-ppt-line] headings. Only ppt_line--second and ppt_line--third have indents; add your own padding for a longer staircase.

Yes. Each letter's start angle is picked at random when the script splits the word.

SplitText adds the full word as aria-label on each heading and hides the letter spans.

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