@glazeen/react-watermark
v0.0.5
Published
A lightweight, customizable React watermark component built exclusively for the Glazeen software house.
Downloads
515
Readme
@glazeen/react-watermark
A lightweight, customizable React watermark component built exclusively for the Glazeen software house.
Installation
npm install @glazeen/react-watermarkUsage
import { GlazeenWatermark } from '@glazeen/react-watermark';
function App() {
return (
<div style={{ position: 'relative', width: '100%', height: '100vh' }}>
<h1>My Application</h1>
<p>Content goes here.</p>
{/* Render the watermark */}
<GlazeenWatermark />
</div>
);
}Features
- Modern & Lightweight: Built using React, TypeScript, and Tailwind CSS v4.
- Namespaced Styles: All component styles are prefixed to prevent collisions with the host application.
- Dual Support: Ships with both CommonJS and ESM support, properly typed via
.d.tsfiles.
Development
This component library uses Vite for bundling and Storybook for isolated component development.
To get started with development:
Install dependencies:
npm installRun Storybook (Recommended for UI work):
npm run storybookBuild the library:
npm run build
