---
title: "PopoverAttachmentAnchor.rect(_:)"
framework: swiftui
role: symbol
role_heading: Case
path: "swiftui/popoverattachmentanchor/rect(_:)"
---

# PopoverAttachmentAnchor.rect(_:)

The anchor point for the popover relative to the source’s frame.

## Declaration

```swift
case rect(Anchor<CGRect>.Source)
```

## See Also

### Getting attachment anchors

- [PopoverAttachmentAnchor.point(_:)](swiftui/popoverattachmentanchor/point(_:).md)
