40+ landing page components for ReactBrowse now

Animation

FadeIn

Scroll-triggered fade-in animation wrapper. Wraps any content and animates it from transparent to fully visible as it enters the viewport. Respects prefers-reduced-motion automatically.

Preview

This content fades in on scroll.

Staggered with delay

First item
Second item
Third item

Props

PropTypeDefaultDescription
childrenrequired
ReactNodeContent to animate
delay
number0Delay before animation starts (seconds)
duration
number0.5Animation duration (seconds)
scrollTrigger
booleantrueWhen true, animation fires as the element scrolls into view
className
stringAdditional CSS classes applied to the wrapper div