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 🙏

© 2025 – Pkg Stats / Ryan Hefner

protokit-ui

v0.1.0

Published

A comprehensive React component library with hand-drawn design system. Features 30+ beautiful, accessible components including buttons, forms, navigation, data display, and layout components. Built with TypeScript and styled with CSS for modern React appl

Readme

Protokit UI

A comprehensive React component library with a hand-drawn design system. Features 30+ beautiful, accessible components built with TypeScript for modern React applications.

🎨 Design Philosophy

Protokit UI embraces a hand-drawn aesthetic that brings warmth and personality to your applications. Each component is carefully crafted with attention to detail, accessibility, and developer experience.

✨ Features

  • 30+ Components: Buttons, forms, navigation, data display, and layout components
  • TypeScript Support: Full type definitions included
  • Accessible: Built with accessibility in mind
  • Customizable: Easy to theme and customize
  • Modern React: Compatible with React 18+
  • Hand-drawn Design: Unique visual style that stands out

📦 Installation

npm install protokit-ui

🚀 Quick Start

import React from 'react';
import { Button, Card, Input } from 'protokit-ui';

function App() {
  return (
    <div>
      <Card>
        <h2>Welcome to Protokit UI</h2>
        <Input placeholder="Enter your name" />
        <Button>Get Started</Button>
      </Card>
    </div>
  );
}

export default App;

🧩 Components

Form Components

  • Button - Primary, secondary, and icon buttons
  • Input - Text input with validation states
  • TextArea - Multi-line text input
  • Checkbox - Checkbox with custom styling
  • Radio - Radio button groups
  • Toggle - Switch/toggle component
  • Slider - Range slider input
  • DatePicker - Date selection component
  • Select - Dropdown selection
  • ProgressBar - Progress indication

Display Components

  • Card - Content container with elevation
  • Badge - Status and notification badges
  • Tag - Categorization tags
  • Divider - Visual separation
  • Table - Data tables with sorting
  • List - Structured lists
  • Typography - Text styling components

Navigation Components

  • NavigationBar - Main navigation
  • Menu - Context and dropdown menus
  • Tabs - Tabbed content organization
  • Pagination - Page navigation
  • Breadcrumb - Navigation breadcrumbs

Feedback Components

  • Modal - Overlay dialogs
  • Notification - Toast notifications
  • Tooltip - Contextual help
  • Accordion - Collapsible content

Layout Components

  • Header - Page headers
  • Hero - Landing page sections
  • Grid - Layout grid system

🎯 Usage Examples

Form with Validation

import { Input, Button, Card } from 'protokit-ui';

function LoginForm() {
  const [email, setEmail] = useState('');
  const [password, setPassword] = useState('');

  return (
    <Card>
      <Input
        type="email"
        placeholder="Email"
        value={email}
        onChange={(e) => setEmail(e.target.value)}
      />
      <Input
        type="password"
        placeholder="Password"
        value={password}
        onChange={(e) => setPassword(e.target.value)}
      />
      <Button onClick={handleLogin}>
        Sign In
      </Button>
    </Card>
  );
}

Data Display

import { Table, Badge, Tag } from 'protokit-ui';

function UserTable({ users }) {
  return (
    <Table
      data={users}
      columns={[
        { key: 'name', title: 'Name' },
        { key: 'email', title: 'Email' },
        { 
          key: 'status', 
          title: 'Status',
          render: (status) => <Badge type={status}>{status}</Badge>
        },
        {
          key: 'tags',
          title: 'Tags',
          render: (tags) => tags.map(tag => <Tag key={tag}>{tag}</Tag>)
        }
      ]}
    />
  );
}

Navigation

import { NavigationBar, Menu, Tabs } from 'protokit-ui';

function AppLayout() {
  return (
    <div>
      <NavigationBar
        brand="My App"
        items={[
          { label: 'Home', href: '/' },
          { label: 'Products', href: '/products' },
          { label: 'About', href: '/about' }
        ]}
      />
      
      <Tabs>
        <Tabs.Tab label="Overview">Overview content</Tabs.Tab>
        <Tabs.Tab label="Details">Details content</Tabs.Tab>
        <Tabs.Tab label="Settings">Settings content</Tabs.Tab>
      </Tabs>
    </div>
  );
}

🎨 Theming

Protokit UI components use CSS custom properties for easy theming:

:root {
  --protokit-primary: #007bff;
  --protokit-secondary: #6c757d;
  --protokit-success: #28a745;
  --protokit-warning: #ffc107;
  --protokit-danger: #dc3545;
  --protokit-border-radius: 8px;
  --protokit-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

📚 Documentation

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

📄 License

MIT License - see LICENSE for details.

🙏 Acknowledgments

  • React team for the amazing framework
  • TypeScript team for excellent type support
  • Open source community for inspiration and tools

Made with ❤️ by the Protokit Team

GitHubDocumentationIssues