Théo Balick

Mask Reveal

Cards 1

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>
  );
}

Dependencies

More by Théo Balick

View all
  • Segmented Control

    Segmented Control

    51
  • Footer With Newsletter

    Footer With Newsletter

    39
  • Services List

    Services List

    23
  • Expandable Text

    Expandable Text

    14
  • Interactive Grid

    Interactive Grid

    13
  • Underline Link

    Underline Link

    8
  • Wave Lines

    Wave Lines

    6
  • Newsletter Signup Card

    Newsletter Signup Card

    5

More in Cards

View all
  • Stats cards with links

    Stats cards with links

    39
  • Card

    Card

    70
  • Statistics Card 2

    Statistics Card 2

    261
  • Course Design Cards

    Course Design Cards

    1.1K
  • The Item one

    The Item one

    3
  • Card Studio

    Card Studio

    7
  • Statistics Card 7

    Statistics Card 7

    289
  • Card

    Card

    17