npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@egintegrations/watermark

v1.0.0

Published

A reusable EGI watermark component for React and React Native apps. Supports web dashboards, mobile apps, and Astro projects with a configurable hover effect.

Readme

@egintegrations/watermark

A lightweight, reusable watermark component for React, Astro, and web projects. Renders a configurable watermark overlay with a hover effect that fills the logo's line work with a custom color via CSS mask.

Installation

npm install @egintegrations/watermark

Peer Dependencies

npm install react

Usage

React / Next.js

import { Watermark } from "@egintegrations/watermark";

function Dashboard() {
  return (
    <Watermark
      opacity={0.12}
      hoverOpacity={0.35}
      hoverColor="#f5e0c0"
      maxWidth="300px"
      rotation={0}
    >
      <div style={{ minHeight: 400 }}>
        <h1>Dashboard Content</h1>
      </div>
    </Watermark>
  );
}

Astro

---
import { Watermark } from "@egintegrations/watermark";
---

<Watermark client:load opacity={0.12} hoverOpacity={0.35} hoverColor="#f5e0c0" maxWidth="300px">
  <div style="min-height: 400px">
    <h1>Dashboard Content</h1>
  </div>
</Watermark>

Minimal

<Watermark>
  <YourApp />
</Watermark>

Props

| Prop | Type | Default | Description | |------|------|---------|-------------| | src | string | embedded EGI logo PNG | Watermark image source (data URI or URL) | | opacity | number | 0.12 | Default opacity of the watermark | | hoverOpacity | number | 0.35 | Opacity on hover | | width | string | "100%" | Container width | | maxWidth | string | "300px" | Maximum width of the watermark image | | zIndex | number | 0 | Z-index of the watermark layers | | rotation | number | 0 | Rotation angle in degrees | | hoverColor | string | "#f5e0c0" | Color that fills the logo line work on hover (CSS mask overlay) | | disableHover | boolean | false | Disable hover effect | | className | string | — | Additional CSS class | | style | CSSProperties | — | Additional inline styles |

Hover Effect

On hover, two things happen simultaneously:

  1. The watermark image opacifies from opacityhoverOpacity and scales up 1 → 1.05
  2. A CSS mask overlay fades in, filling only the logo's line work and text with hoverColor — no box-shadow, no background tint, just the logo shape filled with color

License

MIT

Repository

EGIntegrations/egi-comp-librarypackages/typescript/watermark