Daiwiik Harihar

Mask Reveal Hero

Heroes 1

About

Hero component is an interactive landing-section built with React, Framer Motion, and a custom mask-based reveal system. It creates a dynamic, spotlight-style hover effect that reveals alternate content inside a circular mask that follows the user’s cursor (or touch position on mobile)

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

Code

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

Usage.tsx

import { Hero } from "@/components/ui/mask-reveal-hero";

export default function DemoOne() {
  return <Hero />;
}

Dependencies

More by Daiwiik Harihar

View all
  • Spatial Product Showcase

    Spatial Product Showcase

    2.3K
  • Perspective Tunnel Hero

    Perspective Tunnel Hero

    1.2K
  • Constellation Grid

    Constellation Grid

    1.1K
  • Focus Rail

    Focus Rail

    1.1K
  • Elastic Gallery

    Elastic Gallery

    958
  • Rolling List

    Rolling List

    929
  • Hero Shutter Text

    Hero Shutter Text

    903
  • Text Block Animation

    Text Block Animation

    859

More in Heroes

View all
  • SaaS Template

    SaaS Template

    2.5K
  • Hero

    Hero

    1.3K
  • Responsive Hero Banner

    Responsive Hero Banner

    2K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    968
  • Editorial Collage Hero

    Editorial Collage Hero

    458
  • Minimalist Hero Fashion

    Minimalist Hero Fashion

    296
  • Glass Fold

    Glass Fold

    279
  • Aero Hero-3

    Aero Hero-3

    576