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

# init(_:image:content:)

Creates a new control group with the specified content that generates its label from a string and image name.

## Declaration

```swift
nonisolated init<C, S>(_ title: S, image: ImageResource, @ContentBuilder content: () -> C) where Content == LabeledControlGroupContent<C, Label<Text, Image>>, C : View, S : StringProtocol
```

## Parameters

- `title`: A string that describes the contents of the group.

## See Also

### Creating a control group with an image

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