Pages and navigation
Build pages and connect them with NavigationShell. Handle mobile back navigation, desktop menus, page lifetime, and additional windows.
In this section
- Create a page - Separate page content from shared navigation chrome and choose where local state lives.
- Connect pages with NavigationShell - Register destinations, choose mobile or desktop presentation, and navigate by stable ID.
- Mobile navigation and back - Use a page stack, visible Back actions, and the leading-edge gesture without assuming OS back integration.
- Desktop navigation - Use a persistent sidebar and understand the boundary between the starter shell and DemoApp navigation.
- Page state and lifetime - Separate persistent data from page instances and pair activation with cleanup.
- Overlays and additional windows - Show an anchored in-window surface and own secondary desktop windows explicitly.
Explore the full Reference for related topics.