Page Transition
The PageTransition component is a versatile React element that enables customizable and animated transitions between pages or content, featuring options for resolution, animation direction, and triggering based on user interactions. It seamlessly enhances the user experience by providing visually appealing transitions for single-page applications.
Components
PageTransition
Direction
Trajectory
Ease
Resolution
Stagger
Trigger
PageTransition
(with Children)
paperplane-ui
Trigger
API Reference
PageTransition
childrenJSX.Element
Children will be centered on the page absolutlydirection"y" | "x"
Direction of animation.easegsap.TweenVars['ease']
Type of easing for the animation.resolutionnumber
Resolution of the animation.staggernumber
Stagger value for animation.trajectory"default" | "reversed"
Trajectory of the animation.triggerboolean
Indicates whether the animation should be triggered.