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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@shendu-ui/core

v0.4.1

Published

A modern React UI component library built with TailwindCSS v4 and Shadcn patterns

Readme

Shendu UI

A modern React UI component library built with TailwindCSS v4 and Shadcn patterns.

Features

  • 🎨 TailwindCSS v4 - CSS-first configuration with design tokens
  • ⚛️ React 18/19 - Built for modern React applications
  • 📦 Tree-shakeable - Only bundle what you use
  • 🔧 TypeScript - Full type safety out of the box
  • 📖 Storybook 10 - Interactive component documentation
  • Tested - Unit tests with Vitest, visual tests with Playwright
  • 🎯 Accessible - Built on Radix UI primitives

Installation

# With npm
npm install @shendu-ui/core

# With yarn
yarn add @shendu-ui/core

# With pnpm
pnpm add @shendu-ui/core

Setup

1. Import styles

Add the styles to your application entry point:

// In your app's entry point (e.g., main.tsx, _app.tsx)
import '@shendu-ui/core/styles';

Or import the CSS in your main stylesheet:

@import '@shendu-ui/core/styles';

2. Configure TailwindCSS (optional)

If you want to use TailwindCSS v4 in your project, make sure to configure the theme to match:

/* globals.css */
@import 'tailwindcss';

@theme {
  /* Shendu UI uses these design tokens */
  --color-background: oklch(1 0 0);
  --color-foreground: oklch(0.145 0 0);
  --color-primary: oklch(0.205 0 0);
  --color-primary-foreground: oklch(0.985 0 0);
  /* ... see full theme in our docs */
}

Usage

import { Button } from '@shendu-ui/core';

function App() {
  return (
    <div>
      <Button variant="default">Click me</Button>
      <Button variant="destructive">Delete</Button>
      <Button variant="outline">Cancel</Button>
    </div>
  );
}

Components

Button

A versatile button component with multiple variants and sizes.

import { Button } from '@shendu-ui/core';

// Variants
<Button variant="default">Default</Button>
<Button variant="destructive">Destructive</Button>
<Button variant="outline">Outline</Button>
<Button variant="secondary">Secondary</Button>
<Button variant="ghost">Ghost</Button>
<Button variant="link">Link</Button>

// Sizes
<Button size="sm">Small</Button>
<Button size="default">Default</Button>
<Button size="lg">Large</Button>
<Button size="icon">🔍</Button>

// States
<Button disabled>Disabled</Button>
<Button isLoading>Loading...</Button>

// As child (for composition with Link components)
<Button asChild>
  <a href="/page">Go to page</a>
</Button>

Development

Prerequisites

  • Node.js 20+
  • npm 9+

Setup

# Clone the repository
git clone https://github.com/your-org/shendu-ui.git
cd shendu-ui

# Install dependencies
npm install

# Start Storybook
npm run storybook

# Run tests
npm run test

# Build library
npm run build:lib

Scripts

| Script | Description | | ----------------------- | -------------------------------- | | npm run dev | Start Vite dev server | | npm run storybook | Start Storybook | | npm run build:lib | Build the library for publishing | | npm run test | Run unit tests in watch mode | | npm run test:run | Run unit tests once | | npm run test:coverage | Run tests with coverage | | npm run test:e2e | Run Playwright visual tests | | npm run lint | Run ESLint |

Publishing

This library uses Changesets for versioning.

Creating a changeset

npx changeset

Publishing (CI)

The GitHub Actions workflow automatically:

  1. Creates a "Release PR" when changesets are added
  2. Publishes to GitHub Packages when the PR is merged

Manual publishing

npm run build:lib
npm publish

License

MIT © Your Name