---
title: "WideNavigationRailOverrideScope"
description: "Parameters available to [WideNavigationRail]."
type: "class"
---

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


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

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


```kotlin
@ExperimentalMaterial3ComponentOverrideApi
class WideNavigationRailOverrideScope
internal constructor(
    val modifier: Modifier,
    val state: WideNavigationRailState,
    val shape: Shape,
    val colors: WideNavigationRailColors,
    val header: @Composable (() -> Unit)?,
    val windowInsets: WindowInsets,
    val arrangement: Arrangement.Vertical,
    val contentPadding: PaddingValues,
    val content: @Composable () -> Unit,
)
```


Parameters available to `WideNavigationRail`.

#### Parameters

| | |
| --- | --- |
| modifier | the `Modifier` to be applied to this wide navigation rail |
| state | the `WideNavigationRailState` of this wide navigation rail |
| shape | defines the shape of this wide navigation rail's container. |
| colors | `WideNavigationRailColors` that will be used to resolve the colors used for this wide navigation rail. See `WideNavigationRailDefaults.colors` |
| header | optional header that may hold a `FloatingActionButton` or a logo |
| windowInsets | a window insets of the wide navigation rail |
| arrangement | the `Arrangement.Vertical` of this wide navigation rail for its content. Note that if there's a header present, the items will be arranged on the remaining space below it, except for the center arrangement which considers the entire height of the container |
| content | the content of this wide navigation rail, typically `WideNavigationRailItem`s |




