
Blur Text
Text
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.
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.
import MaskTextReveal from "@/components/effects/mask-text-reveal"; const page = () => { return ( <> <MaskTextReveal scrub={false} className="w-full "> <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]"> Pull the words from the noise. </h1> </MaskTextReveal></> )}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.
Not for body text, labels, errors, legal copy, or anything a user must read right away.
Limit motion to the phrase that earns it, hold its layout space ahead of time, and keep heavy filters off large blocks of text.
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.
| Prop | Type | Default | Description |
|---|---|---|---|
stagger | number | 0.2 | Delay between animated lines. |
duration | number | 5.5 | Mask reveal duration. |
delay | number | 0 | Animation delay. |
maskAngle | number | 150 | Angle of the wipe in degrees. |
maskSoftness | number | 33.3 | Softness of the wipe's edge, as a % of the gradient (0 = hard edge). |
textColor | string | #ffffff | Text color. Unset inherits from the surrounding text. |
Use it when a polished SaaS section needs lines wiping in through a clean, angled mask.
Ship the final phrase in the DOM and surface it a single time, hiding duplicated animated fragments from assistive technology where needed.
Not when the final text ships as real HTML rather than living inside canvas or client-only animation.
Pre-reserve the final text's space so line breaks stay put across breakpoints.
The component skips the mask wipe and fades the settled, legible text in as one block, with no scrambling, staggering, or looping.
Need a custom effect? Tell us what to create.