---
title: "ProductView Components | Explore SwiftUI"
description: "A view that merchandises an individual In-App Purchase product. Explore 6 SwiftUI productview components with visual code examples."
canonical_url: "https://exploreswiftui.com/library/productview"
meta:
  author: "Explore SwiftUI"
  "og:description": "A view that merchandises an individual In-App Purchase product. Explore 6 SwiftUI productview components with visual code examples."
  "og:image": "https://exploreswiftui.com/_og/d/c_Default%2Ctitle_ProductView%2BComponents%2Cdescription_Explore%2B6%2BSwiftUI%2Bcomponents%2Bvisually%2Cp_Ii9saWJyYXJ5L3Byb2R1Y3R2aWV3Ig%2Cs_9FUYbNf1cZQh71gs.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "ProductView Components | Explore SwiftUI"
  "twitter:description": "A view that merchandises an individual In-App Purchase product. Explore 6 SwiftUI productview components with visual code examples."
  "twitter:image": "https://exploreswiftui.com/_og/d/c_Default%2Ctitle_ProductView%2BComponents%2Cdescription_Explore%2B6%2BSwiftUI%2Bcomponents%2Bvisually%2Cp_Ii9saWJyYXJ5L3Byb2R1Y3R2aWV3Ig%2Cs_9FUYbNf1cZQh71gs.png"
  "twitter:title": "ProductView Components | Explore SwiftUI"
---

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

# **ProductView Components**

A view that merchandises an individual In-App Purchase product.

6 components

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

### **Placeholder Icon Product View**

Creates a view to load an individual product from the App Store, and merchandise it using its promotional image and a custom placeholder icon.

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

### **Custom Icon Product View**

Creates a view to load an individual product from the App Store and merchandise it using a custom icon.

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

### **Product View**

Creates a view to load and merchandise an individual product from the App Store.

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

### **CompactProductViewStyle**

A style for a product view that’s suitable for layouts with less available space, or for displaying more items in a small amount of space.

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

### **RegularProductViewStyle**

A style for a product view that uses a standard, platform-appropriate layout.

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

### **LargeProductViewStyle**

A style for a product view that’s suitable for layouts where the in-app purchase content is prominent.

```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/productview#webpage","@type":"WebPage","description":"A view that merchandises an individual In-App Purchase product. Explore 6 SwiftUI productview components with visual code examples.","name":"ProductView Components","url":"https://exploreswiftui.com/library/productview","breadcrumb":{"@id":"https://exploreswiftui.com/library/productview#breadcrumb"},"isPartOf":{"@id":"https://exploreswiftui.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://exploreswiftui.com/library/productview"]}],"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/productview#collectionpage","@type":"CollectionPage","description":"A view that merchandises an individual In-App Purchase product. Explore 6 SwiftUI productview components with visual code examples.","inLanguage":"en-US","name":"ProductView Components","url":"https://exploreswiftui.com/library/productview","about":{"@type":"Thing","name":"SwiftUI"},"isPartOf":{"@id":"https://exploreswiftui.com/#website"}},{"@id":"https://exploreswiftui.com/library/productview#/schema/item-list/1","@type":"ItemList","name":"ProductView Components","itemListElement":[{"@type":"ListItem","position":1,"name":"Placeholder Icon Product View","url":"https://exploreswiftui.com/library/productview/placeholder-icon-product-view"},{"@type":"ListItem","position":2,"name":"Custom Icon Product View","url":"https://exploreswiftui.com/library/productview/custom-icon-product-view"},{"@type":"ListItem","position":3,"name":"Product View","url":"https://exploreswiftui.com/library/productview/product-view"},{"@type":"ListItem","position":4,"name":"CompactProductViewStyle","url":"https://exploreswiftui.com/library/productview/compactproductviewstyle"},{"@type":"ListItem","position":5,"name":"RegularProductViewStyle","url":"https://exploreswiftui.com/library/productview/regularproductviewstyle"},{"@type":"ListItem","position":6,"name":"LargeProductViewStyle","url":"https://exploreswiftui.com/library/productview/largeproductviewstyle"}]},{"@id":"https://exploreswiftui.com/library/productview#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://exploreswiftui.com","position":1},{"@type":"ListItem","name":"ProductView","item":"https://exploreswiftui.com/library/productview","position":2}]},{"@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"}]}
```