Examples

Document watermark

Preview

Q4 Revenue Summary

Protected internal report preview.

Net recurring revenue grew 24% quarter-over-quarter.

Example.tsx
import { Card, Watermark } from '@reactloom/ui';

export default function BasicWatermark() {
  return (
    <Watermark text="CONFIDENTIAL" subtext="ReactLoom Preview">
      <Card>
        <Card.Header>
          <Card.Title level={3}>Q4 Revenue Summary</Card.Title>
          <Card.Description>Protected internal report preview.</Card.Description>
        </Card.Header>
        <p style={{ margin: 0 }}>Net recurring revenue grew 24% quarter-over-quarter.</p>
      </Card>
    </Watermark>
  );
}

API reference

Watermark props
PropTypeDefault
textrequired
Primary watermark text.
string—
subtext
Optional secondary line.
string—
rotate
Rotation angle in degrees.
number-24
opacity
Watermark opacity between 0 and 1.
number0.14
tileSize
Repeating tile size in pixels.
number200

Usage guidelines

Do

  • Keep opacity subtle (0.08–0.18) so foreground text stays readable.

Don’t

  • Do not rely on CSS watermarks alone for DRM or access control.