<!--
{
  "documentType" : "article",
  "framework" : "CarPlay",
  "identifier" : "/documentation/CarPlay/list-content",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Supporting types for lists"
}
-->

# Supporting types for lists

Create sections, single-line items, multi-element rows, headers, and other content for your list.

## Discussion

A [`CPListTemplate`](/documentation/CarPlay/CPListTemplate) displays one or more rows of content in a scrollable interface. Each row of the
list is an item, which you implement using the [`CPListItem`](/documentation/CarPlay/CPListItem), [`CPListImageRowItem`](/documentation/CarPlay/CPListImageRowItem), or [`CPMessageListItem`](/documentation/CarPlay/CPMessageListItem)
types. Organize groups of items into sections with a title, and add headers and specialized content to
the list to display your app’s content.

Each[`CPListImageRowItem`](/documentation/CarPlay/CPListImageRowItem) object in your list contains one or more *elements*, which manage the
actual content for the row. Every element contains an image, and some elements display text and optional overlay
content. A row item displays its elements side-by-side to make better use of the available space. A single
row can also have multiple lines of elements when you have more content to display. Choose from one of several
element types to give your content a unique appearance in your app’s interface.

## Topics

### Sections

[`class CPListSection`](/documentation/CarPlay/CPListSection)

A container that groups related items in a list interface.

### Rows

[`class CPListItem`](/documentation/CarPlay/CPListItem)

A selectable row in a list interface.

[`class CPListImageRowItem`](/documentation/CarPlay/CPListImageRowItem)

A row type that displays multiple sub-elements horizontally in a variety of styles.

[`class CPMessageListItem`](/documentation/CarPlay/CPMessageListItem)

A list template row that manages a text message thread or contact.

### Row elements

[`class CPListImageRowItemRowElement`](/documentation/CarPlay/CPListImageRowItemRowElement)

A row element that displays an image, title, and subtitle.

[`class CPListImageRowItemCardElement`](/documentation/CarPlay/CPListImageRowItemCardElement)

A row element that displays an image and text on a card-style background.

[`class CPListImageRowItemCondensedElement`](/documentation/CarPlay/CPListImageRowItemCondensedElement)

A row element that displays an image and text in a vertically condensed style.

[`class CPListImageRowItemGridElement`](/documentation/CarPlay/CPListImageRowItemGridElement)

A row element that displays an image.

[`class CPListImageRowItemImageGridElement`](/documentation/CarPlay/CPListImageRowItemImageGridElement)

A row element that displays an image with a custom cutout shape and a title.

### Message row configuration

[`class CPMessageListItemLeadingConfiguration`](/documentation/CarPlay/CPMessageListItemLeadingConfiguration)

A type that defines the content at the leading edge of a message list item’s row.

[`class CPMessageListItemTrailingConfiguration`](/documentation/CarPlay/CPMessageListItemTrailingConfiguration)

A type that defines the content at the trailing edge of a message list item’s row.

[`let CPMaximumMessageItemImageSize: CGSize`](/documentation/CarPlay/CPMaximumMessageItemImageSize)

The maximum size for images in the leading and trailing regions of a message list item.

[`let CPMaximumMessageItemLeadingDetailTextImageSize: CGSize`](/documentation/CarPlay/CPMaximumMessageItemLeadingDetailTextImageSize)

The maximum size for images in the detail text image of a message list item.

### Headers and special cells

[`class CPAssistantCellConfiguration`](/documentation/CarPlay/CPAssistantCellConfiguration)

A type that configures a special row in for performing app-related actions using Siri.

[`class CPListTemplateDetailsHeader`](/documentation/CarPlay/CPListTemplateDetailsHeader)

A header section that displays rich media content and action buttons above a list of items.

### Element overlays

[`class CPImageOverlay`](/documentation/CarPlay/CPImageOverlay)

A type that manages content you layer on top of a thumbnail image.

[`class CPSportsOverlay`](/documentation/CarPlay/CPSportsOverlay)

A type that displays sporting event details on top of a thumbnail image.

### Common types

[`class CPThumbnailImage`](/documentation/CarPlay/CPThumbnailImage)

An image that can display overlays and metadata on top of the image.

[`class CPListImageRowItemElement`](/documentation/CarPlay/CPListImageRowItemElement)

An abstract class for an element in a row of a list.

[`protocol CPSelectableListItem`](/documentation/CarPlay/CPSelectableListItem)

An interface for responding to selections in list items.

[`protocol CPListTemplateItem`](/documentation/CarPlay/CPListTemplateItem)

An interface that describes the common properties of all list item types.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)