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

# CompactPickerSubscriptionStoreControlStyle

A subscription store control style that displays subscription plans as a compact picker control, with a single button to subscribe.

```
@MainActor @preconcurrency struct CompactPickerSubscriptionStoreControlStyle
```

## Overview

This style lays out the picker options in a horizontal stack, and it can scroll horizontally if the contents are wider than the container. This style is recommended when you expect your store to display two or three subscription options.

## Topics

### Getting the compact picker control style

[`static var compactPicker: CompactPickerSubscriptionStoreControlStyle`](/documentation/StoreKit/SubscriptionStoreControlStyle/compactPicker)

A subscription store control style that displays subscription plans as a compact control, with a single button to subscribe.

### Creating the style

[`init()`](/documentation/StoreKit/CompactPickerSubscriptionStoreControlStyle/init())

Creates a compact picker subscription store control style.

### Placing the controls

[`struct Placement`](/documentation/StoreKit/CompactPickerSubscriptionStoreControlStyle/Placement)

The placement of the compact subscription picker in a subscription store view.

## Relationships

### Conforms To

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

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

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

---

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)