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

@soadtech/ui

v0.2.0

Published

Soadtech UI — Component library distributed as source

Readme

Soadtech UI

Librería de componentes UI distribuible como código fuente, estilo shadcn/ui. Los componentes se copian directamente a tu proyecto — sin dependencias de runtime.

Componentes disponibles

| Componente | Descripción | |------------|-------------| | Avatar | Avatar con imagen, iniciales o icono fallback. Soporta indicador de estado y 5 tamaños (xs-xl). | | Alert | Notificación con 5 variantes de color (default, positive, primary, negative, warning) y layouts compact/expanded. | | Accordion | Secciones expandibles con modo single/multiple. Animación CSS grid, accesibilidad completa con teclado. |

Instalación

Usando el CLI

# Copiar un componente a tu proyecto
node cli/add.js avatar

# Copiar todos los componentes
node cli/add.js --all

# Ver qué archivos se copiarían sin ejecutar
node cli/add.js alert --dry-run

# Especificar ruta destino
node cli/add.js accordion --path=./src/ui

Manual

Copia la carpeta del componente deseado desde components/, junto con:

  • tokens/ — Design tokens CSS (colores, tipografía, espaciado)
  • lib/utils.ts — Utilidad cn() para merge de classnames

Uso

// Importar tokens en tu entry point
import "./tokens/index.css";

// Usar componentes
import { Avatar } from "./components/avatar";
import { Alert } from "./components/alert";
import { Accordion } from "./components/accordion";

<Avatar name="Jane Smith" size="lg" status="online" />

<Alert variant="positive" title="Éxito" description="Operación completada." />

<Accordion
  items={[
    { id: "1", title: "Pregunta", content: "Respuesta" },
  ]}
  type="single"
/>

Design Tokens

Todos los tokens usan el prefijo --st- y se definen en tokens/base.css:

  • Colores: neutrals (gray-50 a gray-900), positive (green), primary (cyan), negative (red), warning (yellow)
  • Tipografía: system font stack, tamaños xs-xl, pesos normal/medium/semibold/bold
  • Espaciado: escala de 4px (--st-space-1 a --st-space-12)
  • Dark mode: [data-theme="dark"] en el elemento html

Convenciones CSS

  • BEM con prefijo: .st-accordion, .st-accordion__item, .st-accordion__item--open
  • Custom properties privadas: --_alert-bg, --_avatar-size para encapsular variantes
  • Especificidad plana: solo selectores de clase, sin IDs

Estructura

soadtech-ui/
├── package.json
├── tsconfig.json
├── registry.json           # Manifiesto de componentes
├── cli/add.js              # CLI para copiar componentes
├── tokens/
│   ├── base.css            # Design tokens
│   ├── themes/light.css
│   ├── themes/dark.css
│   └── index.css
├── lib/utils.ts            # cn() utility
├── components/
│   ├── accordion/
│   ├── alert/
│   └── avatar/
└── docs/                   # Documentación por componente

Requisitos

  • React >= 18 (peer dependency)
  • TypeScript >= 5.7 (dev)
  • Los componentes se distribuyen como fuente TSX/CSS, sin paso de build

Licencia

MIT