For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
1
Sponsor

InputCopy

Copy a value with animated success and failure feedback.

Preview

Share link

Installation

$ pnpm dlx shadcn@latest add https://ui.ketyap.me/r/input-copy.json

Usage

import { InputCopy } from "@/components/ui/input-copy";
 
<InputCopy value="https://example.com" label="Share link" variant="button" />;

API Reference

value: required string. label: optional text. variant: icon (default) or button. align: right (default) or left. size: default or compact. disabled: disables copying. onCopy: called only after a successful copy. Success resets after two seconds. Clipboard failures are announced and can be retried.