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

e6ds

v0.4.1

Published

E6Data Design System - Shared React components and design tokens

Readme

e6ds

E6Data Design System - Shared React components and design tokens for building consistent UIs.

Installation

npm install e6ds

Setup

1. Import styles

In your app's global CSS or layout file:

import "e6ds/styles";

2. Configure Tailwind (optional)

If you want to use the design tokens in your own Tailwind classes, extend your config:

// tailwind.config.ts
import { e6Preset } from "e6ds/tailwind-preset";
import type { Config } from "tailwindcss";

const config: Config = {
  presets: [e6Preset],
  content: [
    "./src/**/*.{js,ts,jsx,tsx}",
    "./node_modules/e6ds/dist/**/*.js",
  ],
};

export default config;

Usage

import {
  Button,
  Card,
  CardHeader,
  CardTitle,
  CardContent,
  Input,
  LineChart,
  MetricCard,
  DataTable,
  useToast,
} from "e6ds";
import "e6ds/styles";

function Dashboard() {
  return (
    <div className="grid gap-4">
      <MetricCard
        title="Total Revenue"
        value="$45,231.89"
        change="+20.1%"
        changeType="positive"
      />
      <LineChart
        title="Traffic"
        data={[...]}
        xAxisKey="time"
        lines={[{ dataKey: "value", name: "Visitors" }]}
      />
    </div>
  );
}

Components

Primitives

  • Button - Primary action button with variants (default, destructive, outline, secondary, ghost, link)
  • Card - Container with header, content, footer sections
  • Avatar - User avatar with image and fallback
  • Input - Text input field
  • Textarea - Multi-line text input
  • Label - Form label
  • Select - Dropdown select with groups
  • Dialog - Modal dialog
  • AlertDialog - Confirmation dialog
  • DropdownMenu - Context menu with submenus
  • Tabs - Tab navigation
  • Badge - Status indicators with variants
  • Tooltip - Hover tooltips
  • Popover - Click-triggered popover
  • Separator - Horizontal/vertical divider
  • ScrollArea - Custom scrollbar container
  • Toast - Notification toasts

Forms

  • FormField - Wrapper with label, description, error states
  • Checkbox - Checkbox input
  • RadioGroup - Radio button group
  • Switch - Toggle switch
  • Slider - Range slider

Layout

  • Sidebar - Collapsible navigation sidebar
  • SidebarItem - Navigation item with icon
  • SidebarSection - Grouped sidebar items
  • TopBar - App header bar
  • MainContent - Main content area
  • PageHeader - Page title with actions
  • PageContent - Padded content container

Data Display

  • MetricCard - KPI display with change indicator
  • StatCard - Statistics with trend
  • Progress - Linear progress bar
  • CircularProgress - Circular progress indicator
  • DataTable - Data table with sorting, loading states

Charts (powered by Recharts)

  • LineChart - Line chart for time series
  • AreaChart - Filled area chart
  • BarChart - Bar chart with horizontal/vertical layout
  • PieChart - Pie/donut chart
  • ChartContainer - Wrapper with title and loading states
  • ChartTooltip - Styled chart tooltip

Hooks

  • useToast - Toast notification hook

Design Tokens

Brand Colors

| Token | Value | Usage | |-------|-------|-------| | --e6-green | rgb(73 245 159) | Primary CTA | | --e6-purple | rgb(136 0 255) | Links | | --e6-cream | rgb(255 253 250) | Background | | --e6-dark | rgb(51 50 46) | Text | | --e6-beige | rgb(229 223 207) | Secondary | | --e6-gray | rgb(153 148 138) | Muted |

Semantic Tokens

  • --primary / --primary-foreground
  • --secondary / --secondary-foreground
  • --muted / --muted-foreground
  • --accent / --accent-foreground
  • --destructive / --destructive-foreground
  • --background / --foreground
  • --card / --card-foreground
  • --border, --input, --ring

Design Principles

  • Sharp Edges: Zero border radius throughout
  • Dark Mode: Full support via .dark class
  • Accessibility: Built on Radix UI primitives

Development

# Install dependencies
npm install

# Start Storybook for development
npm run storybook

# Build the library
npm run build

# Watch mode for development
npm run dev

File Structure

src/
├── components/
│   ├── primitives/     # Base UI components
│   ├── forms/          # Form components
│   ├── layout/         # Layout components
│   ├── feedback/       # Toast, alerts
│   ├── data-display/   # Stats, tables, progress
│   └── charts/         # Chart components
├── hooks/              # React hooks
├── lib/                # Utilities (cn)
└── styles/             # CSS tokens and globals

License

MIT