---
title: Value
framework: swiftui
role: symbol
role_heading: Associated Type
path: swiftui/preferencekey/value
---

# Value

The type of value produced by this preference.

## Declaration

```swift
associatedtype Value
```

## See Also

### Getting the default value

- [defaultValue](swiftui/preferencekey/defaultvalue.md)
