Masked Reveal

Staggered word reveal with 3D rotation and gradient fade.

Main Features of Masked Reveal

How to Use Masked Reveal in Next.js

Installation Guide for Masked Reveal

Props

Customize the component with these props

PropertyTypeDefaultDescription
text
stringOrchestrated ChaosText to display
wordGap
stringgap-4Gap between words
fontSize
stringtext-6xl md:text-8xlFont size of the text
fontWeight
stringfont-boldFont weight of the text
tracking
stringtracking-tighterLetter spacing
textColor
stringtext-whiteColor of the text
gradientFrom
stringfrom-zinc-100Gradient start color class
gradientTo
stringto-zinc-500Gradient end color class
staggerChildrenDelay
number0.12Delay between children
childDelayMultiplier
number0.04Delay multiplier per child
springDamping
number12Spring animation damping
springStiffness
number100Spring animation stiffness
initialY
number50Initial Y position
initialRotateX
number-20Initial X rotation in degrees
className
stringAdditional CSS classes

When to Use

Perfect for elegant brand introductions, minimalist landing pages, and cinematic web experiences. Use this React component to reveal text with a sophisticated 'curtain' effect that combines 3D rotation and gradient fading.

Best Practices

Optimize for legibility by ensures the `initialRotateX` isn't too extreme. Follow React best practices by using a standard `staggerChildrenDelay` (e.g., 0.1s) for a natural reveal rhythm. Maintain scalable component architecture by using responsive font sizes that work across mobile and desktop.

Why This Component Matters in Modern UI Development

Orchestrated reveals are a staple of premium modern UI development. This production-ready component provides a robust implementation of complex staggered motion, adding a layer of polish and semantic interest to your real-world application architecture.

Frequently Asked Questions

QCan I reveal character by character?

The current implementation is word-based for best narrative flow, but the logic can be easily updated to target individual characters.

QDoes it support custom fonts?

Yes, it fully supports all global typography styles and works beautifully with high-contrast serif or sans-serif fonts.

QIs the 3D rotation mandatory?

No, you can set the `initialRotateX` to 0 for a simple, elegant vertical slide reveal.

Masked Reveal - React Text Animation & Reveal | Uilora