<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/Subview/ContainerSizingOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI7SubviewVAAE22ContainerSizingOptionsO"
  },
  "title" : "Subview.ContainerSizingOptions"
}
-->

# Subview.ContainerSizingOptions

Options on how all subviews should be sized when in a container.

```
enum ContainerSizingOptions
```

## Overview> Note: this option is not about the sizing considerations of a view
> being measured individually. Instead, this option describes the sizing
> characteristics of a group of subviews altogether, which also would only
> have actual effects when used in a container.

## Topics

### Enumeration Cases

[`case uniform(axis: Axis.Set)`](/documentation/SwiftUI/Subview/ContainerSizingOptions/uniform(axis:))

Subviews will share the same size.

[`case variable`](/documentation/SwiftUI/Subview/ContainerSizingOptions/variable)

Subviews will be sized individually.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)