Kinetic UI
Back to Introduction
Hero Components

Hero Video Mask

Bold headline text mask revealing a smooth background abstract video on cursor hover.

Quick Actions
CLI Installation
npx kinetic-ui-cli@latest add hero-video-mask
Hero Video Mask

CREATIVE MOTION

Hover to reveal dynamic liquid video mask

Installation

npx kinetic-ui-cli@latest add

Props

Configure title text, background video URL, and cursor mask intensity.

Usage Guide

1. Import the Component

Import the component into your React or Next.js page:

import { HeroVideoMask } from "@/components/creative/hero/hero-video-mask";

2. Implementation Example

Render the component and customize its behavior by passing props:

import { HeroVideoMask } from "@/components/creative/hero/hero-video-mask";

export default function Example() {
  return (
    <div className="w-full flex items-center justify-center p-8">
      <HeroVideoMask
        headline="example"
        videoUrl="example"
      />
    </div>
  );
}
Performance Notes
  • Uses CSS hardware acceleration via GPU transform-binds.
  • Damped interpolation minimizes paint-redraw flashes.
  • Tree-shakable import: only compiles elements requested.
Accessibility Notes
  • Full keyboard focus-ring navigation support (`Tab`/`Shift+Tab`).
  • ARIA roles mapped correctly for assistive screen readers.
  • Respects `prefers-reduced-motion` system toggles.