---
title: "frame(in:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/geometryproxy/frame(in:)-68tks"
---

# frame(in:)

Returns the container view’s bounds rectangle, converted to a defined coordinate space.

## Declaration

```swift
func frame(in coordinateSpace: some CoordinateSpaceProtocol) -> CGRect
```
