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
VaultTextLetter Fade Reveal
Card Tunnel HeroBrowse all 182Circle Fill Button
  • 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

Letter Fade 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
  • SplitText

Setup

npm i gsapregisterPlugin(ScrollTrigger, SplitText)

More like this

  • Reveal
  • Stagger
  • Split text
  • ScrollTrigger

Features.

  • Letters fade in one at a time the first time each heading scrolls into view
  • Shuffled order by default; start, center and end give a sweep instead
  • Split into words first, then letters, so a line never breaks inside a word
  • Every heading inside the section has its own trigger and plays on its own
  • Plays once: scrolling back up leaves the text in place
  • The heading's total spread scales with its length (stagger × letter count), so long and short lines feel the same
  • Splits after fonts load, so letters measure against the real typeface
  • Respects prefers-reduced-motion: nothing is split and the text is just there
  • GSAP, ScrollTrigger and SplitText

How to get it right.

Keep it to big type

The effect reads at display sizes, where single letters are worth looking at. The headings are 6em (3em under 768px). At body sizes the fade is too small to notice.

Short lines

One sentence per heading. A heading of 30 to 40 letters plays in under a second with the defaults; a paragraph would take several.

Give it room to trigger

Each heading plays when its top passes 75% of the viewport (data-au-start). Sections at the very bottom of a page may never reach that line; lower the value, or give the page room after it.

Tune the spread, not the fade

data-au-stagger controls how long the whole heading takes to appear. data-au-duration is the fade of one letter. Raise the stagger for a slower reveal; keep the fade short so each letter still pops.

Variations.

  • Scatter — the default: data-au-order="random"
  • Sweep — data-au-order="start" for a left-to-right reveal, or end for right to left
  • Bloom — data-au-order="center": letters spread out from the middle
  • Slow burn — data-au-stagger="0.05" and data-au-duration="1"
  • Your colours — override --cha-bg and --cha-fg on the section

Where it fits.

  • Section openers — one big line that announces what's next
  • Manifesto pages — a few short statements in a row, each playing as it arrives
  • Case study pull quotes — a single sentence between image blocks
  • Footers — a sign-off line before the links

Frequently asked.

Yes. Add more [data-cha-text] headings inside the section. Each one plays on its own.

No. Each heading's trigger is set to once, so the text stays once it has appeared.

SplitText splits the heading into spans and keeps the full text readable by adding aria-label to the heading. Under reduced motion nothing is split at all.

Set font-size on .cha_heading, or on the section to scale the gaps and padding with it. Everything is in em.

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