Navigation Node

A NavigationNode is the UI representation of an entry in our navigation flow.

It's a very simple interface:

interface NavigationNode {
    val content: @Composable () -> Unit
}

By default, Guia provides 3 conventional navigation node implementations: Screen, BottomSheet and Dialog.

Navigation nodes don't provide argument passing or can be navigated to directly. They simply render a UI and provide UI Logic. Passing arguments and navigating is done using Navigation Keys which will see in the next step.

Last updated