[LocalMode] A copy-to-clipboard button that shows a 2-second Copied confirmation, disables itself when there is nothing to copy, and treats an unavailable clipboard (insecure context or denied permission) as a silent no-op. Fully controlled via value; presentational. Pairs with any generated-text or result surf
pnpm dlx shadcn@latest add "https://registry.directory/r/localmode-ai/ui/input-controls/copy-button.json"