NavigationRail

fun NavigationRail(modifier: Modifier = Modifier, header: @Composable ColumnScope.() -> Unit? = null, content: @Composable ColumnScope.() -> Unit)

Spark bottom navigation rail. Navigation rails provide access to main destinations in apps when using tablet and desktop screens.

The navigation rail should be used to display three to seven app destinations and, optionally, a FloatingActionButton or a logo header. NavigationRail should contain multiple NavigationRailItems, each representing a singular destination.

Parameters

modifier

commentCountthe Modifier to be applied to this navigation rail

header

commentCountoptional header that may hold a FloatingActionButton or a logo

content

commentCountthe content of this navigation rail, typically 3-7 NavigationRailItems