Skip to content
Image Effects

HoverZoom

The picture enlarges inside its frame and pans with the pointer. Tap to zoom on a phone; arrow keys pan from the keyboard.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
srcstring—Picture address.
altstring—Text for screen readers.
zoomnumber2How much the picture enlarges.
classNamestring"aspect-video"Set the size here.