---
title: ScrollBounceBehavior
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/scrollbouncebehavior
---

# ScrollBounceBehavior

The ways that a scrollable view can bounce when it reaches the end of its content.

## Declaration

```swift
struct ScrollBounceBehavior
```

## Overview

Overview Use the scrollBounceBehavior(_:axes:) view modifier to set a value of this type for a scrollable view, like a ScrollView or a List. The value configures the bounce behavior when people scroll to the end of the view’s content. You can configure each scrollable axis to use a different bounce mode.

## Topics

### Bounce behaviors

- [automatic](swiftui/scrollbouncebehavior/automatic.md)
- [always](swiftui/scrollbouncebehavior/always.md)
- [basedOnSize](swiftui/scrollbouncebehavior/basedonsize.md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Configuring scroll bounce behavior

- [scrollBounceBehavior(_:axes:)](swiftui/view/scrollbouncebehavior(_:axes:).md)
- [horizontalScrollBounceBehavior](swiftui/environmentvalues/horizontalscrollbouncebehavior.md)
- [verticalScrollBounceBehavior](swiftui/environmentvalues/verticalscrollbouncebehavior.md)
