---
title: automatic
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/contentmarginplacement/automatic
---

# automatic

The automatic placement.

## Declaration

```swift
static var automatic: ContentMarginPlacement { get }
```

## Discussion

Discussion Views that support margin customization can automatically use margins with this placement. For example, a ScrollView will use this placement to automatically inset both its content and scroll indicators by the specified amount.

## See Also

### Getting the placement

- [scrollContent](swiftui/contentmarginplacement/scrollcontent.md)
- [scrollIndicators](swiftui/contentmarginplacement/scrollindicators.md)
