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

@digiko-npm/designsystem

v0.9.34

Published

Design system — installable, extensible, indestructible.

Readme

@digiko-npm/designsystem

CSS-only design system. Zero dependencies. Install anywhere, override tokens, nothing breaks.

Install

npm install @digiko-npm/designsystem

Usage

/* Everything */
@import '@digiko-npm/designsystem';

/* Or individual layers */
@import '@digiko-npm/designsystem/tokens';
@import '@digiko-npm/designsystem/base';
@import '@digiko-npm/designsystem/components';
@import '@digiko-npm/designsystem/utilities';

/* Or cherry-pick single components (tokens + base required) */
@import '@digiko-npm/designsystem/tokens';
@import '@digiko-npm/designsystem/base';
@import '@digiko-npm/designsystem/components/button';
@import '@digiko-npm/designsystem/components/card';

/* Minified bundle */
@import '@digiko-npm/designsystem/min';
<button class="ds-btn">Default</button>
<button class="ds-btn ds-btn--secondary">Secondary</button>
<button class="ds-btn ds-btn--sm">Small</button>

<div class="ds-card">
  <div class="ds-card__body">Card content</div>
</div>

<input class="ds-input" placeholder="Type here..." />
<span class="ds-badge ds-badge--success">Active</span>

Components (38)

| Core | Essential | Common | Advanced | |------|-----------|--------|----------| | Button | Tabs | Toggle | Popover | | Card | Alert | Breadcrumb | Slider | | Input | Divider | Pagination | Timeline | | Badge | Dropdown | Tag | Kbd | | Nav | Tooltip | Accordion | Command | | Modal | Avatar | Drawer | Sortable | | Toast | Skeleton | Progress | Search | | Table | Empty State | Datepicker | Toolbar | | | | Drop Zone | Chip | | | | Custom Select | Icon Button | | | | Bottom Nav | Spinner |

All components use ds- prefix with BEM naming: .ds-btn, .ds-btn--secondary, .ds-card__body.

Theming

Override any --ds-* CSS variable. Your values always win.

:root {
  --ds-font-display: "Inter", sans-serif;
  --ds-color-inverted: #2563eb;
  --ds-radius-xl: 24px;
}

Dark mode

Built-in light/dark themes via data-theme attribute:

<html data-theme="dark">
import { theme } from '@digiko-npm/designsystem/js';
theme.toggle(); // Toggles light/dark with localStorage persistence

Token categories

  • Colors --ds-color-* — bg, surface, text, border, status, accent
  • Spacing --ds-space-* — 0 to 32 scale
  • Typography --ds-text-*, --ds-weight-*, --ds-font-* — xs to 7xl, Clash Display + Switzer + Geist Mono
  • Radius --ds-radius-* — none to full
  • Shadows --ds-shadow-* — sm, md, lg (auto-adjusts per theme)
  • Z-index --ds-z-* — base, dropdown, sticky, overlay, modal, toast, tooltip
  • Transitions --ds-duration-*, --ds-ease-* — fast/normal/slow + easing curves

License

MIT