<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/SpringLoadingBehavior",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI21SpringLoadingBehaviorV"
  },
  "title" : "SpringLoadingBehavior"
}
-->

# SpringLoadingBehavior

The options for controlling the spring loading behavior of views.

```
struct SpringLoadingBehavior
```

## Overview

Use values of this type with the [`springLoadingBehavior(_:)`](/documentation/SwiftUI/View/springLoadingBehavior(_:))
modifier.

## Topics

### Getting the behaviors

[`static let automatic: SpringLoadingBehavior`](/documentation/SwiftUI/SpringLoadingBehavior/automatic)

The automatic spring loading behavior.

[`static let enabled: SpringLoadingBehavior`](/documentation/SwiftUI/SpringLoadingBehavior/enabled)

Spring loaded interactions will be enabled for applicable views.

[`static let disabled: SpringLoadingBehavior`](/documentation/SwiftUI/SpringLoadingBehavior/disabled)

Spring loaded interactions will be disabled for applicable views.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)