Shows exactly what was copied, refuses to copy an empty value, flags stray whitespace and invisible characters with a one-tap clean copy, and can copy formatted numbers as plain text.
npx shadcn@latest add @bollard/copy-confirm
Loading the source for copy-confirm…
Registry Items
copy-confirm
Configuration
Name
copy-confirm
Type
UI
Description
Shows exactly what was copied, refuses to copy an empty value, flags stray whitespace and invisible characters with a one-tap clean copy, and can copy formatted numbers as plain text.
Files · 1
Dependencies
npm packages
lucide-react
Registry Items
copy-confirm
Configuration
Name
copy-confirm
Type
UI
Description
Shows exactly what was copied, refuses to copy an empty value, flags stray whitespace and invisible characters with a one-tap clean copy, and can copy formatted numbers as plain text.