Copy buttonFree
The icon turns into a tick once it's copied.
Props
Appearance
Applies to this component only and stays saved when you come back.
#ff3347
#b3122a
Preview background
Install
$
npx nex-ui add copy-buttonUsage
import { CopyButton } from "@/components/nex-ui/copy-button";
<CopyButton label="Copy link" done="Copied" value="https://nex-ui.dev" />