---
title: ScrollEdgeEffectStyle
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/scrolledgeeffectstyle
---

# ScrollEdgeEffectStyle

A structure that specifies blur transitions between scrolling content and an area with controls, such as toolbars.

## Declaration

```swift
struct ScrollEdgeEffectStyle
```

## Overview

Overview By default, the system sets an automatic scroll edge effect style to provide a visual transition between scrolling content and stationary controls at both edges of the scroll view in the scrolling direction. The system determines which style to apply based on the platform and context. The hard style provides a more opaque, clearly defined linear boundary, and the soft style provides a subtle blurred transition: Specify a ScrollEdgeEffectStyle for a scroll view using scrollEdgeEffectStyle(_:for:) when the automatic style the system applies isn’t appropriate for your content and controls. Apply scrollEdgeEffectHidden(_:for:) to a scroll view to remove the scroll edge effect entirely for an edge you specify.

## Topics

### Creating a scroll edge effect style

- [automatic](swiftui/scrolledgeeffectstyle/automatic.md)
- [hard](swiftui/scrolledgeeffectstyle/hard.md)
- [soft](swiftui/scrolledgeeffectstyle/soft.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Configuring scroll edge effects

- [scrollEdgeEffectStyle(_:for:)](swiftui/view/scrolledgeeffectstyle(_:for:).md)
- [scrollEdgeEffectHidden(_:for:)](swiftui/view/scrolledgeeffecthidden(_:for:).md)
- [safeAreaBar(edge:alignment:spacing:content:)](swiftui/view/safeareabar(edge:alignment:spacing:content:).md)
