Page Transition

utilities

Wrapper for animating page-to-page transitions with fade, slide, or scale effects.

Preview

No preview available

Check the code examples below.

Installation

npm install @launchapp/design-system
Import
import { PageTransition } from "@launchapp/design-system";

Examples

Fade transition

<PageTransition variant="fade">  <div>Page content</div></PageTransition>

Props

PropTypeDefaultDescription
children*
React.ReactNodePage content to animate.
variant
"fade" | "slide-up" | "scale""fade"Transition animation style.