> For the complete documentation index, see [llms.txt](https://pmsgz.gitbook.io/nectar/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pmsgz.gitbook.io/nectar/advanced/web-apis/clipboard.md).

# Clipboard API

## Overview

Clipboard API allows web apps to programatically react on cut, copy, and paste operations performed by the user as well as read from or write to the system clipboard directly on behalf of the user.

## Demo

<https://nectar.website/demo/web-apis/clipboard/>

## Usage

You can refer to the code present in `/partials/web-apis/clipboard.html` file and use it accordingly.

## Reference

<https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API>
