Wrap the content and pass the viewer's email and the date as two lines.
shared-agreement.tsx
Watermark
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| text | string | readonly string[] | "Confidential" | The mark text, one string per line: a word, or the viewer's email and the date. |
| image | string | — | A logo URL drawn above the text. A cross-origin logo needs CORS, or only the text draws. |
| layout | "center""corner""tiled" | "tiled" | tiled (a staggered grid, default), center (one large mark), or corner (one mark at the end-bottom corner). |
| angle | number | -24 | The turn of the mark in degrees. Default −24. |
| gap | number | 64 | The space around each mark in a tile, in px. Default 64. |
| opacity | number | 0.12 | The ink opacity, 0 to 1. Default 0.12. Print takes at least 0.24, so toner shows it. |
| font | number | 14 | The text size in px. Default 14; center reads well at 48 and up. |
| ink | "auto""current""foreground""light" | "foreground" | foreground (the theme ink, default), light (white), or auto (white with a difference blend: it shows over light and dark pixels), or current (the root text color). |
| guard | boolean | true | Puts the mark back when a script or the dev tools remove, hide, or restyle it. Default true. |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |







