About
An animated wrapper that uncovers an image or card using a clip-path mask that slides across it, with optional zoom-in settle and scroll-triggered reveal.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Mask Reveal to your project and fits it to your theme.
Code
How Mask Reveal is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { MaskReveal } from "@/components/ui/mask-reveal";
export default function MaskRevealDemo() {
return (
<MaskReveal direction="left" zoom className="rounded-xl">
<div className="flex h-44 w-72 flex-col justify-end bg-[linear-gradient(135deg,var(--foreground),color-mix(in_oklab,var(--foreground)_55%,var(--background)))] p-5 text-background">
<p className="font-mono text-[10px] tracking-wider uppercase opacity-70">
Plate 01
</p>
<p className="text-2xl font-semibold tracking-tight">
Uncovered, not faded.
</p>
</div>
</MaskReveal>
);
}
















