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

```kotlin
@ExperimentalMaterial3Api
expect object ModalBottomSheetDefaults
```

Default values for [ModalBottomSheet](/jetpack-compose/androidx.compose.material3/material3/components/ModalBottomSheet)

## Properties

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

```kotlin
val properties: ModalBottomSheetProperties
```

Properties used to customize the behavior of a [ModalBottomSheet](/jetpack-compose/androidx.compose.material3/material3/components/ModalBottomSheet).

<div class='sourceset sourceset-android'>Android</div>

```kotlin
@ExperimentalMaterial3Api
actual object ModalBottomSheetDefaults
```

Default values for [ModalBottomSheet](/jetpack-compose/androidx.compose.material3/material3/components/ModalBottomSheet)

## Properties

<div class='sourceset sourceset-android'>Android</div>

```kotlin
actual val properties = ModalBottomSheetProperties()
```

Properties used to customize the behavior of a [ModalBottomSheet](/jetpack-compose/androidx.compose.material3/material3/components/ModalBottomSheet).

## Functions

<h2 id="properties-securepolicy-isfocusable-shoulddismissonbackpress">properties</h2>

```kotlin
fun properties(
        securePolicy: SecureFlagPolicy = SecureFlagPolicy.Inherit,
        isFocusable: Boolean = true,
        shouldDismissOnBackPress: Boolean = true,
    ) =
        ModalBottomSheetProperties(
            securePolicy = securePolicy,
            shouldDismissOnBackPress = shouldDismissOnBackPress,
        )
```

Properties used to customize the behavior of a [ModalBottomSheet](/jetpack-compose/androidx.compose.material3/material3/components/ModalBottomSheet).

#### Parameters

| | |
| --- | --- |
| securePolicy | Policy for setting `WindowManager.LayoutParams.FLAG_SECURE` on the bottom sheet's window. |
| isFocusable | Whether the modal bottom sheet is focusable. When true, the modal bottom sheet will receive IME events and key presses, such as when the back button is pressed. |
| shouldDismissOnBackPress | Whether the modal bottom sheet can be dismissed by pressing the back button. If true, pressing the back button will call onDismissRequest. Note that [isFocusable](/jetpack-compose/androidx.compose.ui/ui-test/functions/isFocusable) must be set to true in order to receive key events such as the back button - if the modal bottom sheet is not focusable then this property does nothing. |