---
title: trailingBarButtonGroups
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitextinputassistantitem/trailingbarbuttongroups
---

# trailingBarButtonGroups

The array of button item groups to display after the typing suggestions.

## Declaration

```swift
var trailingBarButtonGroups: [UIBarButtonItemGroup] { get set }
```

## Discussion

Discussion Assigning a value to this property installs the corresponding bar button items so that they trail the typing suggestions. (In a left-to-right environment, leading items are placed to the right of the typing suggestions.) If there is not enough room to display all of the items, UIKit may display a group’s representative item instead, if one was provided.

## See Also

### Configuring the shortcuts bar

- [leadingBarButtonGroups](uikit/uitextinputassistantitem/leadingbarbuttongroups.md)
- [allowsHidingShortcuts](uikit/uitextinputassistantitem/allowshidingshortcuts.md)
