components / copy-button
copy-button.
copy-to-clipboard button with copied/error feedback states.
bunx @justin06lee/chrome@latest initinstallation
bunx @justin06lee/chrome@latest add copy-buttonusage
Basic
<CopyButton text="bunx @justin06lee/chrome init" />
Custom labels
<CopyButtontext="value"labels={{ idle: "grab", copied: "got it", error: "nope" }}/>