← Back to Compose Multiplatform
PermanentNavigationDrawer
Component
in
Compose Multiplatform
. Since 1.3.0-beta01
Overview
Examples
Community Notes
Video
<a href="https://m3.material.io/components/navigation-drawer/overview" class="external" target="_blank">Material Design navigation permanent drawer</a>.
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(https://developer.android.com/images/reference/androidx/compose/material3/navigation-drawer.png)
The permanent navigation drawer is always visible and usually used for frequently switching destinations. On mobile screens, use ModalNavigationDrawer instead.
Overloads
PermanentNavigationDrawer
@Composable
fun PermanentNavigationDrawer(
drawerContent: @Composable () -> Unit,
modifier: Modifier = Modifier,
content: @Composable () -> Unit
)
Parameters
Name | Description |
---|---|
drawerContent | content inside this drawer |
modifier | the Modifier to be applied to this drawer |
content | content of the rest of the U |
Previous Component← PermanentDrawerSheet
Next ComponentPlainTooltipBox →