Copy Button
duck/copy-buttonUnverifiedComponent
Copies a string to the clipboard and confirms it with a check that pops in and settles back after two seconds. A refused write — plain HTTP, an embedded browser, a denied prompt — announces errorLabel and reports through onError, so the button never just appears to do nothing.
Install it
npx shadcn@latest add https://raw.githubusercontent.com/davide97g/duck-ui/main/copy-button.jsonThis registry does not serve an item endpoint we could read, so we hold its metadata but not its source.
What it pulls in
npm packages
Other registry items
Files it writes
More from duck
All 69 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Announcementannouncement | duck | Components | Unverified | 1 dep | |
| Code Snippetcode-snippet | duck | Components | Unverified | 1 dep · 2 files | |
| Code Windowcode-window | duck | Components | Unverified | no deps | |
| Duck Audio Playerduck-audio-player | duck | Components | Unverified | 1 dep | |
| Duck Button Groupduck-button-group | duck | Components | Unverified | 1 dep | |
| Duck Chartduck-chart | duck | Components | Unverified | no deps | |
| Duck Commandduck-command | duck | Components | Unverified | 1 dep | |
| Duck List Headerduck-list-header | duck | Components | Unverified | 1 dep |
