Installation
$ pnpm dlx shadcn@latest add @pdfcn/forme/link
Usage
import { Link } from "@/components/pdf/link";<Link href="https://example.com">Example</Link>API Reference
Link
| Prop | Type | Default |
|---|---|---|
href | string | - |
align | 'left' | 'center' | 'right' | 'left' |
color | string | - |
variant | 'default' | 'muted' | 'primary' | 'default' |
underline | 'always' | 'none' | 'always' |