# @lexical/clipboard

> This package provides the copy/paste functionality for Lexical.

Latest version **0.51.0** (published 2026-09-17) · MIT license · 3.0M weekly downloads

## Install

```sh
npm install @lexical/clipboard
pnpm add @lexical/clipboard
yarn add @lexical/clipboard
bun add @lexical/clipboard
```

## Health

**Score 100/100 (A)** — status: active.

Positive: high downloads; has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; inferred trend; popular repo.

Warnings: pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.51.0 |
| Published | 2026-09-17 |
| First published | 2022-02-28 |
| Weekly downloads | 3.0M |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 8 |
| Unpacked size | 155.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 23876 |
| Maintainers | fantactuka, zurfyx, acywatson, ipavlov001, trueadm, etrepum |
| Keywords | lexical, editor, rich-text, copy, paste |

## Links

- npm: https://www.npmjs.com/package/@lexical/clipboard
- Repository: https://github.com/facebook/lexical
- npm.io page: https://npm.io/package/@lexical/clipboard

## Dependencies (8)

- [lexical](https://npm.io/package/lexical.md) 0.51.0
- [@lexical/html](https://npm.io/package/@lexical/html.md) 0.51.0
- [@lexical/list](https://npm.io/package/@lexical/list.md) 0.51.0
- [@lexical/utils](https://npm.io/package/@lexical/utils.md) 0.51.0
- [@lexical/internal](https://npm.io/package/@lexical/internal.md) 0.51.0
- [@lexical/extension](https://npm.io/package/@lexical/extension.md) 0.51.0
- [@lexical/selection](https://npm.io/package/@lexical/selection.md) 0.51.0
- [@types/trusted-types](https://npm.io/package/@types/trusted-types.md) ^2.0.7

## Alternatives

- [ext-list](https://npm.io/package/ext-list.md) — 6.3M weekly downloads
- [@lexical/selection](https://npm.io/package/@lexical/selection.md) — 3.8M weekly downloads
- [@lexical/text](https://npm.io/package/@lexical/text.md) — 3.6M weekly downloads
- [@tiptap/extension-mention](https://npm.io/package/@tiptap/extension-mention.md) — 3.0M weekly downloads
- [@ckeditor/ckeditor5-utils](https://npm.io/package/@ckeditor/ckeditor5-utils.md) — 1.5M weekly downloads

## Recent versions

- 0.51.0 (latest) — 2026-09-17
- 0.51.1-nightly.20260921.0 (nightly) — 2026-09-21
- 0.45.1-dev.0 (dev) — 2026-05-30
- 0.6.1-next.0 (next) — 2022-11-04
- 0.51.1-nightly.20260918.0 — 2026-09-18
- 0.50.1-nightly.20260917.0 — 2026-09-17
- 0.50.1-nightly.20260916.0 — 2026-09-16
- 0.50.1-nightly.20260915.0 — 2026-09-15
- 0.50.1-nightly.20260914.0 — 2026-09-14
- 0.50.1-nightly.20260911.0 — 2026-09-11
- 0.50.1-nightly.20260910.0 — 2026-09-10
- 0.50.1-nightly.20260909.0 — 2026-09-09
- 0.50.1-nightly.20260908.0 — 2026-09-08
- 0.50.1-nightly.20260907.0 — 2026-09-07
- 0.50.1-nightly.20260904.0 — 2026-09-04
- … 676 more at https://npm.io/package/@lexical/clipboard/versions

## README

# `@lexical/clipboard`

[![See API Documentation](https://lexical.dev/img/see-api-documentation.svg)](https://lexical.dev/docs/api/modules/lexical_clipboard)

This package contains the functionality for the clipboard feature of Lexical.

---
_Source: https://npm.io/package/@lexical/clipboard · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
