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

@szum-tech/design-system

v3.21.7

Published

Szum-Tech design system with tailwindcss support

Readme


✨ Features

  • 🎨 Modern Stack: Ready to go with Tailwind CSS v4+ & React 19+.
  • 🧩 Extensive Kit: Over 50+ crafted components (Carousel, Sortable, Drawers, Comboboxes, Pickers & more).
  • Accessible: Built around Radix UI and @base-ui/react to ensure WAI-ARIA compliance.
  • 🌓 Themes: Native support for configurable light and dark color palettes.
  • 📐 Animations: Smooth motion and interactions powered by motion, tailwindcss-animate, and @dnd-kit.
  • 🗃️ Iconography: Bundled optimized icon set with Lucide React.
  • 📘 Interactive Docs: Fully documented and play-tested in a Storybook environment.

📖 Table of Contents


🎯 Getting Started

⚙️ Installation

The package and its peer dependencies are available on npm. Start by adding it to your project:

# NPM
npm install @szum-tech/design-system

# YARN
yarn add @szum-tech/design-system

# PNPM
pnpm add @szum-tech/design-system

# BUN
bun add @szum-tech/design-system

Note: You must have react, react-dom (>=19) and tailwindcss (>=4) installed as peer dependencies.

🎨 Tailwind CSS Configuration

To use the design system components correctly, ensure Tailwind compiles its CSS framework. If you are using Tailwind v4+ with @import methodology, append the following lines to your main CSS file:

@import "tailwindcss";

/* Import the design system's predefined styles, tokens, and theme layers */
@import "@szum-tech/design-system/tailwind/global.css";

/* Specify source path to allow Tailwind's JIT scanner to pick up the component classes */
@source "../node_modules/@szum-tech/design-system";

For additional installation methods, refer to the Tailwind CSS Installation Docs.


🚀 Usage

🧩 Components

All available components, contexts, and specific providers are exported from the root @szum-tech/design-system.

import { Button, Card, CardHeader, CardTitle, CardContent } from "@szum-tech/design-system";

export default function App() {
  return (
    <Card>
      <CardHeader>
        <CardTitle>Welcome to Szum-Tech!</CardTitle>
      </CardHeader>
      <CardContent>
        <Button variant="primary">Click me</Button>
      </CardContent>
    </Card>
  );
}

🖼️ Icons

The system provides an optimized endpoint for fetching icons (using tree-shaking best practices):

import { GoogleLogoIcon } from "@szum-tech/design-system/icons";

export function CustomButton() {
  return <Button leftIcon={<GoogleLogoIcon />}>Login with Google</Button>;
}

🪝 Hooks & Utils

Utilities and React hooks can be imported from their respective paths:

import { useMediaQuery } from "@szum-tech/design-system/hooks";
import { cn } from "@szum-tech/design-system/utils";

🌓 Theming (Light & Dark Mode)

The design system inherits native support for both light and dark themes. Theme switching relies on Tailwind CSS's selector strategies (custom variant .dark).

To activate the dark mode, append the .dark class to the <html> or <body> tag of your application:

import { useEffect, useState } from "react";
import { Button } from "@szum-tech/design-system";

export default function ThemeToggle() {
  const [isDark, setIsDark] = useState(false);

  useEffect(() => {
    if (isDark) {
      document.documentElement.classList.add("dark");
    } else {
      document.documentElement.classList.remove("dark");
    }
  }, [isDark]);

  return <Button onClick={() => setIsDark(!isDark)}>Toggle to {isDark ? "Light" : "Dark"} Mode</Button>;
}

📚 Documentation

Detailed documentation and an interactive component sandbox is generated via Storybook. View it here:

👉 Szum-Tech Design System Docs


🛠️ Developer Info

Core Dependencies

NPM (prod) Dependency Version NPM (prod) Dependency Version NPM (prod) Dependency Version NPM (prod) Dependency Version

Peer Dependencies

NPM dev or peer Dependency Version NPM dev or peer Dependency Version NPM dev or peer Dependency Version

Commands

For running the environment locally:

  • Build: npm run build
  • Storybook: npm run storybook:dev
  • Lint: npm run lint
  • Test: npm run test or npm run test:ui

📓 Changelog

We use Semantic Release for semantic versioning. For a complete list of updates, please see the CHANGELOG.md.


📜 License

Available under the terms of the MIT license.