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

```kotlin
object NavigationDrawerItemDefaults
```

Defaults used in [NavigationDrawerItem](/jetpack-compose/androidx.compose.material3/material3/components/NavigationDrawerItem).

## Properties

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

```kotlin
val ItemPadding = PaddingValues(horizontal = 12.dp)
```

Default external padding for a [NavigationDrawerItem](/jetpack-compose/androidx.compose.material3/material3/components/NavigationDrawerItem) according to the Material
specification.

## Functions

<h2 id="colors-selectedcontainercolor-unselectedcontainercolor-selectediconcolor-unselectediconcolor-selectedtextcolor-unselectedtextcolor-selectedbadgecolor-unselectedbadgecolor">colors</h2>

```kotlin
@Composable
    fun colors(
        selectedContainerColor: Color = NavigationDrawerTokens.ActiveIndicatorColor.value,
        unselectedContainerColor: Color = Color.Transparent,
        selectedIconColor: Color = NavigationDrawerTokens.ActiveIconColor.value,
        unselectedIconColor: Color = NavigationDrawerTokens.InactiveIconColor.value,
        selectedTextColor: Color = NavigationDrawerTokens.ActiveLabelTextColor.value,
        unselectedTextColor: Color = NavigationDrawerTokens.InactiveLabelTextColor.value,
        selectedBadgeColor: Color = selectedTextColor,
        unselectedBadgeColor: Color = unselectedTextColor,
    ): NavigationDrawerItemColors
```

Creates a [NavigationDrawerItemColors](/jetpack-compose/androidx.compose.material3/material3/interfaces/NavigationDrawerItemColors) with the provided colors according to the Material
specification.

#### Parameters

| | |
| --- | --- |
| selectedContainerColor | the color to use for the background of the item when selected |
| unselectedContainerColor | the color to use for the background of the item when unselected |
| selectedIconColor | the color to use for the icon when the item is selected. |
| unselectedIconColor | the color to use for the icon when the item is unselected. |
| selectedTextColor | the color to use for the text label when the item is selected. |
| unselectedTextColor | the color to use for the text label when the item is unselected. |
| selectedBadgeColor | the color to use for the badge when the item is selected. |
| unselectedBadgeColor | the color to use for the badge when the item is unselected. |

#### Returns

| | |
| --- | --- |
|  | the resulting [NavigationDrawerItemColors](/jetpack-compose/androidx.compose.material3/material3/interfaces/NavigationDrawerItemColors) used for [NavigationDrawerItem](/jetpack-compose/androidx.compose.material3/material3/components/NavigationDrawerItem) |