Copy Input
A text input with an integrated copy button and feedback.
Preview
Interactive Preview
API Key
Installation
Usage
tsx
import { CopyInput } from "@/components/ui/copy-input"
export default function Demo() {
return <CopyInput value="sk_test_51Mz...789" label="Your Secret Key" />
}Props
| Prop | Type | Default |
|---|---|---|
| value | string | - |
| label | string | - |