<!--
{
  "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/SubscriptionStoreControlStyleConfiguration/Section",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "StoreKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:17_StoreKit_SwiftUI012SubscriptionA25ControlStyleConfigurationV7SectionV"
  },
  "title" : "SubscriptionStoreControlStyleConfiguration.Section"
}
-->

# SubscriptionStoreControlStyleConfiguration.Section

The properties of a section of subscription options within a subscription store control.

```
struct Section
```

## Overview

Each value represents an instance of [`SubscriptionOptionSection`](/documentation/StoreKit/SubscriptionOptionSection) when the system creates a [`SubscriptionStoreView`](/documentation/StoreKit/SubscriptionStoreView).

Even if a subscription store instance doesn’t declare sections using [`SubscriptionOptionSection`](/documentation/StoreKit/SubscriptionOptionSection), the instance always has at least one implicit section that contains the options within the group. Implicit sections have `nil` for the [`header`](/documentation/StoreKit/SubscriptionStoreControlStyleConfiguration/Section/header-swift.property) and [`footer`](/documentation/StoreKit/SubscriptionStoreControlStyleConfiguration/Section/footer-swift.property) accessory views.

## Topics

### Getting a section’s content

[`var options: [SubscriptionStoreControlStyleConfiguration.Option]`](/documentation/StoreKit/SubscriptionStoreControlStyleConfiguration/Section/options)

The subscription options to merchandise within a section.

### Getting accessory views

[`var header: SubscriptionStoreControlStyleConfiguration.Section.Header?`](/documentation/StoreKit/SubscriptionStoreControlStyleConfiguration/Section/header-swift.property)

A decorative header view for a section that displays before the options.

[`var footer: SubscriptionStoreControlStyleConfiguration.Section.Footer?`](/documentation/StoreKit/SubscriptionStoreControlStyleConfiguration/Section/footer-swift.property)

A decorative footer view for a section that displays after the options.

[`struct Header`](/documentation/StoreKit/SubscriptionStoreControlStyleConfiguration/Section/Header-swift.struct)

A type-erased header of a section of subscription options.

[`struct Footer`](/documentation/StoreKit/SubscriptionStoreControlStyleConfiguration/Section/Footer-swift.struct)

A type-erased footer of a section of subscription options.

### Identifying a section

[`struct ID`](/documentation/StoreKit/SubscriptionStoreControlStyleConfiguration/Section/ID)

The stable identity of a section of subscription options.

## Relationships

### Conforms To

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

---

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)