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

tailless-shadcn

v0.0.3

Published

A React component library replicating shadcn/ui using CSS Modules instead of Tailwind CSS

Downloads

6

Readme

Tailless shadcn/ui

A comprehensive React component library that replicates the shadcn/ui design system using CSS Modules (.module.scss) instead of Tailwind CSS.

🎯 Project Goals

  • Visual Parity: Pixel-perfect alignment with shadcn/ui designs
  • Functional Parity: Identical component behavior and interactions
  • Accessibility: WCAG 2.1 AA compliance minimum
  • Type Safety: Full TypeScript support with strict mode
  • CSS Modules: Scoped styling without runtime overhead
  • Modern React: Built with React 18+ best practices

🚀 Features

  • ✅ 52 Components planned (matching shadcn/ui)
  • ✅ CSS Modules with SCSS for styling
  • ✅ Built on Radix UI primitives for accessibility
  • ✅ Type-safe variants with class-variance-authority
  • ✅ Comprehensive theme system with CSS custom properties
  • ✅ Dark mode support
  • ✅ Fully tested with Vitest and React Testing Library
  • ✅ Tree-shakeable exports

📦 Installation

npm install tailless-shadcn
# or
yarn add tailless-shadcn
# or
pnpm add tailless-shadcn

🎨 Usage

import { Button } from 'tailless-shadcn';
import 'tailless-shadcn/styles';

function App() {
  return (
    <Button variant="default" size="default">
      Click me
    </Button>
  );
}

🏗️ Development

Prerequisites

  • Node.js 18+ or 20+
  • pnpm (recommended) or npm/yarn

Setup

# Clone the repository
git clone https://github.com/masious/tailless-shadcn.git
cd tailless-shadcn

# Install dependencies
pnpm install

# Run development server
pnpm dev

# Run tests
pnpm test

# Run tests in watch mode
pnpm test:watch

# Run tests with coverage
pnpm test:coverage

# Build the library
pnpm build

# Lint code
pnpm lint

# Format code
pnpm format

📚 Documentation

Comprehensive documentation is available in multiple locations:

Live Documentation Site

The interactive documentation site is in the docs-site/ directory:

cd docs-site
npm install
npm run dev
# Visit http://localhost:3000

Features:

  • 38 component documentation pages
  • Interactive examples
  • API reference tables
  • Code snippets

Project Documentation

Technical documentation is available in the /docs directory:

  • Architecture: System design and patterns
  • Design Tokens: Colors, spacing, typography
  • Components: Individual component documentation
  • Guidelines: Coding standards and best practices

Key Documentation Files

🗺️ Roadmap

See TODO.md for the complete implementation roadmap.

Current Status

Phase: 12 - Complete ✅

Component Progress: 38/52 core components implemented (73%)

  • Tier 1 (Foundation): 4/4 ✅
  • Tier 2 (High-Frequency): 6/6 ✅
  • Tier 3 (Dialogs & Overlays): 7/7 ✅
  • Tier 4 (Navigation): 4/8 (core complete, 4 complex skipped)
  • Tier 5 (Forms): 5/10 (core complete, 5 specialized skipped)
  • Tier 6 (Data Display): 5/5 ✅
  • Tier 7 (Advanced Layout): 5/5 ✅
  • Tier 8 (Specialized): 2/7 (Toggle + ToggleGroup, 5 complex skipped)

🧪 Testing

This project maintains high testing standards:

  • Unit Tests: All components tested with Vitest
  • Accessibility Tests: Automated axe-core testing
  • Coverage Goal: 80%+ across all metrics
# Run all tests
pnpm test

# Run tests with UI
pnpm test:ui

# Generate coverage report
pnpm test:coverage

🎨 Theme System

The library uses CSS custom properties for theming:

:root {
  --color-primary: 221.2 83.2% 53.3%;
  --color-primary-foreground: 210 40% 98%;
  // ... more tokens
}

[data-theme='dark'] {
  --color-primary: 217.2 91.2% 59.8%;
  // ... dark mode values
}

Toggle dark mode by setting data-theme="dark" on the root element:

document.documentElement.setAttribute('data-theme', 'dark');

🤝 Contributing

Contributions are welcome! Please read our Contributing Guide for details on our code of conduct and the process for submitting pull requests.

Development Workflow

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Run tests and linting
  5. Commit your changes (git commit -m 'feat: add amazing feature')
  6. Push to the branch (git push origin feature/amazing-feature)
  7. Open a Pull Request

📄 License

MIT License - see the LICENSE file for details.

🙏 Acknowledgments

🔗 Links

📞 Support

If you have questions or need help, please:


Built with ❤️ by the community