---
title: previewValue
framework: widgetkit
role: symbol
role_heading: Instance Property
path: widgetkit/controlvalueprovider/previewvalue
---

# previewValue

A value to be shown while previewing the control in the add sheet.

## Declaration

```swift
var previewValue: Self.Value { get }
```

## Discussion

Discussion This value should be generated quickly and cheaply. Calculate more expensive and accurate values in currentValue().
