masked-reveal

Animate word-by-word masked text reveals on scroll with GSAP ScrollTrigger.

4.5k|536|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/MengTo/Skills --skill masked-reveal
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: masked-reveal
Source: https://github.com/MengTo/Skills/tree/main/agent-skills/web-design/masked-reveal
Command: npx skills add https://github.com/MengTo/Skills --skill masked-reveal

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Masked staggered word reveals make headings and editorial copy feel premium without relying on paid text-splitting plugins or sacrificing spaces and accessibility.

Core Features & Use Cases

  • GSAP ScrollTrigger-based reveals: reveals each word as it enters the viewport using a masked overflow approach.
  • Non-SplitText implementation: preserves spaces and avoids the SplitText plugin by building word wrappers with HTML spans.
  • Accessibility + reduced-motion support: keeps screen readers accurate via aria-label and shows static text for users who prefer reduced motion.
  • Fit for web design motion systems: use for hero copy, section titles, and short labels in projects already using GSAP.

Quick Start

Apply the data-masked-reveal markup to your heading text and initialize the GSAP ScrollTrigger word reveal behavior with the provided initMaskedReveals call.

Frequently Asked Questions about masked-reveal

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create masked word-by-word text reveal animations on scroll?

Masked text reveal animations on scroll are created by splitting text into word wrappers with HTML spans and animating yPercent from an overflow mask using GSAP ScrollTrigger stagger. This approach avoids paid text-splitting plugins while preserving spaces.

Can I animate scroll-triggered text reveals without using the GSAP SplitText plugin?

You can animate scroll-triggered text reveals without the SplitText plugin by building word wrappers with HTML spans manually. This non-SplitText implementation preserves spaces and screen reader accessibility while achieving premium staggered headline motion.

Does GSAP ScrollTrigger respect prefers-reduced-motion for text animations?

GSAP ScrollTrigger text animations respect prefers-reduced-motion by showing static text for users who prefer reduced motion. The implementation keeps screen readers accurate via aria-label while hiding animated text until ready.

What is the best way to animate hero copy and section titles in a React web animation system?

The best way to animate hero copy and section titles in a React web animation system is using GSAP ScrollTrigger with a masked overflow approach. This provides SPA-safe cleanup and word-by-word reveals suitable for editorial snippets and UI motion systems.

How do I initialize scroll reveal behavior for masked text markup?

To initialize scroll reveal behavior, apply the data-masked-reveal markup to your heading text and call the provided initMaskedReveals function. This sets up the GSAP ScrollTrigger word reveal behavior for your web UI scenarios.