Skip to content
Components87 / 118

Pinch Strip

An endless strip of product photos sliding through a soft lens: in the bulge the band swells and the photo there stands large, toward the sides it pinches thin and the photos narrow into bow-tie shapes. The bulge follows your cursor, a drag or flick slides the strip, and a click glides a photo into the bulge.

CarouselProductsWebGLLensDragSpringsSquash & stretchthree.jsGSAP
Drag to slide the stripClick a photo to bring it into the bulge

Tweak

LIVE

Motion

0.18 photos/s

Look

0.40

Props

6 props
  • items{ src: string; title?: string; href?: string }[]
    The photos (cover-cropped, nearly square).
  • heightnumber
    Height, px.default 420
  • pinchnumber
    How thin the band pinches (0 closes it, 1 is flat).default 0.4
  • speednumber
    Slide speed, photos per second.default 0.18
  • backgroundstring
    Background.default "#000000"
  • classNamestring
    Extra classes.