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

```kotlin
object DrawerDefaults
```

Object to hold default values for [ModalDrawer](/jetpack-compose/androidx.compose.material/material/components/ModalDrawer) and [BottomDrawer](/jetpack-compose/androidx.compose.material/material/components/BottomDrawer)

## Properties

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

```kotlin
val AnimationSpec = TweenSpec<Float>(durationMillis = 256)
```

Default animation spec used for [ModalDrawer](/jetpack-compose/androidx.compose.material/material/components/ModalDrawer) and [BottomDrawer](/jetpack-compose/androidx.compose.material/material/components/BottomDrawer) open and close animations,
as well as settling when a user lets go.

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

```kotlin
val backgroundColor: Color
```

Default background color for drawer sheets

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

```kotlin
val Elevation = 16.dp
```

Default elevation for drawer sheet as specified in material specs

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

```kotlin
val shape: Shape
```

Default shape for drawer sheets

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

```kotlin
val scrimColor: Color
```

Default color of the scrim that obscures content when the drawer is open

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

```kotlin
const val ScrimOpacity = 0.32f
```

Default alpha for scrim color