---
title: "Store View | Explore SwiftUI"
description: "Creates a view to load and merchandise a collection of products from the App Store using product identifiers. Internally, ProductView is used, and therefore productViewStyle can also be applied here"
canonical_url: "https://exploreswiftui.com/library/storeview/store-view"
meta:
  author: "Explore SwiftUI"
  "og:description": "Creates a view to load and merchandise a collection of products from the App Store using product identifiers. Internally, ProductView is used, and therefore productViewStyle can also be applied here"
  "og:image": "https://exploreswiftui.com/_og/d/c_Component%2Ctitle_Store%2BView%2Cdescription_~Q3JlYXRlcyBhIHZpZXcgdG8gbG9hZCBhbmQgbWVyY2hhbmRpc2UgYSBjb2xsZWN0aW9uIG9mIHByb2R1Y3RzIGZyb20gdGhlIEFwcCBTdG9yZSB1c2luZyBwcm9kdWN0IGlkZW50aWZpZXJzLiBJbnRlcm5hbGx5LCBQcm9kdWN0VmlldyBpcyB1c2VkLCBhbmQgdGhlcmVmb3JlIHByb2R1Y3RWaWV3U3R5bGUgY2FuIGFsc28gYmUgYXBwbGllZCBoZXJlLg%2Ccategory_StoreView%2Cimage_~L2FwaS9pbWFnZXMvMjEzL3ZhcmlhbnRzLzY1MT92PTE3OTAwNzM0Nzg4NDImcj0yJnc9MTI4MCZxPTg1JmY9anBlZw%2CimageMode_crop%2CimagePosition_top%2CimageFrame_~cG9zaXRpb246IGFic29sdXRlOyByaWdodDogMDsgd2lkdGg6IDY0MHB4OyBoZWlnaHQ6IDQ4MHB4OyBkaXNwbGF5OiBmbGV4OyBvdmVyZmxvdzogaGlkZGVuOyBiYWNrZ3JvdW5kOiAjRkZGRkZGOyBib3gtc2hhZG93OiAwIC0xMHB4IDUwcHggcmdiYSgzNyw5OSwyMzUsMC4xOCk7IGJvcmRlci1sZWZ0OiAxcHggc29saWQgcmdiYSgwLDAsMCwwLjA2KTsgYm90dG9tOiAwOyBib3JkZXItdG9wOiAxcHggc29saWQgcmdiYSgwLDAsMCwwLjA2KTsgYm9yZGVyLXRvcC1sZWZ0LXJhZGl1czogNzRweDs%2Cprops_eyJwbGF0Zm9ybXMiOlsiaU9TIiwiaVBhZE9TIiwibWFjT1MiLCJ3YXRjaE9TIiwidmlzaW9uT1MiXX0%2Cp_Ii9saWJyYXJ5L3N0b3Jldmlldy9zdG9yZS12aWV3Ig%2Cs_MqrZ6MDbuVUJ19by.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Store View | Explore SwiftUI"
  "twitter:description": "Creates a view to load and merchandise a collection of products from the App Store using product identifiers. Internally, ProductView is used, and therefore productViewStyle can also be applied here"
  "twitter:image": "https://exploreswiftui.com/_og/d/c_Component%2Ctitle_Store%2BView%2Cdescription_~Q3JlYXRlcyBhIHZpZXcgdG8gbG9hZCBhbmQgbWVyY2hhbmRpc2UgYSBjb2xsZWN0aW9uIG9mIHByb2R1Y3RzIGZyb20gdGhlIEFwcCBTdG9yZSB1c2luZyBwcm9kdWN0IGlkZW50aWZpZXJzLiBJbnRlcm5hbGx5LCBQcm9kdWN0VmlldyBpcyB1c2VkLCBhbmQgdGhlcmVmb3JlIHByb2R1Y3RWaWV3U3R5bGUgY2FuIGFsc28gYmUgYXBwbGllZCBoZXJlLg%2Ccategory_StoreView%2Cimage_~L2FwaS9pbWFnZXMvMjEzL3ZhcmlhbnRzLzY1MT92PTE3OTAwNzM0Nzg4NDImcj0yJnc9MTI4MCZxPTg1JmY9anBlZw%2CimageMode_crop%2CimagePosition_top%2CimageFrame_~cG9zaXRpb246IGFic29sdXRlOyByaWdodDogMDsgd2lkdGg6IDY0MHB4OyBoZWlnaHQ6IDQ4MHB4OyBkaXNwbGF5OiBmbGV4OyBvdmVyZmxvdzogaGlkZGVuOyBiYWNrZ3JvdW5kOiAjRkZGRkZGOyBib3gtc2hhZG93OiAwIC0xMHB4IDUwcHggcmdiYSgzNyw5OSwyMzUsMC4xOCk7IGJvcmRlci1sZWZ0OiAxcHggc29saWQgcmdiYSgwLDAsMCwwLjA2KTsgYm90dG9tOiAwOyBib3JkZXItdG9wOiAxcHggc29saWQgcmdiYSgwLDAsMCwwLjA2KTsgYm9yZGVyLXRvcC1sZWZ0LXJhZGl1czogNzRweDs%2Cprops_eyJwbGF0Zm9ybXMiOlsiaU9TIiwiaVBhZE9TIiwibWFjT1MiLCJ3YXRjaE9TIiwidmlzaW9uT1MiXX0%2Cp_Ii9saWJyYXJ5L3N0b3Jldmlldy9zdG9yZS12aWV3Ig%2Cs_MqrZ6MDbuVUJ19by.png"
  "twitter:title": "Store View | Explore SwiftUI"
---

> Index of every page on this site: [llms.txt](https://exploreswiftui.com/llms.txt)

**Interactive previews**[ iPhone](https://exploreswiftui.com/iphone?element=213)

# **Store View**

Creates a view to load and merchandise a collection of products from the App Store using product identifiers. Internally, ProductView is used, and therefore productViewStyle can also be applied here.

![Store View - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/213/variants/651?v=1790073478842&r=2&w=800&q=80&f=webp)

### **Platform Compatibility**

iOS 17.0+ iPadOS 17.0+ macOS 14.0+ watchOS 10.0+ visionOS 1.0+

### **Tags**

### **SwiftUI Code**

[ Docs](<https://developer.apple.com/documentation/storekit/storeview/init(ids:preferspromotionalicon:)>)

```
VStack {
    StoreView(ids: ["auto_renewable_subscription_1", "non_consumable_1"])
    StoreView(ids: ["auto_renewable_subscription_1", "non_consumable_1"], prefersPromotionalIcon: true)
}
```

### **Found an issue or have a suggestion?**

Created: July 12, 2026Updated: July 12, 2026

### **More StoreView Components **

[**View all **](https://exploreswiftui.com/library/storeview)

![Store Cancellation Button - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/218/variants/134?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Store Cancellation Button**

A type of button that people use to dismiss the current store presentation. It is displayed by default and only works in a sheet.

![Restore Purchases Button - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/217/variants/77?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Restore Purchases Button**

A type of button that people use to restore purchases.

![Icon Phase Store View - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/216/variants/705?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Icon Phase Store View**

Creates a view to load a collection of products from the App Store using product identifiers, and merchandise them using their promotional images and a custom placeholder icon.

![Placeholder Icon Store View - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/215/variants/653?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Placeholder Icon Store View**

Creates a view to load a collection of products from the App Store using product identifiers, and merchandise them using an image and a custom placeholder icon.

![Custom Icon Store View - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/214/variants/649?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Custom Icon Store View**

Creates a view to load a collection of products from the App Store using product identifiers, and merchandise them using a custom image.

### **Explore Other Components **

[**Browse all **](https://exploreswiftui.com/)

![WheelPickerStyle - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/186/variants/604?v=1790073478842&r=2&w=412&q=75&f=webp)

### **WheelPickerStyle**

A picker style that presents the options in a scrollable wheel that shows the selected option and a few neighboring options.

![Gauge - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/38/variants/223?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Gauge**

Creates a gauge showing a value within a range and describes the gauge’s purpose and current value

![Glass Button Styles - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/87/variants/314?v=1794863768271&r=2&w=412&q=75&f=webp)

### **Glass Button Styles**

A button style that applies glass border artwork based on the button’s context

![UIKit Label Colors - iOS on iPhone - Portrait - Flat Design - Light Mode - Preview](https://exploreswiftui.com/api/images/10/variants/45?v=1790073478842&r=2&w=412&q=75&f=webp)

### **UIKit Label Colors**

![Toolbar Overflow Menu - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/237/variants/731?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Toolbar Overflow Menu**

The overflow menu of a toolbar. An overflow menu represents actions that are always placed in the toolbar’s overflow menu, regardless of the toolbar mode, platform, or customizability.

![Min Max Current Value Gauge - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/40/variants/231?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Min Max Current Value Gauge**

Creates a gauge showing a value within a range and describes the gauge’s current, minimum, and maximum values

![Preferred Top Column - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/256/variants/1967?v=1791379474964&r=2&w=412&q=75&f=webp)

### **Preferred Top Column**

Controls which column appears on top of the stack when NavigationSplitView collapses into a single stack in certain contexts, such as on iPhone, when iPhone Duo is closed, or on Apple Watch. By default, the sidebar appears on top. In this case, the detail column does instead.

![Label Icon To Title Spacing - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/274/variants/2467?v=1795268393880&r=2&w=412&q=75&f=webp)

### **Label Icon To Title Spacing**

Set the spacing between the icon and title in labels.

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://exploreswiftui.com/#website","@type":"WebSite","description":"A visual library for SwiftUI APIs, components, and modifiers","inLanguage":"en-US","name":"Explore SwiftUI","url":"https://exploreswiftui.com/","publisher":{"@id":"https://exploreswiftui.com/#identity"}},{"@id":"https://exploreswiftui.com/library/storeview/store-view#webpage","@type":"WebPage","dateModified":"2026-07-12T15:53:32.815Z","datePublished":"2026-07-12T09:38:15.316Z","description":"Creates a view to load and merchandise a collection of products from the App Store using product identifiers. Internally, ProductView is used, and therefore productViewStyle can also be applied here","name":"Store View","url":"https://exploreswiftui.com/library/storeview/store-view","breadcrumb":{"@id":"https://exploreswiftui.com/library/storeview/store-view#breadcrumb"},"isPartOf":{"@id":"https://exploreswiftui.com/#website"},"mainEntity":{"@id":"https://exploreswiftui.com/library/storeview/store-view#article"},"potentialAction":[{"@type":"ReadAction","target":["https://exploreswiftui.com/library/storeview/store-view"]}],"primaryImageOfPage":{"@id":"https://exploreswiftui.com/#logo"}},{"@id":"https://exploreswiftui.com/#identity","@type":"Organization","description":"A visual library for SwiftUI APIs, components, and modifiers","name":"Explore SwiftUI","url":"https://exploreswiftui.com","logo":{"@id":"https://exploreswiftui.com/#logo"},"sameAs":["https://x.com/Typ0genius","https://mastodon.social/@Typ0genius"]},{"@id":"https://exploreswiftui.com/library/storeview/store-view#article","citation":"https://developer.apple.com/documentation/storekit/storeview/init(ids:preferspromotionalicon:)","dateModified":"2026-07-12T15:53:32.815Z","datePublished":"2026-07-12T09:38:15.316Z","description":"Creates a view to load and merchandise a collection of products from the App Store using product identifiers. Internally, ProductView is used, and therefore productViewStyle can also be applied here","headline":"Store View","inLanguage":"en-US","name":"Store View","thumbnailUrl":"https://exploreswiftui.com/api/images/213/variants/651?v=1790073478842&r=2","url":"https://exploreswiftui.com/library/storeview/store-view","@type":["Article","TechArticle"],"about":{"@type":"Thing","name":"SwiftUI"},"author":{"@id":"https://exploreswiftui.com/#identity"},"hasPart":{"@id":"https://exploreswiftui.com/library/storeview/store-view#source-code"},"image":{"@id":"https://exploreswiftui.com/#/schema/image/1"},"isPartOf":{"@id":"https://exploreswiftui.com/library/storeview/store-view#webpage"},"mainEntityOfPage":{"@id":"https://exploreswiftui.com/library/storeview/store-view#webpage"},"publisher":{"@id":"https://exploreswiftui.com/#identity"}},{"@id":"https://exploreswiftui.com/library/storeview/store-view#source-code","@type":"SoftwareSourceCode","codeSampleType":"full example","description":"Creates a view to load and merchandise a collection of products from the App Store using product identifiers. Internally, ProductView is used, and therefore productViewStyle can also be applied here","name":"Store View SwiftUI Example","programmingLanguage":"Swift","runtimePlatform":"SwiftUI","text":"VStack {\n    StoreView(ids: [\"auto_renewable_subscription_1\", \"non_consumable_1\"])\n    StoreView(ids: [\"auto_renewable_subscription_1\", \"non_consumable_1\"], prefersPromotionalIcon: true)\n}","about":[{"@type":"Thing","name":"SwiftUI"},{"@type":"Thing","name":"StoreView"},{"@type":"Thing","name":"Store View"}]},{"@id":"https://exploreswiftui.com/library/storeview/store-view#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://exploreswiftui.com","position":1},{"@type":"ListItem","name":"StoreView","item":"https://exploreswiftui.com/library/storeview","position":2},{"@type":"ListItem","name":"Store View","item":"https://exploreswiftui.com/library/storeview/store-view","position":3}]},{"@id":"https://exploreswiftui.com/#logo","@type":"ImageObject","caption":"Explore SwiftUI","contentUrl":"https://exploreswiftui.com/apple-touch-icon.png","inLanguage":"en","url":"https://exploreswiftui.com/apple-touch-icon.png"},{"@id":"https://exploreswiftui.com/#/schema/image/1","@type":"ImageObject","contentUrl":"https://exploreswiftui.com/api/images/213/variants/651?v=1790073478842&r=2","inLanguage":"en","url":"https://exploreswiftui.com/api/images/213/variants/651?v=1790073478842&r=2"}]}
```