Théo Balick

Mask Reveal

Cards 15

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
  • Interactive Grid

    Interactive Grid

    151
  • Footer With Newsletter

    Footer With Newsletter

    88
  • Segmented Control

    Segmented Control

    70
  • Services List

    Services List

    39
  • Wave Lines

    Wave Lines

    29
  • Expandable Text

    Expandable Text

    16
  • Expand Button

    Expand Button

    14
  • Underline Link

    Underline Link

    14

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Photo Deck

    Photo Deck

    47
  • Folded Card

    Folded Card

    45
  • Statistics Card 10

    Statistics Card 10

    304
  • Statistics Card 2

    Statistics Card 2

    309
  • Statistics Card 7

    Statistics Card 7

    336
  • CTA Section

    CTA Section

    6
  • Liquid Glass Card

    Liquid Glass Card

    198