---
title: dragPreview
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/contentshapekinds/dragpreview
---

# dragPreview

The kind for drag and drop previews.

## Declaration

```swift
static let dragPreview: ContentShapeKinds
```

## Mentioned in

Making a view into a drag source

## Discussion

Discussion When using this kind, only the preview shape is affected. To control the shape used to hit-test and start the drag preview, use the interaction kind.

## See Also

### Getting shape kinds

- [interaction](swiftui/contentshapekinds/interaction.md)
- [contextMenuPreview](swiftui/contentshapekinds/contextmenupreview.md)
- [focusEffect](swiftui/contentshapekinds/focuseffect.md)
- [hoverEffect](swiftui/contentshapekinds/hovereffect.md)
- [accessibility](swiftui/contentshapekinds/accessibility.md)
