Loading
Loading
Loading
mobile footer

Build the Interaction Layer Your Website is Missing.

Browse All EffectsBrowse All EffectsBrowse All EffectsUpgrade to ProUpgrade to ProUpgrade to Pro

70+ effects free, forever. No credit card.

© 2026 Hyperiux. All Rights Reserved.

AI Component CatalogueHey AI, Learn About Us
Platform

Vault

  • Documentation
  • Pricing
  • Blog
  • Community
  • NPM
  • MCP

Categories

  • All Effects
  • WebGL
  • Text
  • Backgrounds
  • Buttons
  • Carousels
  • Scroll
  • Components
  • Navigation
  • Cursor
  • Transitions
  • Loaders

Documents

  • Introduction
  • Installation
  • CLI
  • Dependencies
  • License

Legal

  • License Agreement
  • Terms of Service
  • Privacy Policy
  • Refund Policy
Socials
  • Twitter / X
  • LinkedIn
  • GitHub
  • Instagram
Contact Us
  • hello@hyperiux.com
New effects, in your inbox

Every new drop, plus the occasional behind-the-scenes build. No spam. Unsubscribe anytime.

All Effects
Featured ComponentsText AnimationsAnimated BackgroundsAnimated ButtonsCarousel EffectsScroll EffectsCreative ComponentsNavigationsCursor EffectsTransitionsLoadersWebGL & 3D Effects
Templates
IntroductionInstallationCLIDependenciesLicense
PricingBlogGithubNPMMCP Doc
Loading
Home/effects/Mask Text Reveal

Mask Text Reveal

A clean masked text reveal that wipes real DOM text into view line by line for SaaS headlines, section intros, and polished landing-page copy.

GSAP
DemoDemoDemo

Tune the Real Props

Text Color

Text color. Unset inherits from the surrounding text.

Overview

Mask Text Reveal helps important words arrive with intent: each line is wiped in through a soft, angled mask.

Reach for it on headlines, launch claims, section openers, and one-line proof. Keep it away from body copy, error messages, legal text, and instructions, where reading has to be effortless.

The risk in production is that the words get lost in the motion. The resolved phrase has to be real DOM text, the animation must not spell itself out to a screen reader, and a reduced-motion visitor should get the final, readable text with a simple fade.


Usage Code

page
1import MaskTextReveal from "@/components/effects/mask-text-reveal";2 3const page = () => {4  return (5    <>6    <MaskTextReveal scrub={false} className="w-full ">7    <h1 className="w-full max-w-6xl text-[clamp(3.5rem,8vw,8.5rem)] font-black uppercase leading-[0.82] text-[#111111] max-md:text-[clamp(3.2rem,9vw,6.5rem)] max-md:leading-[0.84] max-sm:text-[3.25rem] max-sm:leading-[0.86]">8      Pull the words from the noise.9    </h1>10  </MaskTextReveal>11</>12  )13}

Example Production Use Case

A B2B fintech homepage can use Mask Text Reveal for its hero headline and the short intros above each feature section. Each line is wiped into view through a soft, angled mask, one after another, so a two or three line claim arrives in a controlled order.

The outcome is clarity. The motion feels clean and finished rather than playful, which suits a product that has to earn trust, and the headline settles into ordinary text that stays readable and indexable.


Best Used For

  • Polished SaaS headlines and section intros that need controlled line-by-line emphasis.
  • Short copy blocks where the reveal should feel clean, not noisy.
  • Mask Text Reveal makes a short phrase arrive with timing while keeping the final text readable and indexable.

Not For

Not for body text, labels, errors, legal copy, or anything a user must read right away.


Performance Budget

Limit motion to the phrase that earns it, hold its layout space ahead of time, and keep heavy filters off large blocks of text.


Accessibility and Mobile

Make the whole phrase available to assistive technology a single time; the text is split into line wrappers only, and the component keeps those lines readable rather than hiding them.


Common Mistakes

  • Using Mask Text Reveal on long body copy.
  • Removing the readable text from the DOM.
  • Letting split text cause layout shift.

Changelog

Added reduced motion support.
Initial release

API Reference

PropTypeDefaultDescription
staggernumber0.2Delay between animated lines.
durationnumber5.5Mask reveal duration.
delaynumber0Animation delay.
maskAnglenumber150Angle of the wipe in degrees.
maskSoftnessnumber33.3Softness of the wipe's edge, as a % of the gradient (0 = hard edge).
textColorstring#ffffffText color. Unset inherits from the surrounding text.

Questions, Answered.

When should I use Mask Text Reveal?

Use it when a polished SaaS section needs lines wiping in through a clean, angled mask.

How do I keep Mask Text Reveal accessible?

Ship the final phrase in the DOM and surface it a single time, hiding duplicated animated fragments from assistive technology where needed.

Does Mask Text Reveal affect SEO?

Not when the final text ships as real HTML rather than living inside canvas or client-only animation.

How do I avoid layout shift with Mask Text Reveal?

Pre-reserve the final text's space so line breaks stay put across breakpoints.

What should reduced motion do for Mask Text Reveal?

The component skips the mask wipe and fades the settled, legible text in as one block, with no scrambling, staggering, or looping.

Request a Custom Animation

Need a custom effect? Tell us what to create.

Related Effects

Explore All EffectsExplore All EffectsExplore All Effects
Blur Text
Pro
Motion

Blur Text

Text

Circle Text Reveal
Pro
Motion

Circle Text Reveal

Text

Glitchy Text
Pro
GSAP

Glitchy Text

Text

Overflow Text Reveal
Pro
GSAP

Overflow Text Reveal

Text