<!--
{
  "availability" : [
    "iOS: 13.4.0 -",
    "iPadOS: 13.4.0 -",
    "macCatalyst: 13.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CarPlay",
  "identifier" : "/documentation/CarPlay/CPDashboardButton/subtitleVariants",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "CarPlay"
    ],
    "preciseIdentifier" : "c:objc(cs)CPDashboardButton(py)subtitleVariants"
  },
  "title" : "subtitleVariants"
}
-->

# subtitleVariants

The array of subtitle variants for the button.

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

## 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:)`](/documentation/CarPlay/CPDashboardButton/init(titleVariants:subtitleVariants:image:handler:)) as localized, displayable content.

---

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)