---
title: topBarPinnedTrailing
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/toolbaritemplacement/topbarpinnedtrailing
---

# topBarPinnedTrailing

A placement that pins the item to the trailing edge of the toolbar.

## Declaration

```swift
static let topBarPinnedTrailing: ToolbarItemPlacement
```

## Discussion

Discussion Pinned items only move to the overflow menu when search is active and there isn’t enough room. On iOS and visionOS, the top bar is the navigation bar.

## See Also

### Getting explicit placement

- [topBarLeading](swiftui/toolbaritemplacement/topbarleading.md)
- [topBarTrailing](swiftui/toolbaritemplacement/topbartrailing.md)
- [bottomBar](swiftui/toolbaritemplacement/bottombar.md)
- [bottomOrnament](swiftui/toolbaritemplacement/bottomornament.md)
- [keyboard](swiftui/toolbaritemplacement/keyboard.md)
- [accessoryBar(id:)](swiftui/toolbaritemplacement/accessorybar(id:).md)
