---
title: CompactProductViewStyle
framework: storekit
role: symbol
role_heading: Structure
path: storekit/compactproductviewstyle
---

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

## Declaration

```swift
@MainActor @preconcurrency struct CompactProductViewStyle
```

## Topics

### Getting the compact product view style

- [compact](storekit/productviewstyle/compact.md)

### Creating the style

- [init()](storekit/compactproductviewstyle/init().md)

## Relationships

### Conforms To

- [ProductViewStyle](storekit/productviewstyle.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Supporting types

- [AutomaticProductViewStyle](storekit/automaticproductviewstyle.md)
- [RegularProductViewStyle](storekit/regularproductviewstyle.md)
- [LargeProductViewStyle](storekit/largeproductviewstyle.md)
