Frontend & UI

Masked Reveal

Reveal headlines word by word through an overflow mask on scroll.

What it is

A GSAP ScrollTrigger pattern that splits a heading into masked word spans and staggers them upward as the text enters the viewport. Includes a React cleanup pattern.

Create masked staggered word reveals on scroll with GSAP ScrollTrigger. Use when headings, hero copy, section titles, or editorial text should reveal word-by-word through an overflow mask as they enter the viewport.
From the upstream SKILL.md

Why it matters for design

  • Word-level stagger reads calmer and more editorial than letter-level animation.
  • Screen readers still get the full text through an aria-label.
  • Reduced-motion users see static text with no transform applied.

What it covers

  • Use when
  • Motion defaults
  • CSS mask
  • GSAP ScrollTrigger
  • React cleanup pattern
  • Quick checks

How to install

Masked Reveal

  1. Clone the repo.

    git clone https://github.com/MengTo/Skills
  2. Point Codex at the skill file.

    agent-skills/web-design/masked-reveal/SKILL.md
  3. Then describe the UI you want. Codex follows the skill.

How to run it with Codex

  1. Mark a heading with data-masked-reveal and add the CSS mask rules.

  2. Call the split helper, which avoids the paid SplitText plugin.

  3. Wrap in a GSAP context in React so ScrollTrigger cleans up on route change.

Every plugin here is free, open source, and links to its real upstream source.

More on the codex-design list ↗

Next step

Design with NEXGERCORE, without the setup

Install this plugin yourself, or run a whole curated design layer around Codex with NEXGERCORE. Bring your own key, own your output.

NEXGERCORE เดสก์ท็อป

ดีไซน์ซิสเต็มเดียว ทุกงานที่ออกมาคือแบรนด์ของคุณ

ใน NEXGERCORE IDE ฉบับเต็ม ใช้กฎแบรนด์ชุดเดียวกันได้ทั้งเว็บไซต์ สไลด์ โปรโตไทป์ที่กดเล่นได้ แดชบอร์ด รูปภาพ และวิดีโอ HTML เชื่อม Codex, Claude Code, Cursor และ coding agent ตัวอื่นที่มีอยู่ในเครื่องคุณแล้ว จากนั้นสร้างงานในเครื่องได้ฟรี

  • เว็บ สไลด์ โปรโตไทป์ แดชบอร์ด รูปภาพ และวิดีโอ
  • ดีไซน์ซิสเต็มกว่า 140 ชุด พร้อมคลังเทมเพลตและสกิลครบ
  • เชื่อม Codex ในเครื่องและ coding agent อีกกว่า 21 ตัว · ใช้ฟรี
ดาวน์โหลดฟรี

รองรับ macOS, Windows และ Linux