Copy Button
componentA copy-to-clipboard button that flips to a check, built on the clipboard hook.
npm i soultelInstallation
Namespace
npx shadcn@latest add @soultel/copy-buttonURL
npx shadcn@latest add https://asafefe.dev/r/copy-button.jsonDependencieslucide-reactuse-copy-to-clipboard
Usage
import { CopyButton } from "@/components/copy-button"
export function Example() {
return <CopyButton value="npm i soultel" />
}