Interactive previews iPhone Apple TV

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.

CompactProductViewStyle - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview

Platform Compatibility

iOS 17.0+ iPadOS 17.0+ macOS 14.0+ tvOS 17.0+

Tags

SwiftUI Code

Docs
ProductView(id: "auto_renewable_subscription_1", prefersPromotionalIcon: true)
    .productViewStyle(.compact)

Found an issue or have a suggestion?

Created: June 27, 2026Updated: July 12, 2026
Connect Wizard

Connect Wizard

Unlock insights App Store Connect doesn’t show you.

Get Started

More ProductView Components

View all
RegularProductViewStyle - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview
style

RegularProductViewStyle

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

LargeProductViewStyle - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview
style

LargeProductViewStyle

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

Placeholder Icon Product View - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview
initializer

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
initializer

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
initializer

Product View

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

Explore Other Components

Browse all
Content Unavailable Search Text - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview
type

Content Unavailable Search Text

A pre-built placeholder for empty search results with search text

Min Max Current Value Gauge - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview
initializer

Min Max Current Value Gauge

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

Pinned Toolbar Item Placement - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview
initializer

Pinned Toolbar Item Placement

A placement that pins the item to the trailing edge of the toolbar.

Toolbar Overflow Menu - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview
initializer

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.

List Row Separator Tint - iOS on iPhone - Portrait - Flat Design - Light Mode - Preview
modifier

List Row Separator Tint

Sets the tint color associated with a row.

StepperFieldDatePickerStyle - macOS - Flat Design - Light Mode - Preview
style

StepperFieldDatePickerStyle

A system style that displays the components in an editable field, with adjoining stepper that can increment/decrement the selected component

AccessoryLinearGaugeStyle - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview
style

AccessoryLinearGaugeStyle

A gauge style that displays bar with a marker that appears at a point along the bar to indicate the gauge’s current value

MultiDatePicker - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview
initializer

MultiDatePicker

A control for picking multiple dates.