<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: -",
    "macOS: 14.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WidgetKit",
  "identifier" : "/documentation/WidgetKit/AppIntentConfiguration/init(kind:intent:provider:content:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "WidgetKit"
    ],
    "preciseIdentifier" : "s:9WidgetKit22AppIntentConfigurationV4kind6intent8provider7contentACyxq_GSS_xmqd__q_5EntryQyd__ctc0D0Qyd__RszAA0cD16TimelineProviderRd__lufc"
  },
  "title" : "init(kind:intent:provider:content:)"
}
-->

# init(kind:intent:provider:content:)

Creates a configuration for a widget by using a custom intent
to provide user-configurable options.

```
@MainActor @preconcurrency init<Provider>(kind: String, intent: Intent.Type = Intent.self, provider: Provider, @ViewBuilder content: @escaping (Provider.Entry) -> Content) where Intent == Provider.Intent, Provider : AppIntentTimelineProvider
```

## Parameters

`kind`

A unique string that you choose.

`intent`

A custom intent containing user-editable
parameters.

`provider`

An object that determines the timing of updates
to the widget’s views.

`content`

A view that renders the widget.

---

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)