---
title: Clipboard
framework: swiftui
role: collectionGroup
role_heading: API Collection
path: swiftui/clipboard
---

# Clipboard

Enable people to move or duplicate items by issuing Copy and Paste commands.

## Overview

Overview When people issue standard Copy and Cut commands, they expect to move items to the system’s Clipboard, from which they can paste the items into another place in the same app or into another app. Your app can participate in this activity if you add view modifiers that indicate how to respond to the standard commands.

In your copy and paste modifiers, provide or accept types that conform to the Transferable protocol, or that inherit from the NSItemProvider class. When possible, prefer using transferable items.

## Topics

### Copying transferable items

- [copyable(_:)](swiftui/view/copyable(_:).md)
- [cuttable(for:action:)](swiftui/view/cuttable(for:action:).md)
- [pasteDestination(for:action:validator:)](swiftui/view/pastedestination(for:action:validator:).md)

### Copying items using item providers

- [onCopyCommand(perform:)](swiftui/view/oncopycommand(perform:).md)
- [onCutCommand(perform:)](swiftui/view/oncutcommand(perform:).md)
- [onPasteCommand(of:perform:)](swiftui/view/onpastecommand(of:perform:).md)
- [onPasteCommand(of:validator:perform:)](swiftui/view/onpastecommand(of:validator:perform:).md)

## See Also

### Event handling

- [Gestures](swiftui/gestures.md)
- [Input events](swiftui/input-events.md)
- [Drag and drop](swiftui/drag-and-drop.md)
- [Focus](swiftui/focus.md)
- [System events](swiftui/system-events.md)
