androidx.compose.material3

NavigationRailOverrideSince 1.10Experimental

Interface

No hand-written docs yet.

Interface that allows libraries to override the behavior of the NavigationRail component.

interface NavigationRailOverride

Kinds of NavigationRailOverride

Anywhere a NavigationRailOverride is expected, you can pass any of these.

How to get one

Or create one of the kinds listed above.

Functions

@Composable
fun NavigationRailOverrideScope.NavigationRail()

Behavior function that is called by the NavigationRail component.

Library docs

Interface that allows libraries to override the behavior of the NavigationRail component.

To override this component, implement the member function of this interface, then provide the implementation to LocalNavigationRailOverride in the Compose hierarchy.