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

@dinofront/design_system

v1.20.12

Published

Enterprise React component library and design system built on Tailwind CSS.

Readme

Design System

An enterprise React component library and design system built on Tailwind CSS v4 and React 19. It ships as an ESM package with a separately-built stylesheet and an optional Tailwind v3-style preset for consumers still on a JS config.

Stack

  • React 19
  • Tailwind CSS v4 (CSS-first @theme config, no tailwind.config.js)
  • TypeScript 5.9
  • Storybook 10 (@storybook/react-vite)
  • Vite 8
  • class-variance-authority, clsx + tailwind-merge
  • lucide-react for icons
  • ESLint 9 flat config + Prettier

Design tokens

Tokens (palette, semantic aliases, radii, shadows, typography) are defined in two parallel representations that are kept in sync by hand:

  • CSS custom properties — src/styles/tokens.css (raw palette scales, radii, shadows, typography) and src/styles/theme.css (semantic aliases + dark mode), both using Tailwind v4's @theme { ... } directive. src/styles/globals.css is the entry point.
  • JS/TS token objects — src/tokens/*.ts, plus a Tailwind v3-style preset at src/tailwind/preset.ts for consumers on a JS Tailwind config.

Prefer semantic aliases (bg-default, fg-brand, border-danger, ...) over raw palette classes (brand-500, red-700, ...) in component code.

Component architecture

Each component lives under src/components/<Name>/ with a fixed file set:

src/components/<Name>/
  <Name>.tsx          # implementation
  <Name>.types.ts     # exported prop types
  <Name>.stories.tsx  # Storybook stories
  <Name>.docs.mdx     # hand-authored docs page
  index.ts            # barrel: re-export the component + its types

Getting started

npm install
npm run dev              # Storybook dev server on port 6008

Scripts

npm run build            # tsc --noEmit -> vite build (lib) -> build:css (Tailwind CLI)
npm run build:storybook  # storybook build
npm run lint              # eslint .
npm run format            # prettier --write .

License

MIT