<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WidgetKit",
  "identifier" : "/documentation/WidgetKit/ControlValueProvider/Value",
  "metadataVersion" : "0.1.0",
  "role" : "Associated Type",
  "symbol" : {
    "kind" : "Associated Type",
    "modules" : [
      "WidgetKit"
    ],
    "preciseIdentifier" : "s:9WidgetKit20ControlValueProviderP0D0Qa"
  },
  "title" : "Value"
}
-->

# Value

The type of value provided to the template.

```
associatedtype Value
```

## Discussion

When you create a custom provider, Swift infers this type from your
implementation of the required [`previewValue`](/documentation/WidgetKit/ControlValueProvider/previewValue)
property and [`currentValue()`](/documentation/WidgetKit/ControlValueProvider/currentValue()) method.

---

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)