---
title: contentInsets
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/nscollectionlayoutsection/contentinsets
---

# contentInsets

The amount of space between the content of the section and its boundaries.

## Declaration

```swift
var contentInsets: NSDirectionalEdgeInsets { get set }
```

## See Also

### Configuring section spacing

- [interGroupSpacing](uikit/nscollectionlayoutsection/intergroupspacing.md)
- [contentInsetsReference](uikit/nscollectionlayoutsection/contentinsetsreference.md)
- [supplementaryContentInsetsReference](uikit/nscollectionlayoutsection/supplementarycontentinsetsreference.md)
- [UIContentInsetsReference](uikit/uicontentinsetsreference.md)
