<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/SubscriptionOptionSection",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "StoreKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:17_StoreKit_SwiftUI25SubscriptionOptionSectionV"
  },
  "title" : "SubscriptionOptionSection"
}
-->

# SubscriptionOptionSection

```
@MainActor @preconcurrency struct SubscriptionOptionSection<Header, Content, Footer> where Header : View, Content : StoreContent, Footer : View
```

## Topics

### Creating subscription option sections

[`init(LocalizedStringKey, isIncluded: (Product) -> Bool, footer: () -> Footer)`](/documentation/StoreKit/SubscriptionOptionSection/init(_:isIncluded:footer:)-17lo3)

[`init(some StringProtocol, isIncluded: (Product) -> Bool, footer: () -> Footer)`](/documentation/StoreKit/SubscriptionOptionSection/init(_:isIncluded:footer:)-36k79)

[`init(isIncluded: (Product) -> Bool, header: () -> Header, footer: () -> Footer)`](/documentation/StoreKit/SubscriptionOptionSection/init(isIncluded:header:footer:))

### Choosing a subscription option group style

  <doc://com.apple.documentation/documentation/SwiftUI/View/subscriptionStoreOptionGroupStyle(_:)>

## Relationships

### Conforms To

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

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

[`StoreContent`](/documentation/StoreKit/StoreContent)

---

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)