PermanentNavigationDrawer

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

Material Design navigation permanent drawer.

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

Navigation drawer image

The permanent navigation drawer is always visible and usually used for frequently switching destinations. On mobile screens, use ModalNavigationDrawer instead.

Parameters

drawerContent

content inside this drawer

modifier

the Modifier to be applied to this drawer

content

content of the rest of the UI

Samples

androidx.compose.material3.samples.PermanentNavigationDrawerSample