React PlumberInstall package

Start

What React Plumber is

React Plumber finds where a React app on Tailwind v4 or plain CSS drifts from its design system, and lets you fix it from the page. It compiles your classes, stylesheets, @apply and inline styles with your own Tailwind, then judges the CSS that comes out against your tokens.

For spacing, radius and type, a value is on your tokens when it equals one of them exactly. If your spacing tokens are 8px and 16px, gap-[13px] is off, and Plumber offers both.

What it judges

Plumber judges values in seven families:

FamilyFor example
Spacinggap, padding, margin, inset
Colourtext, backgrounds, borders, fills
Radiusborder radius
Typefont size, weight, line height, letter spacing
Motiondurations and easing
Elevationshadows
Z-indexstacking

It also checks habits your team writes down (such as "hover styles only apply on devices that can hover"), overrides that restyle a design-system component from outside, and imitations, which are hand-built copies of a component you already have. On the running page it checks craft, accessibility, wording and behaviour.

What it compares with

It compares values with the tokens in your theme. When a value is off, Plumber names the tokens that fit, along with the reasons written beside them, so you can choose by meaning as well as by distance.

What happens next

To try it, follow the Quick start.