Kinetic UI
Back to Introduction
Page Transitions

Sticky Image Mask

A cinematic scroll effect where a text mask infinitely scales to reveal background media.

Quick Actions
CLI Installation
npx kinetic-ui-cli@latest add sticky-image-mask

A cinematic scrollytelling section. As the user scrolls down, a massive text block acting as an SVG clipping mask infinitely scales up until the hidden image or video breaks out of the letterforms to cover the entire screen seamlessly.

Live Preview

sticky-image-mask-demo

Scroll slowly to reveal

↓

NATURE

Seamless Cinematic Reveal

Built with CSS mix-blend-mode for perfect edge sharpness and GPU-accelerated scaling.

Usage Guide

1. Import the Component

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

import { StickyImageMask } from "@/components/creative/sticky-image-mask";

2. Implementation Example

Render the component and customize its behavior by passing props:

import { StickyImageMask } from "@/components/creative/sticky-image-mask";

export default function Example() {
  return (
    <div className="w-full flex items-center justify-center p-8">
      <StickyImageMask
        text="example"
        imageUrl="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.