Composable Component

PermanentNavigationDrawer

Navigation drawers provide ergonomic access to destinations in an app.

PermanentNavigationDrawer social preview
Source set: Common

Added in 1.5.0-alpha17

@Composable
fun PermanentNavigationDrawer(
    drawerContent: @Composable () -> Unit,
    modifier: Modifier = Modifier,
    content: @Composable () -> Unit,
)

Parameters

drawerContent content inside this drawer
modifier the Modifier to be applied to this drawer
content content of the rest of the UI