# use copy to clipboard, 21st-strlrd-29 component by strlrd-29

Copy text to the clipboard easily with useCopyToClipboard, while keeping track of the most recently copied value.

> Page: https://ui.eneawork.it/comp/21st-strlrd-29/use-copy-to-clipboard
> Markdown: https://ui.eneawork.it/comp/21st-strlrd-29/use-copy-to-clipboard.md

- Library: [21st-strlrd-29](/components/lib/21st-strlrd-29)
- HTML page: https://ui.eneawork.it/comp/21st-strlrd-29/use-copy-to-clipboard

## Install

```bash
npx shadcn@latest add "https://ui.eneawork.it/api/registry/21st-strlrd-29/use-copy-to-clipboard.json?token=YOUR_TOKEN"
```

The registry endpoints are token-gated (create a free account in the app, then copy the registry token). The raw source is also readable at `/api/registry/<library>/<name>.json`.
