JetpackNavigationRail
fun JetpackNavigationRail(modifier: Modifier = Modifier, header: @Composable ColumnScope.() -> Unit? = null, content: @Composable ColumnScope.() -> Unit)
Jetpack navigation rail with header and content slots. Wraps Material 3 NavigationRail.
Parameters
modifier
Modifier to be applied to the navigation rail.
header
Optional header that may hold a floating action button or a logo.
content
Destinations inside the navigation rail. This should contain multiple NavigationRailItems.