The TextMaskVideoReveal uses CSS mask-image combined with Framer Motion scroll tracking to punch a literal hole through your typography into a background video layer.
Live Preview
Installation
npx kinetic-ui-cli@latest add | Prop | Type | Default | Description |
|---|
Usage Guide
1. Import the Component
Import the component into your React or Next.js page:
import { TextMaskVideoReveal } from "@/components/creative/text-mask-video-reveal";
2. Implementation Example
Render the component and customize its behavior by passing props:
import { TextMaskVideoReveal } from "@/components/creative/text-mask-video-reveal";
export default function Example() {
return (
<div className="w-full flex items-center justify-center p-8">
<TextMaskVideoReveal
text="example"
videoSrc="example"
maskScaleFactor{10}
/>
</div>
);
}