Skip to content

Viewport Animations

Viewport animations allow elements to animate into view as they enter the viewport, enhancing user engagement and visual appeal.

fadeInTop

fadeInRight

fadeInLeft

fadeInBottom

ParameterTypeDefaultDescription
animationStringnoneType of animation to apply (e.g., fadeInTop, fadeInRight).
delayNumber0Delay in milliseconds before the animation starts.
durationNumber1000Duration in milliseconds of the animation effect.