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

@denyaglav1/design-system

v0.4.0

Published

Andromeda Design System — React components, CSS tokens, ECharts & Mantine themes

Readme

@andromeda/design-system

Andromeda-style React Design System — components, CSS tokens, ECharts & Mantine themes.

Quick Start

1. Copy components from main project

cd packages/andromeda-ds
chmod +x scripts/copy-components.sh
./scripts/copy-components.sh

This copies all ds-*.tsx files, ds-table.module.css from the main project into src/components/, and patches ds-badge.tsx to remove the source-icons dependency (text fallback used instead).

Note: source-icons.tsx, ds-source-badge.tsx, and SVG path data are excluded from this package — they will be moved to a separate icon database.

2. Install & Build

pnpm install
pnpm build

Output in dist/:

  • index.js — ESM bundle
  • index.cjs — CJS bundle
  • index.d.ts — TypeScript declarations
  • styles.css — All CSS tokens (dark + light themes)

3. Publish

# Dry run
pnpm pack --dry-run

# Publish to npm
npm publish --access public

# Or to GitHub Packages
npm publish --registry https://npm.pkg.github.com

Usage in Consumer App

// 1. Import CSS tokens (once, in entry point)
import '@andromeda/design-system/styles.css';

// 2. Import components
import {
  DSButton, DSInput, DSTable, DSChart,
  andromedaTheme, andromedaCSSResolver,
  registerAndromedaTheme,
} from '@andromeda/design-system';

// 3. Setup providers (App.tsx)
import { MantineProvider } from '@mantine/core';

registerAndromedaTheme(); // ECharts theme — call once

function App() {
  return (
    <MantineProvider
      theme={andromedaTheme}
      cssVariablesResolver={andromedaCSSResolver}
      defaultColorScheme="dark"
    >
      <DSButton variant="primary" size="md">Save</DSButton>
    </MantineProvider>
  );
}

Components

| Component | Description | |-----------|-------------| | DSButton | Button with 5 variants (primary, secondary, destructive, outline, ghost) × 4 sizes | | DSInput | Input field with validation states, icons, helper text | | DSSelect | Dropdown select with groups, search, portal rendering | | DSCheckbox | Checkbox with indeterminate state | | DSSwitch | Toggle switch (3 sizes) | | DSTooltip | Hover tooltip with rich content | | DSModal | Modal dialog with header, body, footer | | DSConfirmDialog | Centered confirmation dialog | | DSTabs / DSTab | Tab navigation | | DSMenu | Dropdown/context menu | | DSBadge | Badge with 6 variants (text, icon, count, dot, pill, source¹) | | DSTag | Tag/chip with close button | | DSSegmentButton | Segmented control | | DSCalendar | Date picker (dates/months/years views) | | DSSectionHeader | Widget section title (uses Mantine) | | DSTable | Data table with sorting, groups, sticky columns, CSS Grid | | DSLegend | Chart legend (inline, wrap, slider modes) | | DSSparkline | SVG mini-chart | | DSChartGrid | SVG chart axes shell | | DSChart | Universal ECharts wrapper (14 chart types) | | DSCustomDropdown | Composable dropdown system |

¹ The source variant renders a text fallback in this package. Brand SVG icons are managed separately.

Hooks

| Hook | Description | |------|-------------| | useChartColors() | Returns canvas-safe hex colors for current theme (dark/light) |

Theme

| Export | Description | |--------|-------------| | andromedaTheme | Mantine theme with DS color scales | | andromedaCSSResolver | Mantine CSS variables resolver | | andromedaEChartsTheme | ECharts theme object | | registerAndromedaTheme() | Register ECharts theme globally |

CSS Tokens

All --ds-* CSS variables with dark/light theme support:

  • 8 color scales × 10 shades each
  • Alpha variants (a10, a20, a30, a50)
  • Semantic tokens (bg, text, border, control, button, tag, switch, checkbox, table)
  • Light theme via [data-mantine-color-scheme="light"]

DS Palette (data-viz)

#5A8CFF  #1FC989  #F87D37  #9A8CFF
#45D3CE  #F6C825  #ED555E  #A8B4C6

Peer Dependencies

| Package | Required for | |---------|-------------| | react / react-dom | All components | | @mantine/core | DSSectionHeader, theme | | echarts / echarts-for-react | DSChart, DSSparklineChart, etc. | | lucide-react | DSModal close icon |