---
title: "Placeholder Icon Store View | Explore SwiftUI"
description: "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"
canonical_url: "https://exploreswiftui.com/library/storeview/placeholder-icon-store-view"
meta:
  author: "Explore SwiftUI"
  "og:description": "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"
  "og:image": "https://exploreswiftui.com/_og/d/c_Component%2Ctitle_Placeholder%2BIcon%2BStore%2BView%2Cdescription_~Q3JlYXRlcyBhIHZpZXcgdG8gbG9hZCBhIGNvbGxlY3Rpb24gb2YgcHJvZHVjdHMgZnJvbSB0aGUgQXBwIFN0b3JlIHVzaW5nIHByb2R1Y3QgaWRlbnRpZmllcnMsIGFuZCBtZXJjaGFuZGlzZSB0aGVtIHVzaW5nIGFuIGltYWdlIGFuZCBhIGN1c3RvbSBwbGFjZWhvbGRlciBpY29uLg%2Ccategory_StoreView%2Cimage_~L2FwaS9pbWFnZXMvMjE1L3ZhcmlhbnRzLzY1Mz92PTE3OTAwNzM0Nzg4NDImcj0yJnc9MTI4MCZxPTg1JmY9anBlZw%2CimageMode_crop%2CimagePosition_top%2CimageFrame_~cG9zaXRpb246IGFic29sdXRlOyByaWdodDogMDsgd2lkdGg6IDY0MHB4OyBoZWlnaHQ6IDQ4MHB4OyBkaXNwbGF5OiBmbGV4OyBvdmVyZmxvdzogaGlkZGVuOyBiYWNrZ3JvdW5kOiAjRkZGRkZGOyBib3gtc2hhZG93OiAwIC0xMHB4IDUwcHggcmdiYSgzNyw5OSwyMzUsMC4xOCk7IGJvcmRlci1sZWZ0OiAxcHggc29saWQgcmdiYSgwLDAsMCwwLjA2KTsgYm90dG9tOiAwOyBib3JkZXItdG9wOiAxcHggc29saWQgcmdiYSgwLDAsMCwwLjA2KTsgYm9yZGVyLXRvcC1sZWZ0LXJhZGl1czogNzRweDs%2Cprops_eyJwbGF0Zm9ybXMiOlsiaU9TIiwiaVBhZE9TIiwibWFjT1MiLCJ3YXRjaE9TIiwidHZPUyIsInZpc2lvbk9TIl19%2Cp_Ii9saWJyYXJ5L3N0b3Jldmlldy9wbGFjZWhvbGRlci1pY29uLXN0b3JlLXZpZXci%2Cs_VlkfyKnHwgo4U9hv.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Placeholder Icon Store View | Explore SwiftUI"
  "twitter:description": "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"
  "twitter:image": "https://exploreswiftui.com/_og/d/c_Component%2Ctitle_Placeholder%2BIcon%2BStore%2BView%2Cdescription_~Q3JlYXRlcyBhIHZpZXcgdG8gbG9hZCBhIGNvbGxlY3Rpb24gb2YgcHJvZHVjdHMgZnJvbSB0aGUgQXBwIFN0b3JlIHVzaW5nIHByb2R1Y3QgaWRlbnRpZmllcnMsIGFuZCBtZXJjaGFuZGlzZSB0aGVtIHVzaW5nIGFuIGltYWdlIGFuZCBhIGN1c3RvbSBwbGFjZWhvbGRlciBpY29uLg%2Ccategory_StoreView%2Cimage_~L2FwaS9pbWFnZXMvMjE1L3ZhcmlhbnRzLzY1Mz92PTE3OTAwNzM0Nzg4NDImcj0yJnc9MTI4MCZxPTg1JmY9anBlZw%2CimageMode_crop%2CimagePosition_top%2CimageFrame_~cG9zaXRpb246IGFic29sdXRlOyByaWdodDogMDsgd2lkdGg6IDY0MHB4OyBoZWlnaHQ6IDQ4MHB4OyBkaXNwbGF5OiBmbGV4OyBvdmVyZmxvdzogaGlkZGVuOyBiYWNrZ3JvdW5kOiAjRkZGRkZGOyBib3gtc2hhZG93OiAwIC0xMHB4IDUwcHggcmdiYSgzNyw5OSwyMzUsMC4xOCk7IGJvcmRlci1sZWZ0OiAxcHggc29saWQgcmdiYSgwLDAsMCwwLjA2KTsgYm90dG9tOiAwOyBib3JkZXItdG9wOiAxcHggc29saWQgcmdiYSgwLDAsMCwwLjA2KTsgYm9yZGVyLXRvcC1sZWZ0LXJhZGl1czogNzRweDs%2Cprops_eyJwbGF0Zm9ybXMiOlsiaU9TIiwiaVBhZE9TIiwibWFjT1MiLCJ3YXRjaE9TIiwidHZPUyIsInZpc2lvbk9TIl19%2Cp_Ii9saWJyYXJ5L3N0b3Jldmlldy9wbGFjZWhvbGRlci1pY29uLXN0b3JlLXZpZXci%2Cs_VlkfyKnHwgo4U9hv.png"
  "twitter:title": "Placeholder Icon 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=215)

# **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.

![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=800&q=80&f=webp)

### **Platform Compatibility**

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

### **Tags**

### **SwiftUI Code**

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

```
StoreView(ids: ["auto_renewable_subscription_1", "non_consumable_1"]) { product in
    if product.id == "auto_renewable_subscription_1" {
        Image(systemName: "checkmark.seal")
    } else {
        Image(systemName: "cat")
    }
} placeholderIcon: {
    ProgressView()
}
```

### **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.

![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.

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

### **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.

### **Explore Other Components **

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

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

### **Menu Action Button**

Acts like a button and opens the menu on a secondary gesture

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

### **SliderTickContentForEach**

A type of slider content that creates content by iterating over a collection.

![Horizontal Radio Group Layout - macOS - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/187/variants/588?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Horizontal Radio Group Layout**

Sets the style for radio group style pickers within this view to be horizontally positioned with the radio buttons inside the layout.

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

### **Title Toolbar Item Placement**

Places content in the title area

![Role Button With Default Label - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/134/variants/424?v=1794864738764&r=2&w=412&q=75&f=webp)

### **Role Button With Default Label**

Creates a button that displays a default label.

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

### **Button Roles**

A value that describes the purpose of a button.

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

### **Button Styles**

A type that applies standard interaction behavior and a custom appearance to all buttons within a view hierarchy

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

### **Gauge Colors**

Customizing the colors of different styles with minimal effort

```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/placeholder-icon-store-view#webpage","@type":"WebPage","dateModified":"2026-07-12T16:22:39.946Z","datePublished":"2026-07-12T10:28:59.484Z","description":"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","name":"Placeholder Icon Store View","url":"https://exploreswiftui.com/library/storeview/placeholder-icon-store-view","breadcrumb":{"@id":"https://exploreswiftui.com/library/storeview/placeholder-icon-store-view#breadcrumb"},"isPartOf":{"@id":"https://exploreswiftui.com/#website"},"mainEntity":{"@id":"https://exploreswiftui.com/library/storeview/placeholder-icon-store-view#article"},"potentialAction":[{"@type":"ReadAction","target":["https://exploreswiftui.com/library/storeview/placeholder-icon-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/placeholder-icon-store-view#article","citation":"https://developer.apple.com/documentation/storekit/storeview/init(ids:preferspromotionalicon:icon:placeholdericon:)","dateModified":"2026-07-12T16:22:39.946Z","datePublished":"2026-07-12T10:28:59.484Z","description":"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","headline":"Placeholder Icon Store View","inLanguage":"en-US","name":"Placeholder Icon Store View","thumbnailUrl":"https://exploreswiftui.com/api/images/215/variants/653?v=1790073478842&r=2","url":"https://exploreswiftui.com/library/storeview/placeholder-icon-store-view","@type":["Article","TechArticle"],"about":{"@type":"Thing","name":"SwiftUI"},"author":{"@id":"https://exploreswiftui.com/#identity"},"hasPart":{"@id":"https://exploreswiftui.com/library/storeview/placeholder-icon-store-view#source-code"},"image":{"@id":"https://exploreswiftui.com/#/schema/image/1"},"isPartOf":{"@id":"https://exploreswiftui.com/library/storeview/placeholder-icon-store-view#webpage"},"mainEntityOfPage":{"@id":"https://exploreswiftui.com/library/storeview/placeholder-icon-store-view#webpage"},"publisher":{"@id":"https://exploreswiftui.com/#identity"}},{"@id":"https://exploreswiftui.com/library/storeview/placeholder-icon-store-view#source-code","@type":"SoftwareSourceCode","codeSampleType":"full example","description":"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","name":"Placeholder Icon Store View SwiftUI Example","programmingLanguage":"Swift","runtimePlatform":"SwiftUI","text":"StoreView(ids: [\"auto_renewable_subscription_1\", \"non_consumable_1\"]) { product in\n    if product.id == \"auto_renewable_subscription_1\" {\n        Image(systemName: \"checkmark.seal\")\n    } else {\n        Image(systemName: \"cat\")\n    }\n} placeholderIcon: {\n    ProgressView()\n}","about":[{"@type":"Thing","name":"SwiftUI"},{"@type":"Thing","name":"StoreView"},{"@type":"Thing","name":"Placeholder Icon Store View"}]},{"@id":"https://exploreswiftui.com/library/storeview/placeholder-icon-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":"Placeholder Icon Store View","item":"https://exploreswiftui.com/library/storeview/placeholder-icon-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/215/variants/653?v=1790073478842&r=2","inLanguage":"en","url":"https://exploreswiftui.com/api/images/215/variants/653?v=1790073478842&r=2"}]}
```