← All components
Media / effect

Image Morph

An irregular image mask and engraved grid dissolve into a sharp, full-width photograph.

PLAYGROUND
Live preview
Preparing preview…

Take it with you.

SOURCE ACCESS

Preview freely. Unlock the files.

Enter the shared password to copy the complete source, download every file, and install components in your app.

Access lasts 24 hours. Your preview settings stay with you.

Component notes

  • The original irregular ghost polygons, two-color engraved grid, blur, contrast, scale and four overlapping timelines are preserved.
  • The image loads before animation begins. Failed media keeps its reserved proportions and a readable fallback. Supply an accurate alt description and intrinsic dimensions.
  • The source was a one-shot scroll entrance. This version also replays in an already-visible container; offscreen time is excluded.
  • Pause freezes all layers. Reduced motion shows the complete image. Finished instances stop requesting frames and release will-change hints.
  • The optional fadeColor blends the bottom edge into a surrounding section. It defaults to transparent so the component composes on any surface.
  • The included Demo.tsx and styles recreate the complete preview.
React 19CSS clip-pathFramer Motion 12.42.2

Chungus UI · Project-authorized component and adaptation. Public distribution terms pending release.

Props

PropTypeDefaultDescription
src (required)stringrequiredImage URL
alt (required)stringrequiredImage description
durationnumber1280Reveal duration
showGridbooleantrueEngraved grid
widthnumber1600Intrinsic image width; paired with height for reserved proportions.
heightnumber1000Intrinsic image height.
fadeColorstringtransparentOptional bottom fade into a surrounding section, preserving the original parchment handoff when supplied.
classNamestring''Additional root classes.
pausedbooleanfalseFreeze the reveal and exclude hidden time.
replayTokennumber0Change to repeat the reveal.
onComplete() => voidundefinedCalled once when the full reveal settles. Reduced motion and failed images skip the decorative sequence and this callback.