Overview
Documentation | Discord
PageFlow is a comprehensive UI page navigation system for Unity that eliminates the complexity of managing multi-screen interfaces. Think of it as a router for your UI – it handles page switching, maintains navigation history, and delivers smooth transitions with minimal setup.
Stop manually toggling panels, tracking visibility states, or writing repetitive transition code. With PageFlow, you create pages, add navigation buttons, and let the system handle everything else.
This hybrid approach means you're never locked in: prototype rapidly with zero boilerplate, then scale to production-grade architecture without starting over.
🌟 Why Choose PageFlow?
- Seamless Navigation: Forward, back, and home navigation built-in with automatic history tracking
- Flexible Transitions: Fade, slide, scale, instant, or create custom animations- includes a wide variety of easing curves
- Multiple Animation Systems: Works with DOTween, LeanTween, PrimeTween ,or Unity's built-in transitions
- Automatic Page Discovery: Pages register themselves – no manual setup needed
- Rich Event System: Hook into navigation events for analytics, sounds, or custom logic
- Clean Architecture: Built on SOLID principles with interface-based dependency injection for easy testing and extensibility
🎮 Real-World Use Cases
- Games: Menu, settings screens, HUDs, shops, inventory, pause menus
- Apps: Dashboards, reports, user profiles, multi-step forms
- Prototyping: Rapidly test UI flows and iterate without complex coding
⚡ Quick Setup (No Code Required)
- Add PageManager – Create an empty GameObject and add the PageManager component
- Create Pages – Add Page component to your UI panels (they auto-register!)
- Add Navigation Buttons – Use PageNavigationButton or BackNavigationButton components
- Set First Page – Drag your starting page into the PageManager's "First Page" field
- Done! Press Play and enjoy smooth, professional navigation
Example: In under 5 minutes, you can have a main menu that navigates to settings with fade transitions and a back button that returns to the previous screen.
🎯 Built for Everyone: Beginners to Advanced
PageFlow's unique architecture makes it instantly accessible for beginners while giving advanced users complete control:
- Beginners: Zero code required! Add components, click buttons, and everything works automatically through our singleton PageManager
- Advanced Users: Full dependency injection support with interface-based design lets you swap implementations, write unit tests, and integrate with custom architectures seamlessly
- The Best of Both Worlds: Start with drag-and-drop simplicity, then extend with your own implementations when needed – no refactoring required