Copy Button
A copy button component with a variety of styles and animations.
Installation
Usage
import { CopyButton } from '$lib/components/ori/copy-button'; <CopyButton content="Hello World" /> Props
| Prop | Type | Default | Description |
|---|---|---|---|
| content | string | '' | The text to be copied to the clipboard |
| class | string | '' | Additional CSS classes for custom styling |
Support all ButtonProps from shadcn-svelte/ui