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

pex-ui

v1.0.1

Published

PEX Design System - React Components with Dark Glass Design

Readme

🔱 PEX UI - Design System

Version: 1.0.0
Last Updated: 2025-11-18
Status: ✅ Ready to use


🎯 Features

  • 🔱 emoji-pulse Loading Spinner
  • 🎨 Dark Glass Components
  • 🔘 Modern Buttons (Gradient + Glass)
  • 📝 Form Elements
  • 🔔 Notifications
  • 🎯 Badges
  • 📊 Modals
  • 🎨 Utility Classes

📦 Installation

Option 1: Local Import (Monorepo)

// In your React app
import { PexButton, PexCard, PexLoading } from '@pex/ui';
import '@pex/ui/styles';

Option 2: Copy CSS File

<link rel="stylesheet" href="/packages/pex-ui/dist/pex-ui.css">

🚀 Usage

React Components

import { 
  PexButton, 
  PexCard, 
  PexLoading,
  PexInput,
  PexNotification,
  PexBadge,
  PexModal
} from '@pex/ui';
import '@pex/ui/styles';

function App() {
  return (
    <div>
      {/* Loading Spinner */}
      <PexLoading />
      
      {/* Card */}
      <PexCard>
        <h2>Card Title</h2>
        <p>Card content...</p>
      </PexCard>
      
      {/* Buttons */}
      <PexButton variant="primary">Primary Button</PexButton>
      <PexButton variant="secondary">Secondary Button</PexButton>
      <PexButton variant="glass">Glass Button</PexButton>
      
      {/* Input */}
      <PexInput 
        placeholder="Enter text..." 
        value={value}
        onChange={(e) => setValue(e.target.value)}
      />
      
      {/* Notification */}
      <PexNotification type="success">
        Operation successful!
      </PexNotification>
      
      {/* Badge */}
      <PexBadge variant="success">✅ Live</PexBadge>
      
      {/* Modal */}
      <PexModal 
        isOpen={isOpen} 
        onClose={() => setIsOpen(false)}
        title="Modal Title"
      >
        <p>Modal content...</p>
      </PexModal>
    </div>
  );
}

Plain HTML (CSS Only)

<!DOCTYPE html>
<html>
<head>
  <link rel="stylesheet" href="/packages/pex-ui/dist/pex-ui.css">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
</head>
<body>
  <!-- Loading -->
  <div class="pex-loading">🔱</div>
  
  <!-- Card -->
  <div class="pex-card">
    <h2>Card Title</h2>
    <p>Content...</p>
  </div>
  
  <!-- Button -->
  <button class="pex-btn pex-btn-primary">
    Click Me
  </button>
  
  <!-- Input -->
  <input class="pex-input" placeholder="Enter text...">
  
  <!-- Notification -->
  <div class="pex-notification success">
    <span>✅</span>
    <div>Success message!</div>
  </div>
  
  <!-- Badge -->
  <span class="pex-badge pex-badge-success">✅ Live</span>
</body>
</html>

🎨 Design Tokens

:root {
  --pex-green: #10b981;
  --pex-green-dark: #059669;
  --pex-blue: #3b82f6;
  --pex-blue-dark: #2563eb;
  --pex-dark: #1e293b;
  --pex-gray: #64748b;
  
  --pex-glass-bg: rgba(30, 41, 59, 0.5);
  --pex-glass-bg-hover: rgba(30, 41, 59, 0.7);
  --pex-glass-border: rgba(255, 255, 255, 0.1);
}

📚 Components

PexLoading

<PexLoading size="4rem" />

PexCard

<PexCard hover={true}>
  Content
</PexCard>

PexButton

<PexButton variant="primary|secondary|glass" disabled={false}>
  Button Text
</PexButton>

PexInput

<PexInput 
  type="text" 
  placeholder="Placeholder"
  value={value}
  onChange={handler}
/>

PexNotification

<PexNotification type="success|error|info|warning" icon="🎉">
  Message
</PexNotification>

PexBadge

<PexBadge variant="success|info|warning">
  Badge Text
</PexBadge>

PexModal

<PexModal 
  isOpen={true} 
  onClose={handler}
  title="Modal Title"
>
  Content
</PexModal>

🎯 Examples

See /packages/pex-ui/examples/ for full examples.


📝 License

MIT © PEX System


🔱 PEX UI v1.0.0 - Precision, Efficiency, eXcellence