---
title: previewSize
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uicollectionviewdropitem/previewsize
---

# previewSize

The size of the drag item’s preview.

## Declaration

```swift
var previewSize: CGSize { get }
```

## Discussion

Discussion You might use this property when configuring animations. If the item does not have an associated preview, this property is set to CGSizeZero.

## See Also

### Getting the Item Information

- [sourceIndexPath](uikit/uicollectionviewdropitem/sourceindexpath.md)
