Skip to content

Conversation

@arzafran
Copy link
Member

@arzafran arzafran commented Jan 9, 2026

This pull request introduces a new GSAP-powered page transition feature, allowing for smooth, customizable transitions between pages using the TransitionLink component and related utilities. The feature is opt-in via environment variables and includes comprehensive documentation and demo pages to showcase its usage and benefits compared to alternatives like the View Transitions API. The implementation is modular, with state management handled by Zustand and animation logic encapsulated in a reusable overlay component.

New GSAP Page Transition Feature

Feature Implementation:

  • Added the page-transition module (components/layout/page-transition/) including the main PageTransition overlay component, transition state management with Zustand (store.ts), the TransitionLink component for navigation, and supporting styles (page-transition.module.css). This enables GSAP-powered transitions such as fade, slide, and reveal, with programmatic and declarative APIs. [1] [2] [3] [4]

Demo and Example Pages:

Documentation Updates:

  • Updated README.md and components/README.md to document the new feature, its environment variable toggles, usage examples, and a comparison with other transition solutions. [1] [2]

Environment Variable Configuration:

  • Added environment variable toggles for optional features, including page transitions and WebGL, to .env.example for easy configuration.

Summary:
This PR adds a robust, opt-in page transition system using GSAP, complete with documentation, demo pages, and configuration options, making it easy to add smooth, customizable transitions to the app.

@vercel
Copy link

vercel bot commented Jan 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
satus Ready Ready Preview, Comment Jan 9, 2026 10:28pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants