clipboard
@tynd/plugin-clipboard enables the host clipboard API and exposes its typed client. The API itself is documented on the clipboard page.
Install
Section titled “Install”tynd add clipboardimport { clipboard } from "@tynd/plugin-clipboard/client";Declaring the plugin compiles the matching api-clipboard Cargo feature into the app host on the next tynd dev or tynd build. Or by hand: bun add @tynd/plugin-clipboard and list it in plugins in tynd.config.ts. Without it, calls reject with an error naming @tynd/plugin-clipboard.
Package
Section titled “Package”| Package | @tynd/plugin-clipboard |
| Kind | Host-backed official plugin (facade over a host API) |
| Host API | clipboard |
Aliases for tynd add |
copy, paste |
| Catalog permission labels | host:clipboard |
| Estimated size | 110 KB |
| Client exports | ClipboardData, ClipboardImage, clipboard |