Link¶
Displays text that becomes a clickable hyperlink in the exported PDF.
Text components · element type link · binds through text templates, in Text and Url
Related: Text · QR Code · HTML
Examples¶
// A fixed address
https://example.com/terms
// An address built from your data
https://portal.example.com/invoice/{$data.invoiceId}Text and Href are independent — the visible text does not have to be the address.
Options¶
Configure the component with these options:
| Option | Default | Description |
|---|---|---|
| Text | Link |
The visible text. Supports text templates for dynamic content |
| Href | https://www.cx-reports.com |
The target address. Also supports text templates, so the destination can come from your data |
Link styling uses the same options as other text components, applied to the link element and inherited from the theme: Font Family, Font Size, Text Color, Font Weight, Line Height, Text Transform, Margin Top / Margin Bottom, and a Style editor for custom CSS.
Notes¶
- Links are live in the exported PDF, not in the editor preview
- Text and Href are independent — the visible text does not have to be the address
- Text content can be added to a dictionary for translation