NavigationRail
fun NavigationRail(modifier: Modifier = Modifier, header: @Composable ColumnScope.() -> Unit? = null, content: @Composable ColumnScope.() -> Unit)(source)
Spark 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
the Modifier to be applied to this navigation rail
header
optional header that may hold a FloatingActionButton or a logo
content
the content of this navigation rail, typically 3-7 NavigationRailItems