Make your AI a shadcn expert

Mask Reveal Text

Colored panel sweeps across text in a two-phase wipe to dramatically reveal the content from behind a sliding mask for React applications.

Mask Reveal Text preview

Scroll to load preview

A solid panel sweeps across the text in a two-phase wipe — first sliding in to fully cover the content, then sliding out the opposite side to leave the text revealed. It feels like a stage curtain, a swipe-to-unlock gesture, or a film cut transition. The text itself is always rendered, never animated; only the overlay panel moves, which keeps the type crisp and the motion buttery. Direction is fully configurable (left, right, up, down) and the panel color is a single prop, so it slots neatly into any brand. Drop it into a hero, a section divider, or a "what's new" announcement when you want a single decisive reveal instead of a per-letter cascade.

Install with AI

If you've connected the shadcn.io MCP server to Claude Code, Cursor, Windsurf, or any MCP-ready AI editor, prompt your agent to install this text effect for you — no copy-paste, no CLI:

use shadcnio to install the mask-reveal-text text effect into my project

FAQ

Was this page helpful?

Sign in to leave feedback.