---
title: projectedValue
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/binding/projectedvalue
---

# projectedValue

A projection of the binding value that returns a binding.

## Declaration

```swift
var projectedValue: Binding<Value> { get }
```

## Discussion

Discussion Use the projected value to pass a binding value down a view hierarchy. To get the projectedValue, prefix the property variable with $. For example, in the following code example PlayerView projects a binding of the state property isPlaying to the PlayButton view using $isPlaying. struct PlayerView: View {     var episode: Episode     @State private var isPlaying: Bool = false

var body: some View {         VStack {             Text(episode.title)                 .foregroundStyle(isPlaying ? .primary : .secondary)             PlayButton(isPlaying: $isPlaying)         }     } }

## See Also

### Getting the value

- [wrappedValue](swiftui/binding/wrappedvalue.md)
- [subscript(dynamicMember:)](swiftui/binding/subscript(dynamicmember:).md)
