---
title: imageComponents
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsdraggingitem/imagecomponents
---

# imageComponents

An array of dragging image components to use to create the drag image.

## Declaration

```swift
var imageComponents: [NSDraggingImageComponent]? { get }
```

## Discussion

Discussion The array contains copies of the components. The drag does not reflect changes you make to these copies. If needed, the system calls the imageComponentsProvider block to generate the image components.

## See Also

### Drag image components

- [imageComponentsProvider](appkit/nsdraggingitem/imagecomponentsprovider.md)
- [NSDraggingItem.ImageComponentKey](appkit/nsdraggingitem/imagecomponentkey.md)
- [item](appkit/nsdraggingitem/item.md)
