Manu Arora

SVG Mask Effect

Text 212

About

A mask reveal effect — move the cursor to reveal hidden content beneath. Built with Framer Motion mask animations.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds SVG Mask Effect to your project and fits it to your theme.

Code

How SVG Mask Effect is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";
import React from "react";
import { MaskContainer } from "../components/ui/svg-mask-effect";

export default function SVGMaskEffectDemo() {
  return (
    <MaskContainer
      revealText={
        <p className="mx-auto max-w-4xl text-center text-4xl font-bold text-slate-800 dark:text-white">
          Move your cursor here to reveal the secret
        </p>
      }
    >
      <p className="text-4xl font-bold text-white dark:text-black">
        The secret is revealed ✨
      </p>
    </MaskContainer>
  );
}

Dependencies

More by Manu Arora

View all
  • Container Scroll Animation

    Container Scroll Animation

    10.7K
  • Aurora Background

    Aurora Background

    4.6K
  • Glowing Effect

    Glowing Effect

    4.5K
  • Timeline

    Timeline

    4.4K
  • Sparkles

    Sparkles

    4.3K
  • Sidebar

    Sidebar

    3.8K
  • Lamp

    Lamp

    3.8K
  • Bento Grid

    Bento Grid

    2.8K

More in Text

View all
  • Motion Blur Text

    Motion Blur Text

    45
  • Rainbow Text Effect

    Rainbow Text Effect

    58
  • Text Reveal

    Text Reveal

    29
  • Blur Reveal

    Blur Reveal

    73
  • Short Slide Down

    Short Slide Down

    45
  • Apple Hello Effect

    Apple Hello Effect

    659
  • Scroll Fill Headline

    Scroll Fill Headline

    14
  • Blur Reveal

    Blur Reveal

    364