---
title: "axes(_:)"
framework: SwiftUI
role: symbol
role_heading: Instance Method
platforms: [iOS 27.1+, iPadOS 27.1+]
path: "swiftui/overlayarrangementviewstyle/axes(_:)"
---

# axes(_:)

Creates an overlay arrangement that supports laying out its views along the given axes.

## Declaration

```swift
nonisolated func axes(_ axes: Axis.Set) -> OverlayArrangementViewStyle
```
