# Copy button

Copy a value with immediate confirmation.

- ID: `copy-button`
- Import: `animui/copy-button`
- Category: Actions
- Runtime exports: `CopyButton`
- Declaration: `types/free/components/copy-button.d.ts`
- Type provenance: emitted-original-typescript
- Related: button, code-block, split-button, action-button

```tsx
import { CopyButton } from 'animui/copy-button';
```

This import example is not a complete render recipe: read the declaration below and its local references for required props, data, callbacks and provider context. Use `animui info copy-button` to resolve the local declaration graph. Global setup is in `llms.txt`.

```ts
export { CopyButton } from '../registry/components/copy-button/copy-button.js';
export type { CopyButtonProps } from '../registry/components/copy-button/copy-button.js';
```
