🌈 Create new beautiful Compose Gradients with our new wesite ->
Compose Component

DismissibleNavigationDrawer

Material Design navigation drawer Navigation drawers provide ergonomic access to destinations in an app.

DismissibleNavigationDrawer social preview

DismissibleNavigationDrawer

Source set: Common
@Composable
public fun DismissibleNavigationDrawer(
    drawerContent: @Composable () -> Unit,
    modifier: Modifier = Modifier,
    drawerState: DrawerState = rememberDrawerState(DrawerValue.Closed),
    gesturesEnabled: Boolean = true,
    content: @Composable () -> Unit,
)

Parameters

drawerContent content inside this drawer
modifier the Modifier to be applied to this drawer
drawerState state of the drawer
gesturesEnabled whether or not the drawer can be interacted by gestures
content content of the rest of the UI

Content updated: