Ship it before lunch
Every push becomes a live preview, every merge a release, with nothing to configure.
Instant deploys
Push to main and it is live in seconds.
Preview builds
Every branch gets its own shareable URL.
Built-in safety
Roll back any release with one click.

99.99%
Uptime
42ms
Median latency
180+
Edge regions
Start shipping today
Free for personal projects.
More cursor effects in Pro
Cursor trails and pointer effects that give a site its own feel.
children | ReactNode | The content to animate. | |
container | string | HTMLElement | window | Scroll container that drives the animation, as a selector or an element. Defaults to the page. |
distance | 100 | How far the content travels into place, in px. | |
direction | 'vertical' | 'horizontal' | 'vertical' | Axis the content travels along. |
reverse | Comes in from the opposite side: from above, or from the left. | ||
duration | 0.8 | Length of the animation, in seconds. | |
ease | 'power3.out' | Any GSAP ease, such as 'expo.out', 'back.out(1.6)' or 'elastic.out(1, 0.5)'. | |
initialOpacity | Opacity the content starts from. | ||
animateOpacity | Fades the content in. Turn off to keep it fully opaque while it moves. | ||
scale | Scale the content starts from. | ||
blur | Blur the content starts from, in px. It comes into focus as it lands. | ||
rotate | Rotation the content starts from, in degrees. | ||
tilt | Tips the content back in 3D, in degrees, so it flips up into place. | ||
wipe | 'none' | 'up' | 'down' | 'left' | 'right' | 'center' | 'none' | Reveals the content behind a soft moving edge instead of all at once. |
threshold | 0.1 | How far into the viewport the top of the content must be before it animates, from 0 to 1. | |
delay | Wait before the animation starts, in seconds. | ||
stagger | Animates each direct child in turn, this many seconds apart. Great for lists and grids. | ||
staggerFrom | 'start' | 'end' | 'center' | 'edges' | 'random' | 'start' | Which child goes first when staggering. |
trigger | 'scroll' | 'mount' | 'scroll' | Animate when the content scrolls into view, or right away. |
once | Plays once. Turn off to replay every time the content scrolls in, and reverse when it scrolls back out. | ||
scrub | boolean | number | Ties the animation to the scroll position. A number smooths it, in seconds. | |
disappearAfter | Hides the content again this many seconds after it appears. 0 keeps it shown. | ||
disappearDuration | 0.5 | Length of the hide animation, in seconds. | |
disappearEase | 'power3.in' | GSAP ease of the hide animation. | |
onStart | () => void | Called when the animation starts. | |
onComplete | () => void | Called when the animation finishes. | |
onDisappearanceComplete | () => void | Called when the hide animation finishes. | |
| Extra class names for the wrapper. | |||
| Inline styles for the wrapper. |
childrenReactNodeThe content to animate.
containerstring | HTMLElementScroll container that drives the animation, as a selector or an element. Defaults to the page.
windowdistancenumberHow far the content travels into place, in px.
100direction'vertical' | 'horizontal'Axis the content travels along.
'vertical'reversebooleanComes in from the opposite side: from above, or from the left.
durationnumberLength of the animation, in seconds.
0.8easestringAny GSAP ease, such as 'expo.out', 'back.out(1.6)' or 'elastic.out(1, 0.5)'.
'power3.out'initialOpacitynumberOpacity the content starts from.
animateOpacitybooleanFades the content in. Turn off to keep it fully opaque while it moves.
scalenumberScale the content starts from.
blurnumberBlur the content starts from, in px. It comes into focus as it lands.
rotatenumberRotation the content starts from, in degrees.
tiltnumberTips the content back in 3D, in degrees, so it flips up into place.
wipe'none' | 'up' | 'down' | 'left' | 'right' | 'center'Reveals the content behind a soft moving edge instead of all at once.
'none'thresholdnumberHow far into the viewport the top of the content must be before it animates, from 0 to 1.
0.1delaynumberWait before the animation starts, in seconds.
staggernumberAnimates each direct child in turn, this many seconds apart. Great for lists and grids.
staggerFrom'start' | 'end' | 'center' | 'edges' | 'random'Which child goes first when staggering.
'start'trigger'scroll' | 'mount'Animate when the content scrolls into view, or right away.
'scroll'oncebooleanPlays once. Turn off to replay every time the content scrolls in, and reverse when it scrolls back out.
scrubboolean | numberTies the animation to the scroll position. A number smooths it, in seconds.
disappearAfternumberHides the content again this many seconds after it appears. 0 keeps it shown.
disappearDurationnumberLength of the hide animation, in seconds.
0.5disappearEasestringGSAP ease of the hide animation.
'power3.in'onStart() => voidCalled when the animation starts.
onComplete() => voidCalled when the animation finishes.
onDisappearanceComplete() => voidCalled when the hide animation finishes.
Extra class names for the wrapper.
Inline styles for the wrapper.
Dependencies
1 required package
npm install gsap


