chrome
@pdfcn-vue/watermarkWatermark
Diagonal or centered watermark text.
Installation
Terminal
npx shadcn-vue@latest add @pdfcn-vue/watermarkUsage
Example
<Watermark text="DRAFT" variant="diagonal" />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| text | string | — | Watermark text. |
| variant | 'diagonal' | 'center' | 'diagonal' | Placement style. |
| opacity | number | 0.12 | Opacity from 0 to 1. |
Live preview
The gallery uses a shared document. Change its theme in the theme builder to compare tokens.
Source files
Need the full template?
See blocks for invoices and reports composed from these primitives.