Skip to content

Watermark ​

VWatermark places an inaccessible, non-interactive repeated text layer over container content. The overlay never intercepts pointer input, making it suitable for document previews, approvals, and sensitive data.

A watermark is a visual marker, not a substitute for access control, encryption, or tamper resistance.

Demo ​

VARO FINANCE

Quarterly settlement

Q3 / 2026
Approved amount¥ 482,600
Mobile platform team

Props ​

PropTypeDefaultDescription
contentstring'Varo'Repeated text; empty content hides it
colorstring'#172033'Text color
opacitynumber0.12Opacity clamped to 0–1
rotatenumber-22Rotation in degrees
fontSizenumber14Font size in px, minimum 1
fontWeightnumber | string500Font weight
gapXnumber160Horizontal tile width in px, minimum 24
gapYnumber96Vertical tile height in px, minimum 24
offsetXnumber0Horizontal px phase normalized by gapX
offsetYnumber0Vertical px phase normalized by gapY
zIndexnumber9Overlay stacking level in the container

Rows stretch evenly across tall containers, preserving watermark coverage from top to bottom while using gapY as the minimum tile height.

The default slot carries the protected content. H5 accepts consumer styles through class; the mini-program Registry SFC uses className.