---
title: templates
framework: carplay
role: symbol
role_heading: Instance Property
path: carplay/cptabbartemplate/templates
---

# templates

The tab bar’s templates.

## Declaration

```swift
var templates: [CPTemplate] { get }
```

## Discussion

Discussion The array contains the root template from each of the tab bar’s tabs. To add new templates to the tab bar, to remove or reorder existing templates, or to update a template’s tab bar appearance, use the updateTemplates(_:) method.

## See Also

### Managing the Templates

- [updateTemplates(_:)](carplay/cptabbartemplate/updatetemplates(_:).md)
- [maximumTabCount](carplay/cptabbartemplate/maximumtabcount.md)
