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 Open Design, without the setup

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

Open Design Desktop

One design system. Every output unmistakably your brand

Inside the full Vibe Design Workspace, use the same brand rules across websites, slide decks, interactive prototypes, dashboards, images, and HTML video. Connect Codex, Claude Code, Cursor, and other coding agents already on your computer, then create locally for free.

  • Web, slides, prototypes, dashboards, images, and video
  • 140+ design systems, plus the full template and skill library
  • Connect local Codex and 21+ coding agents · Free to use
Download free

Available for macOS, Windows, and Linux