Micro-interactions

Lens

A glass lens you drag across live content, bending it through an SVG displacement field with a real bevel and three-channel dispersion. It refracts a live duplicate of its own children rather than the page backdrop, which is the only version of this effect that works in Chrome, Safari and Firefox alike.

Install

Props

What It Demonstrates

Drag
Moving an element by grabbing it, often with momentum when released.
Momentum
Motion that carries velocity, especially after a drag or interruption.
Rubber-banding
Resistance and snap-back when you drag past a boundary (the iOS overscroll feel).
Damping
How quickly a spring settles. Lower damping means more bounce and oscillation.
Blur
A blur filter used to soften an element or mask tiny imperfections.
Mask
Hiding or revealing parts of an element using a shape or gradient — like clip-path, but with soft, fadeable edges.
Hardware acceleration
Animating transform and opacity lets the GPU keep motion smooth.

Related Components

Appears In