---
title: topShelfItems
framework: tvservices
role: symbol
role_heading: Instance Property
path: tvservices/tvcontentitem/topshelfitems
---

# topShelfItems

An array of content items that are the items of a section.

## Declaration

```swift
var topShelfItems: [TVContentItem]? { get set }
```

## Discussion

Discussion If this property is non-nil, the content item represents a section item in a sectioned Top Shelf style. For more information, see TVTopShelfContentStyle. The title property must also be set to a non-nil string.

## See Also

### Inspecting the General Display Properties

- [badgeCount](tvservices/tvcontentitem/badgecount.md)
- [title](tvservices/tvcontentitem/title.md)
