<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIToolbar/items",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIToolbar(py)items"
  },
  "title" : "items"
}
-->

# items

The items displayed on the toolbar.

```
var items: [UIBarButtonItem]? { get set }
```

## Discussion

The items, instances of [`UIBarButtonItem`](/documentation/UIKit/UIBarButtonItem), that are visible on the toolbar in the order they appear in this array. Any changes to this property aren’t animated. Use the [`setItems(_:animated:)`](/documentation/UIKit/UIToolbar/setItems(_:animated:)) method to animate changes.

The default value is `nil`.

---

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)