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

```kotlin
@ExperimentalMaterial3Api
object BottomSheetDefaults
```

Contains the default values used by [ModalBottomSheet](/jetpack-compose/androidx.compose.material3/material3/components/ModalBottomSheet) and [BottomSheetScaffold](/jetpack-compose/androidx.compose.material3/material3/components/BottomSheetScaffold).

## Properties

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

```kotlin
val HiddenShape: Shape
```

The default shape for bottom sheets in a `Hidden` state.

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

```kotlin
val ExpandedShape: Shape
```

The default shape for a bottom sheets in `PartiallyExpanded` and `Expanded` states.

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

```kotlin
val ContainerColor: Color
```

The default container color for a bottom sheet.

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

```kotlin
val Elevation = SheetBottomTokens.DockedModalContainerElevation
```

The default elevation for a bottom sheet.

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

```kotlin
val ScrimColor: Color
```

The default color of the scrim overlay for background content.

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

```kotlin
val SheetPeekHeight = 56.dp
```

The default peek height used by [BottomSheetScaffold](/jetpack-compose/androidx.compose.material3/material3/components/BottomSheetScaffold).

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

```kotlin
val SheetMaxWidth = 640.dp
```

The default max width used by [ModalBottomSheet](/jetpack-compose/androidx.compose.material3/material3/components/ModalBottomSheet) and [BottomSheetScaffold](/jetpack-compose/androidx.compose.material3/material3/components/BottomSheetScaffold)

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

> **Deprecated** Renamed as modalWindowInsets.

```kotlin
val windowInsets: WindowInsets
```

Default insets to be used and consumed by the [ModalBottomSheet](/jetpack-compose/androidx.compose.material3/material3/components/ModalBottomSheet)'s content.

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

```kotlin
val standardWindowInsets: WindowInsets
```

Default insets to be used and consumed by the [BottomSheet](/jetpack-compose/androidx.compose.material3/material3/components/BottomSheet)'s content.

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

```kotlin
val modalWindowInsets: WindowInsets
```

Default insets to be used and consumed by the [ModalBottomSheet](/jetpack-compose/androidx.compose.material3/material3/components/ModalBottomSheet)'s content.

## Functions

<h2 id="draghandle-modifier-width-height-shape-color">DragHandle</h2>

```kotlin
@Composable
    fun DragHandle(
        modifier: Modifier = Modifier,
        width: Dp = SheetBottomTokens.DockedDragHandleWidth,
        height: Dp = SheetBottomTokens.DockedDragHandleHeight,
        shape: Shape = MaterialTheme.shapes.extraLarge,
        color: Color = SheetBottomTokens.DockedDragHandleColor.value,
    )
```

The optional visual marker placed on top of a bottom sheet to indicate it may be dragged.