---
title: "WideNavigationRailOverride"
description: "Interface that allows libraries to override the behavior of the [WideNavigationRail] component.

To override this component, implement the member function of this interface, then provide the
implementation to [LocalWideNavigationRailOverride] in the Compose hierarchy."
type: "interface"
---

<div class='type'>Interface</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>



```kotlin
@ExperimentalMaterial3ComponentOverrideApi
interface WideNavigationRailOverride
```


Interface that allows libraries to override the behavior of the `WideNavigationRail` component.

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


## Functions

```kotlin
@Composable fun WideNavigationRailOverrideScope.WideNavigationRail()
```


Behavior function that is called by the `WideNavigationRail` component.



