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

unslop-ui

v0.1.2

Published

Catch UI slop before it ships.

Readme

Unslop UI

Catch UI slop before it ships.

Unslop UI is a deterministic CLI for scanning React, Tailwind, and shadcn/ui codebases for repeatable frontend design debt.

Usage

npx unslop-ui .

Findings are printed with a code frame pointing at the exact offending line:

High impact
  error ui-slop/raw-hex-colors
  app/page.tsx:5:39
  Found 2 raw hex colors. Prefer semantic tokens or Tailwind theme colors.
    5 │     <main className="min-h-screen bg-[#f7f8ff] text-[#111827]">
      ╵                                       ^
  → Move color choices into semantic tokens such as bg-card, text-foreground, or primary.

Scaffold a config:

npx unslop-ui --init

Local development:

pnpm install
pnpm dev -- fixtures/slop
pnpm dev -- fixtures/clean

What it catches

  • Generic AI SaaS heroes
  • Gradient soup
  • Card lasagna
  • Muted text overuse
  • Arbitrary Tailwind values
  • Raw hex colors
  • Token bypassing
  • Inconsistent radius/shadow scales
  • Default-looking shadcn UI

Config

Create unslop.config.ts:

import { defineConfig } from "unslop-ui";

export default defineConfig({
  include: ["app/**/*.{tsx,jsx}", "components/**/*.{tsx,jsx}"],
  ignore: ["node_modules/**", ".next/**", "dist/**"],
  stack: {
    react: true,
    tailwind: true,
    shadcn: true,
  },
  rules: {
    "ui-slop/token-bypass": "warn",
    "ui-slop/arbitrary-tailwind-values": "warn",
    "ui-slop/raw-hex-colors": "error",
    "ui-slop/gradient-soup": "warn",
    "ui-slop/card-lasagna": "warn",
    "ui-slop/muted-everything": "warn",
    "ui-slop/random-radius": "warn",
    "ui-slop/random-shadow": "warn",
    "ui-slop/shadcn-default-look": "warn",
    "ui-slop/generic-ai-hero": "warn",
    "ui-slop/inconsistent-icon-size": "warn",
  },
});

Rules can be disabled with "off".

CI

unslop-ui . --strict

By default the CLI exits non-zero only for error findings. --strict treats warnings as build-failing.

Output formats

unslop-ui . --format pretty   # default, with code frames
unslop-ui . --format json     # structured report (--json is a shorthand)
unslop-ui . --format sarif     # SARIF 2.1.0 for GitHub code scanning

SARIF lets findings show up as inline annotations on a pull request:

# .github/workflows/unslop.yml
- run: npx unslop-ui . --format sarif > unslop.sarif
- uses: github/codeql-action/upload-sarif@v3
  with:
    sarif_file: unslop.sarif

Baselines (adopt on an existing codebase)

A repository with hundreds of existing findings can still gate new slop. Record the current state once, commit the baseline, then fail CI only on regressions:

# Snapshot today's findings (writes unslop.baseline.json)
unslop-ui . --update-baseline

# In CI: known findings are suppressed, new ones fail the build
unslop-ui . --baseline --strict

Baselines fingerprint each finding by rule, file, and offending code — not by line number — so they keep matching as the surrounding file changes. Use --baseline <path> to point at a custom location.

Philosophy

Unslop UI does not try to judge beauty. It catches repeatable design debt and AI-generated UI anti-patterns.

The scanner is static and deterministic in V0. It does not use screenshots, Playwright, Figma, or model-based judging.

Attribution

Unslop UI's one-command audit workflow is inspired by React Doctor. React Doctor focuses on React correctness, performance, architecture, security, and accessibility; Unslop UI applies a similar product shape to frontend design-system drift and AI-generated UI anti-patterns.