Skip to content
Image Effects

MaskTransition

Click the picture, or use the arrow keys, and the next one opens through a shape over the old one. Circle and diamond open from the click point.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
imagesMaskTransitionItem[]—Two or more pictures, each with src and alt.
shape"circle" | "diamond" | "wipe""circle"Shape of the opening.
durationnumber0.9Seconds one change takes.
labelstring"Pictures"Read by screen readers.
classNamestring"aspect-video"Set the size here.