<!--
{
  "availability" : [
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WidgetKit",
  "identifier" : "/documentation/WidgetKit/AccessoryWidgetGroup/init(_:systemImage:content:)-3mynu",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "WidgetKit"
    ],
    "preciseIdentifier" : "s:9WidgetKit09AccessoryA5GroupVAA7SwiftUI5LabelVyAD4TextVAD5ImageVGRszrlE_06systemI07contentACyAKq_G10Foundation23LocalizedStringResourceV_SSq_yXEtcfc"
  },
  "title" : "init(_:systemImage:content:)"
}
-->

# init(_:systemImage:content:)

Creates an `AccessoryWidgetGroup` that generates its label from a
localized string resource and a system image name.

```
@MainActor @preconcurrency init(_ titleResource: LocalizedStringResource, systemImage: String, @ViewBuilder content: () -> Content)
```

## Parameters

`titleResource`

Resource for the `AccessoryWidgetGroup`’s localized
label.

`systemImage`

The name of the image resource to lookup.

`content`

A view builder for the content of the accessory group.

## Discussion

This initializer creates a `Label` view on your behalf. See
`Text` for more information about localizing strings.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)