Warped Card

Warped Card
Warped Card

About Warped Card

An image card that swells like a lens around the pointer. The bulge fades in when the pointer enters, trails behind it with a little lag, and fades out when the pointer leaves. It's a WebGL shader running on your image.

What you can change

  • The image, which fills the card and crops to fit.

  • Card width, from 100 to 1200 px, and the aspect ratio, written as height divided by width.

  • The bulge's size and how hard it magnifies.

  • Dampening, which sets how closely the bulge follows. A higher number follows faster.

  • The length of the fade in and out, up to 3 seconds.

  • The corner radius, typed as a CSS value such as 16px.

Where it fits

Portfolio grids, product shots and editorial pages where a single image should react to the pointer.

Good to know

  • The effect needs a pointer. On a touch screen it only shows while a finger is on the card, and swiping up or down still scrolls the page.

  • Width and aspect ratio set the card's size, and the frame doesn't. A larger frame leaves the card centered at its set size, while a narrower one shrinks it.

  • The card can't hold text or other layers. Place those on top as separate layers, though they'll block the pointer unless you turn off their events.

  • The Framer canvas shows the plain image. If WebGL isn't available or the image can't be loaded into it, visitors get the plain image too.

From Syauqizaidan Khairan Khalaf

Orbiting Circles
AI Voice
Circles
Code Block Generator

Related Components

Ripple
Scrolling Blur
Team Spotlight
Glass Type