---
title: items
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitoolbar/items
---

# items

The items displayed on the toolbar.

## Declaration

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

## Discussion

Discussion The items, instances of 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:) method to animate changes. The default value is nil.

## See Also

### Configuring toolbar items

- [setItems(_:animated:)](uikit/uitoolbar/setitems(_:animated:).md)
