Skip to main content

Navigation

Kog navigation reads like React Navigation: createStackNavigator plus a <NavigationContainer>. Each screen is a real LVGL screen, so a push/pop is a native screen transition, not a JS re-render. useNavigation() gives you push/pop/navigate/replace; useRoute() gives you the active route and its params.

Tap Open details to push a screen (passing { id: 7 } as a param), then Back to pop it. Screens mount on first navigation and dispose on pop; the screen underneath is kept alive while it's stacked.

Next: hardware →