<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ToolbarItemPlacement/topBarPinnedTrailing",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI20ToolbarItemPlacementV20topBarPinnedTrailingACvpZ"
  },
  "title" : "topBarPinnedTrailing"
}
-->

# topBarPinnedTrailing

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

```
static let topBarPinnedTrailing: ToolbarItemPlacement
```

## 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.

---

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)