---
title: bounds
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/anchor/source/bounds
---

# bounds

An anchor source rect defined as the entire bounding rect of the current view.

## Declaration

```swift
static var bounds: Anchor<CGRect>.Source { get }
```

## See Also

### Getting rectangle anchor sources

- [rect(_:)](swiftui/anchor/source/rect(_:).md)
