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

@motesting/design-system-poc

v1.0.1

Published

A small-scale design system POC for team use

Readme

Design System POC

A small-scale React component library for team collaboration, inspired by Material-UI and other modern design systems.

🚀 Features

  • React Components: Button, Input, Card, Typography
  • Consistent Design: Material Design inspired theme system
  • TypeScript Ready: Built with modern JavaScript
  • Lightweight: Small bundle size with tree-shaking support
  • Customizable: Easy to theme and extend

📦 Installation

npm install @your-org/design-system-poc

🎯 Quick Start

import React from 'react';
import { Button, Input, Card, Typography } from '@your-org/design-system-poc';
import '@your-org/design-system-poc/dist/index.css';

function App() {
  return (
    <div>
      <Typography variant="h1">Welcome to our Design System</Typography>
      <Card title="Sample Card" variant="elevated">
        <p>This is a sample card component.</p>
        <Button variant="primary">Get Started</Button>
      </Card>
      <Input 
        label="Email Address" 
        placeholder="Enter your email" 
        type="email" 
        required 
      />
    </div>
  );
}

export default App;

🧩 Components

Button

<Button variant="primary" size="medium">Click me</Button>
<Button variant="secondary" size="small">Secondary</Button>
<Button variant="outline" size="large">Outline</Button>

Props:

  • variant: 'primary' | 'secondary' | 'outline' | 'text'
  • size: 'small' | 'medium' | 'large'
  • disabled: boolean
  • onClick: function

Input

<Input 
  label="Email" 
  placeholder="Enter email" 
  type="email" 
  required 
  error="Invalid email"
  helperText="We'll never share your email"
/>

Props:

  • label: string
  • placeholder: string
  • type: string (text, email, password, etc.)
  • value: string
  • onChange: function
  • error: string
  • helperText: string
  • required: boolean
  • disabled: boolean

Card

<Card title="Card Title" variant="elevated">
  <p>Card content goes here</p>
  <Button variant="primary">Action</Button>
</Card>

Props:

  • title: string
  • variant: 'elevated' | 'outlined'
  • children: ReactNode

Typography

<Typography variant="h1">Heading 1</Typography>
<Typography variant="h2">Heading 2</Typography>
<Typography variant="body1">Body text</Typography>

Props:

  • variant: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'body1' | 'body2' | 'caption' | 'button'
  • component: string (override the HTML element)

🎨 Theme

The design system includes a comprehensive theme with:

  • Colors: Primary, secondary, success, warning, error
  • Typography: Consistent font sizes and weights
  • Spacing: Standardized spacing scale
  • Shadows: Elevation system
  • Border Radius: Consistent corner rounding
import { theme } from '@your-org/design-system-poc';

console.log(theme.colors.primary); // '#2196f3'
console.log(theme.typography.h1.fontSize); // '2.25rem'

🛠️ Development

# Install dependencies
npm install

# Start development server
npm run dev

# Build for production
npm run build

# View demo
npm start

📁 Project Structure

src/
├── components/
│   ├── Button/
│   │   ├── Button.js
│   │   └── Button.css
│   ├── Input/
│   │   ├── Input.js
│   │   └── Input.css
│   ├── Card/
│   │   ├── Card.js
│   │   └── Card.css
│   └── Typography/
│       ├── Typography.js
│       └── Typography.css
├── theme/
│   └── index.js
├── index.js
└── index.css

🚀 Publishing to NPM

  1. Update package.json with your organization name:

    {
      "name": "@your-org/design-system-poc",
      "version": "1.0.0"
    }
  2. Build the package:

    npm run build
  3. Publish to NPM:

    # For private package
    npm publish --access private
       
    # For public package
    npm publish
  4. Install in your projects:

    npm install @your-org/design-system-poc

📄 License

MIT License - feel free to use in your projects!

🤝 Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

📞 Support

For questions or support, please contact your team lead or create an issue in the repository.