---
title: "subscript(dynamicMember:)"
framework: swiftui
role: symbol
role_heading: Instance Subscript
path: "swiftui/bindable/subscript(dynamicmember:)"
---

# subscript(dynamicMember:)

Returns a binding to the value of a given key path.

## Declaration

```swift
subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<Value, Subject>) -> Binding<Subject> { get }
```

## See Also

### Getting the value

- [wrappedValue](swiftui/bindable/wrappedvalue.md)
- [projectedValue](swiftui/bindable/projectedvalue.md)
