Composable Component

PermanentNavigationDrawer

Navigation drawers provide ergonomic access to destinations in an app.

PermanentNavigationDrawer social preview

Navigation drawers provide ergonomic access to destinations in an app. They’re often next to app content and affect the screen’s layout grid.

PermanentNavigationDrawer

Common
@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