---
title: "init(content:label:)"
framework: swiftui
role: symbol
role_heading: Initializer
path: "swiftui/controlgroup/init(content:label:)"
---

# init(content:label:)

Creates a new control group with the specified content and a label.

## Declaration

```swift
nonisolated init<C, L>(@ContentBuilder content: () -> C, @ContentBuilder label: () -> L) where Content == LabeledControlGroupContent<C, L>, C : View, L : View
```

## Parameters

- `content`: The content to display.
- `label`: A view that describes the purpose of the group.

## See Also

### Creating a control group

- [init(content:)](swiftui/controlgroup/init(content:).md)
- [init(_:content:)](swiftui/controlgroup/init(_:content:).md)
