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
VaultTextMasked Slide-Up Reveal
Slanted Wipe SliderBrowse all 182Expanding Bento Grid
  • 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

Masked Slide-Up 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.

  • Text slides up out of clipping line masks as it scrolls into view
  • Three types per element: letter by letter (chars), word by word (words) or line by line (lines)
  • Each type has its own rhythm: lines 0.8s / 0.08s apart, words 0.6s / 0.06s, letters 0.4s / 0.01s
  • Played once by default; add data-wcr-scrub to tie an element to the scroll, both ways
  • Text already in view when the page loads (a hero) plays straight away
  • Re-splits on width changes and font loads; finished reveals stay shown
  • One speed and ease for the whole section, with per-element start, end and stagger overrides
  • Respects prefers-reduced-motion: no split, the text is just there
  • GSAP, ScrollTrigger and SplitText

How to get it right.

Match the type to the text

Letters suit short, big headlines. Words suit paragraphs: they read as the eye moves. Lines suit long headings, where letters would take too long to finish.

Scrub one thing at most

A scrubbed reveal makes the reader do the work. One per page, on a short headline, feels deliberate; several feel like a chore.

Dim the body, light the key words

.wcr_copy sits at 40% (--wcr-dim) and .wcr_strong at full colour. As words rise, the bright phrases stand out.

Leave room under descenders

The masks add 0.06em at the bottom so g, p and y aren't clipped. Very tight line-heights can still clip them; keep 1 or more on headlines.

Lines, scrubbing and labels are optional

It ships with a letter-by-letter headline, a word-by-word paragraph and a line-by-line .wcr_headline--md. To follow the scroll, add data-wcr-scrub="1". .wcr_tag and .wcr_hint are styled for small lines above and below the text.

Variations.

  • Faster — data-au-speed="1.6" on the root
  • Springy — data-au-ease="back.out(1.6)": pieces overshoot and settle inside their masks
  • Late start — data-au-start="60": plays when the top reaches 60% of the viewport
  • Scrubbed paragraph — data-wcr-reveal="words" data-wcr-scrub="1" on a paragraph
  • Your colours — override --wcr-fg, --wcr-dim and --wcr-accent on .wcr_section

Where it fits.

  • Hero headlines — letters rising on load
  • Long reads — paragraphs that arrive word by word
  • Section titles — line by line as each chapter starts
  • Closing statements — a scrubbed line the reader pulls into place

Frequently asked.

Starts are clamped, so an element that's already past its start when the page loads would never fire. The script spots that and plays it straight away.

One-shot reveals play once and stay shown, even after a re-split. Scrubbed ones follow the scroll both ways.

The text stays in the page as text. SplitText adds aria-labels to split elements so screen readers read whole words, and under reduced motion nothing is split.

Yes. Each [data-wcr-reveal] element sets its own type and can override the start, end and stagger.

Related components.

Pro

Multi-Cursor Typing

Load

Pro

Scroll-Lit Word List

Scroll

Pro

Glitch Wipe Reveal

Scroll