---
title: subtitleVariants
framework: carplay
role: symbol
role_heading: Instance Property
path: carplay/cpdashboardbutton/subtitlevariants
---

# subtitleVariants

The array of subtitle variants for the button.

## Declaration

```swift
var subtitleVariants: [String] { get }
```

## Discussion

Discussion An array of subtitle variants for this button in an arrangement from most- to least-preferred. The system selects a subtitle from this array that best fits the available space. You provide the subtitle variants to init(titleVariants:subtitleVariants:image:handler:) as localized, displayable content.

## See Also

### Accessing the Button Configuration

- [titleVariants](carplay/cpdashboardbutton/titlevariants.md)
- [image](carplay/cpdashboardbutton/image.md)
