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

```kotlin
@ExperimentalMaterial3AdaptiveComponentOverrideApi
class AnimatedPaneOverrideScope<Role : PaneScaffoldRole, ScaffoldValue : PaneScaffoldValue<Role>>
internal constructor(
    val scope: ExtendedPaneScaffoldPaneScope<Role, ScaffoldValue>,
    val modifier: Modifier,
    val enterTransition: EnterTransition,
    val exitTransition: ExitTransition,
    val boundsAnimationSpec: FiniteAnimationSpec<IntRect>,
    val dragToResizeHandle: (@Composable (DragToResizeState) -> Unit)?,
    val content: (@Composable AnimatedPaneScope.() -> Unit),
)
```

Parameters available to [AnimatedPane](/jetpack-compose/androidx.compose.material3.adaptive/adaptive-layout/composable-functions/AnimatedPane).

#### Parameters

| | |
| --- | --- |
| modifier | The modifier applied to the [AnimatedPane](/jetpack-compose/androidx.compose.material3.adaptive/adaptive-layout/composable-functions/AnimatedPane). |
| enterTransition | The [EnterTransition](/jetpack-compose/androidx.compose.animation/animation/classes/EnterTransition) used to animate the pane in. |
| exitTransition | The [ExitTransition](/jetpack-compose/androidx.compose.animation/animation/classes/ExitTransition) used to animate the pane out. |
| boundsAnimationSpec | The [FiniteAnimationSpec](/jetpack-compose/androidx.compose.animation/animation-core/interfaces/FiniteAnimationSpec) used to animate the bounds of the pane when the pane is keeping showing but changing its size and/or position. |
| dragToResizeHandle | The optional handle which will shown when the pane is levitated and drag-to-resizable; the handle will be draggable and clickable to resize the pane freely or among collapsed, partially expanded, and expanded states. See [rememberDragToResizeState](/jetpack-compose/androidx.compose.material3.adaptive/adaptive-layout/composable-functions/rememberDragToResizeState) for more details about how to implement the drag-to-resize behavior. |
| content | The content of the [AnimatedPane](/jetpack-compose/androidx.compose.material3.adaptive/adaptive-layout/composable-functions/AnimatedPane). Also see [AnimatedPaneScope](/jetpack-compose/androidx.compose.material3.adaptive/adaptive-layout/interfaces/AnimatedPaneScope). |