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

@adrozdenko/design-system

v2.11.10

Published

Disrupt Design System - Unified design language and component library

Readme

Disrupt Design System

Unified design language and component library powering all Disrupt products.

Products Using This System

  • Disrupt Inc. – Corporate website
  • Disrupt Flow – EHS compliance platform
  • Disrupt Market – Marketplace platform
  • Disrupt Partner – Partner portal

Installation

npm install @adrozdenko/design-system

Or install from GitHub:

npm install git+https://github.com/Spilno-me/disrupt-design-system.git

Package Architecture

DDS uses subpath exports to organize components by product domain:

| Subpath | Purpose | Example Components | |---------|---------|-------------------| | /core | Shared across ALL products | Button, Card, Input, Dialog | | /flow | Flow EHS mobile app | MobileNavButton, MobileNavBar, QuickActionButton | | /tokens | Design tokens (TypeScript) | ALIAS, SHADOWS, SPACING | | /ui | Core UI primitives (tree-shakeable) | Button, Input, Card, Dialog, DataTable | | /sections | Pre-built page sections | HeroSection, FAQSection, CTASection | | /forms | Form components and auth forms | ContactForm, LoginForm, ForgotPasswordForm | | /partner | Partner portal components | Partner-specific components | | /market | Marketplace components | Market-specific components |

Import Patterns

// Core components (shared)
import { Button, Card, Input } from '@adrozdenko/design-system/core'

// Flow-specific components (mobile)
import { MobileNavButton, MobileNavBar } from '@adrozdenko/design-system/flow'

// Design tokens
import { ALIAS, SHADOWS, SPACING } from '@adrozdenko/design-system/tokens'

// Legacy: All components (still works, but prefer subpaths)
import { Button, Card } from '@adrozdenko/design-system'

Quick Start

1. Install the package

npm install @adrozdenko/design-system

2. Configure Tailwind CSS

Import the DDS preset in your tailwind.config.js:

import preset from '@adrozdenko/design-system/tailwind-preset'

export default {
  presets: [preset],
  content: [
    './src/**/*.{ts,tsx}',
    './node_modules/@adrozdenko/design-system/dist/**/*.js',
  ],
}

3. Import styles

Add to your main CSS file (e.g., src/index.css):

For Tailwind v4 (CSS-first with @tailwindcss/vite):

@import "tailwindcss";

/* Tell Tailwind to scan DDS component files for utility classes */
@source "../node_modules/@adrozdenko/design-system/dist/**/*.js";

@import "@adrozdenko/design-system/styles";
@import "@adrozdenko/design-system/tokens.css";  /* MUST BE LAST */

For Tailwind v3 (config-first):

@import '@adrozdenko/design-system/tokens.css';
@import '@adrozdenko/design-system/styles';

Important: In Tailwind v4, tokens.css must be imported LAST to ensure DDS utility classes override Tailwind's base layer reset.

4. Use components

import { Button, Card, Input } from '@adrozdenko/design-system/core'

function App() {
  return (
    <Card>
      <h1 className="text-primary text-2xl font-bold">Hello DDS</h1>
      <Input placeholder="Enter text..." />
      <Button variant="primary">Submit</Button>
    </Card>
  )
}

Usage

Importing Components

// Core components (recommended)
import {
  Button,
  Card,
  Input,
  Textarea,
  Select,
  Dialog,
  DataTable,
  Pagination,
  AppSidebar,
  Tabs,
} from '@adrozdenko/design-system/core'

// Flow mobile components
import {
  MobileNavButton,
  MobileNavBar,
  QuickActionButton,
} from '@adrozdenko/design-system/flow'

// Layout components
import { Header, Footer, PageLayout } from '@adrozdenko/design-system/core'

Importing Design Tokens

// Import semantic tokens (recommended)
import {
  ALIAS,      // Semantic color tokens
  SHADOWS,    // Shadow system
  RADIUS,     // Border radius
  SPACING,    // Spacing scale
  TYPOGRAPHY, // Typography system
  TRANSITIONS // Animation timings
} from '@adrozdenko/design-system/tokens'

// Use in components (for dynamic values only)
<div style={{
  backgroundColor: isError ? ALIAS.status.error : ALIAS.background.surface,
  boxShadow: SHADOWS.md,
  borderRadius: RADIUS.lg
}}>
  Dynamic styling
</div>

Using Tailwind Classes (Recommended)

For static styling, always prefer Tailwind classes:

// ✅ GOOD: Static styling with semantic classes
<div className="bg-surface text-primary border-default rounded-lg shadow-md">
  <h1 className="text-2xl font-bold">Heading</h1>
  <p className="text-secondary">Description</p>
  <Button className="bg-accent-strong text-inverse">Action</Button>
</div>

// ❌ BAD: Using ALIAS for static values
<div style={{ backgroundColor: ALIAS.background.surface }}>

Use ALIAS tokens only for dynamic values:

// ✅ GOOD: Dynamic color based on state
<div style={{
  backgroundColor: status === 'error' ? ALIAS.status.error : ALIAS.background.surface
}}>

Development

# Install dependencies
npm install

# Start Storybook
npm run storybook

# Build package
npm run build

What's Inside

Design Tokens (2-Tier System)

Tier 1: Brand Primitives

  • ABYSS (navy dark) - Primary brand color scale
  • DEEP_CURRENT (teal) - Secondary brand color scale
  • DUSK_REEF (purple) - Tertiary brand color scale
  • CORAL, WAVE, SUNRISE, HARBOR - Status colors

Tier 2: Semantic Tokens (ALIAS)

  • Text colors: primary, secondary, inverse, error, success, etc.
  • Backgrounds: page, surface, accent, muted, status variants
  • Borders: default, focus, error, etc.
  • Interactive states: primary, hover, active, disabled
  • Shadows: sm, md, lg, xl, specialized (header, image)
  • Typography: Pilat Extended (display), Fixel (body)
  • Spacing: Consistent scale for sections, containers, gaps
  • Border radius: xs (4px) → full (pill)

Components (67 Components)

Forms & Inputs:

  • Button (7 variants), Input, Textarea, Checkbox, Select, Form (react-hook-form)

Layout & Containers:

  • Card (3 variants), Dialog, Sheet, Separator, PageLayout, SectionLayout

Navigation:

  • AppSidebar (desktop), MobileNav (drawer), BottomNav (mobile tabs)
  • Header (marketing), AppHeader (app), MobileMenu

Data Display:

  • DataTable (sortable, selectable), Pagination, Badge, Accordion
  • Skeleton (3 variants), SeverityIndicator, QuickFilter

Overlays:

  • Dialog/Modal, Sheet (side panel), DropdownMenu, Tooltip

Specialized:

  • FeatureCard (animated icons), CheckListItem, AnimatedLogo
  • OptimizedImage, ParallaxImage, BlurImage
  • GridBlobBackground, GlassEffect, HeroParticles

Auth & Wizards:

  • LoginForm, ForgotPasswordForm, ResetPasswordForm, AuthLayout
  • Wizard, WizardStepper, WizardNavigation

Domain-Specific:

  • ContactForm (with success/error modals)
  • LeadsDataTable, StatsCard, CreateLeadDialog
  • InvoicesDataTable, InvoiceCard, InvoicePreviewSheet

Technology Stack

  • React 19 + TypeScript
  • Tailwind CSS v4
  • Radix UI primitives
  • Framer Motion
  • Storybook 10

License

MIT