# Copy Button

A button that copies a given string to the clipboard and provides feedback when copied.

---

## Default

```tsx
import { CopyButton } from '@vercel/geistcn/components';
import type { JSX } from 'react';

export function Component(): JSX.Element {
  return <CopyButton textToCopy="lipsum" label="copy text" />;
}
```
