---
title: GroupSectionsOfContent
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/groupsectionsofcontent
---

# GroupSectionsOfContent

Transforms the sections of a given view into a resulting content view.

## Declaration

```swift
nonisolated struct GroupSectionsOfContent<Sections, Content> where Sections : View, Content : View
```

## Overview

Overview You don’t use this type directly. Instead SwiftUI creates this type on your behalf.

## Relationships

### Conforms To

- [View](swiftui/view.md)

## See Also

### Grouping views into a container

- [Creating custom container views](swiftui/creating-custom-container-views.md)
- [Group](swiftui/group.md)
- [GroupElementsOfContent](swiftui/groupelementsofcontent.md)
