---
title: bodyVariants
framework: carplay
role: symbol
role_heading: Instance Property
path: carplay/cplisttemplatedetailsheader/bodyvariants
---

# bodyVariants

An optional array of strings, ordered from most to least preferred.

## Declaration

```swift
var bodyVariants: [NSAttributedString] { get set }
```

## Discussion

Discussion The variant strings should be provided as localized, displayable content. The system will select the first variant that fits the available space.
