Docs/Link
primitives@pdfcn-vue/link

Link

External or internal PDF link with theme color.

Installation

Terminal

npx shadcn-vue@latest add @pdfcn-vue/link

Usage

Example

<Link src="https://pdfcn-vue.example.com">Documentation</Link>

Props

PropTypeDefaultDescription
srcstring—Destination URL or PDF anchor.
colorstring—Theme color key or hex.
styleStyle—Merged Forme style override.

Live preview

The gallery uses a shared document. Change its theme in the theme builder to compare tokens.

Link in a document
Rendered with Forme in your browser.
Browser render

Rendering the PDF…

Vue SFC → Uint8Array

Source files

Registry paths
Files installed under components/pdf.
  • forme/components/Link.vue

Edit the theme tokens

Try the theme builder