---
title: frame()
framework: swiftui
role: symbol
role_heading: Instance Method
path: swiftui/view/frame()
---

# frame()

Positions this view within an invisible frame.

## Declaration

```swift
nonisolated func frame() -> some View

```

## See Also

### Layout modifiers

- [edgesIgnoringSafeArea(_:)](swiftui/view/edgesignoringsafearea(_:).md)
- [coordinateSpace(name:)](swiftui/view/coordinatespace(name:).md)
