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

react-wip-ui

v3.0.0

Published

Lightweight, server-friendly UI components for marking features as Work In Progress

Readme

react-wip-ui

Lightweight, server-friendly React components for marking features as Work In Progress.

  • Zero dependencies — no CSS file, no external packages
  • Server-component safe — works in Next.js App Router RSC out of the box
  • Inline styles — no stylesheet to import, nothing to configure
  • Tiny bundle — ~3.5 kB minified ESM

Installation

npm install react-wip-ui

Peer dependencies: react ^18 or ^19.

Usage

Import and use — no setup, no CSS import, no provider needed.

import { Badge, Ribbon, Overlay, Block } from 'react-wip-ui';

Components

<Badge>

Attaches a small WIP label next to any content.

<Badge>
  <button>Pro Feature</button>
</Badge>

// With options
<Badge text="BETA" theme="dark" placement="before">
  <NavItem />
</Badge>

// Custom colours
<Badge colors={{ bg: '#1e1b4b', text: '#a5b4fc' }}>
  <NavItem />
</Badge>

| Prop | Type | Default | Description | |---|---|---|---| | text | string | 'WIP' | Label text | | placement | 'before' \| 'after' | 'after' | Badge before or after children | | theme | 'light' \| 'dark' | 'light' | Colour scheme | | colors | { bg?, text? } | — | Custom colour overrides | | disabled | boolean | false | Renders children without badge |


<Ribbon>

A diagonal corner ribbon for containers. The parent must have position: relative.

<div style={{ position: 'relative' }}>
  <Ribbon />
  <Card />
</div>

// Options
<Ribbon position="top-left" text="ALPHA" variant="outline" theme="dark" />

| Prop | Type | Default | Description | |---|---|---|---| | position | 'top-left' \| 'top-right' | 'top-right' | Corner placement | | text | string | 'WIP' | Label text | | variant | 'solid' \| 'outline' | 'solid' | Fill style | | theme | 'light' \| 'dark' | 'light' | Colour scheme | | colors | { bg?, text? } | — | Custom colour overrides | | disabled | boolean | false | Renders nothing |


<Overlay>

Covers children with a blurred scrim and a message pill.

<Overlay>
  <BillingSection />
</Overlay>

// Options
<Overlay message="Coming Soon" theme="dark" />

// Custom colours for the message pill
<Overlay colors={{ bg: '#0f172a', text: '#94a3b8' }}>
  <AnalyticsDashboard />
</Overlay>

| Prop | Type | Default | Description | |---|---|---|---| | message | string | 'Under Construction' | Text in the message pill | | theme | 'light' \| 'dark' | 'light' | Colour scheme for scrim + pill | | colors | { bg?, text? } | — | Override pill bg and text colour | | disabled | boolean | false | Renders children as-is |


<Block>

Disables pointer events and text selection on children — use to make a section non-interactive.

<Block>
  <SubscriptionForm />
</Block>

| Prop | Type | Default | Description | |---|---|---|---| | disabled | boolean | false | Renders children as-is |


Types

import type { WIPTheme, WIPColors } from 'react-wip-ui';

type WIPTheme  = 'light' | 'dark';
type WIPColors = { bg?: string; text?: string };

License

MIT