---
title: GroupElementsOfContent
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/groupelementsofcontent
---

# GroupElementsOfContent

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

## Declaration

```swift
nonisolated struct GroupElementsOfContent<Subviews, Content> where Subviews : 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)
- [GroupSectionsOfContent](swiftui/groupsectionsofcontent.md)
