ModalNavigationDrawer

expect fun ModalNavigationDrawer(drawerContent: @Composable () -> Unit, modifier: Modifier = Modifier, drawerState: DrawerState = rememberDrawerState(DrawerValue.Closed), content: @Composable () -> Unit)(source)

Deprecated

Navigation Drawer APIs are deprecated due to the labs `MdNavigationDrawerModal` component being immature and hard to configure to provide consistent visual results. We may add support for new components such as the Material 3 Expressive navigation rail that will replace these instead in the future.

Material Design modal navigation drawer.

Delegates to androidx.compose.material3.ModalNavigationDrawer on Compose UI platforms. Note: Uses experimental Material Web labs APIs on the JS platform.

See also

actual fun ModalNavigationDrawer(drawerContent: () -> Unit, modifier: Modifier, drawerState: DrawerState, content: () -> Unit)(source)
actual fun ModalNavigationDrawer(drawerContent: () -> Unit, modifier: Modifier, drawerState: DrawerState, content: () -> Unit)(source)