Skip to content
Image Effects

ChromaticShift

The picture holds three colour layers that line up at rest. Under the pointer they part toward it, then spring back. No WebGL, so pictures from other sites work.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
srcstring—Picture address.
altstring—Text for screen readers.
amountnumber2How far the colours part, in percent of the picture size.
classNamestring"aspect-video"Set the size here.