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

uds-tailwind-test

v0.1.6

Published

React UI primitives and styles built with Tailwind CSS v4 and shadcn-style components (UDS).

Readme

uds-tailwind-test

uds-tailwind-test is a publishable React UI package built from this Tailwind v4 and shadcn-based design system workspace.

The package contract now has one canonical AI-readable source of truth:

Use that file for machine-readable guidance, then use the human-facing summaries here, in AI_USAGE.md, and in setup.md.

Installation

npm install uds-tailwind-test react react-dom

Import the stylesheet once near the app root:

import "uds-tailwind-test/styles.css"

Development (this repository)

Use Node.js 22 LTS (or 24+) for local installs so npm does not report EBADENGINE for eslint-visitor-keys@5 (its engines field does not list Node 23). Run nvm use (or fnm use) in the repo root; the .nvmrc file pins 22. If you use Volta, the repo’s package.json includes a matching volta.node pin.

You may still see npm warn deprecated node-domexception while installing devDependencies: it is pulled in by the shadcn CLI via node-fetch / fetch-blob. It is safe to ignore for building this package; upstream would need to drop that chain to silence the warning.

Quick start

import {
  AppShell,
  Button,
  Card,
  Sidebar,
  SidebarContent,
  SidebarFooter,
  SidebarHeader,
  SidebarMenu,
  SidebarMenuButton,
  SidebarMenuItem,
  SidebarProvider,
  TooltipProvider,
} from "uds-tailwind-test"
import "uds-tailwind-test/styles.css"

export function Example() {
  return (
    <TooltipProvider>
      <SidebarProvider>
        <AppShell
          className="min-h-dvh w-full min-w-0"
          sidebarWidth={280}
          showListview={false}
          mainClassName="bg-[var(--uds-color-neutrals-50)]"
          sidebar={
            <Sidebar collapsible="none">
              <SidebarHeader>Workspace</SidebarHeader>
              <SidebarContent>
                <SidebarMenu>
                  <SidebarMenuItem>
                    <SidebarMenuButton isActive>Dashboard</SidebarMenuButton>
                  </SidebarMenuItem>
                </SidebarMenu>
              </SidebarContent>
              <SidebarFooter>
                <Button className="w-full rounded-[4px]">New item</Button>
              </SidebarFooter>
            </Sidebar>
          }
        >
          <Card className="m-6 rounded-[4px] p-6">AppShell is mounted at runtime.</Card>
        </AppShell>
      </SidebarProvider>
    </TooltipProvider>
  )
}

Public API model

The root package entrypoint is src/index.ts. That file is the canonical public API.

Consumers and AI tools should import only from:

  • uds-tailwind-test
  • uds-tailwind-test/styles.css

Do not infer public API from internal implementation files under src/components/ui.

AI contract

The AI/tooling contract lives in ai/uds-contract.json and includes:

  • allowed and forbidden imports
  • layout defaults
  • public export catalog with recommendations
  • current styling and radius policy
  • screen recipes
  • anti-patterns
  • registry metadata

Human-facing summaries:

Recipes and examples

Recipe docs:

Canonical example outputs:

Consumer smoke fixture:

shadcn registry

This repo now ships a local-first custom registry surface:

Regenerate the AI contract and registry artifacts with:

npm run generate:ai

Local development

npm install
npm run generate:ai
npm run dev

Useful checks:

npm run lint
npm run typecheck
npm run build
npm run pack:check