---
title: flexible
framework: realitykit
role: symbol
role_heading: Type Property
path: realitykit/realityviewlayoutoption/flexible
---

# flexible

The option that applies the default layout behavior of RealityView, where the content is not centered and the frame is flexible (takes up as much space as the SwiftUI layout provides).

## Declaration

```swift
static let flexible: RealityViewLayoutOption
```

## Mentioned in

Controlling the layout behavior of a reality view
