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

@pmealha/eidos-ui

v0.1.6

Published

A modern React component library with TypeScript and SCSS

Readme

@pmealha/eidos-ui

A modern, accessible React component library built with TypeScript, SCSS, and CSS custom properties.

✨ Features

  • 🎨 Customizable - CSS custom properties for easy theming
  • 💪 TypeScript - Full type safety and IntelliSense support
  • 🎭 SCSS - Powerful styling with mixins and design tokens
  • 🏗️ Optimized - Built with tsup for minimal bundle size
  • Tree-shakeable - Import only what you need
  • Accessible - Built with accessibility in mind
  • 🎯 Icon Flexibility - Works with any icon library (Lucide, MUI Icons, Font Awesome, Remix Icons, etc.)

📦 Installation

npm install @pmealha/eidos-ui

Optional: If you want to use component-based icons (recommended):

npm install lucide-react
# or use MUI Icons, Heroicons, etc.

🚀 Quick Start

import { Button, Tooltip, DatePicker } from '@pmealha/eidos-ui';
import '@pmealha/eidos-ui/styles';

function App() {
  return (
    <div>
      <Button variant="filled" color="primary">
        Click me
      </Button>
      
      <Tooltip message="Helpful hint">
        <Button>Hover me</Button>
      </Tooltip>
    </div>
  );
}

With Icons

// Using component icons (tree-shakeable)
import { Plus, Download } from 'lucide-react';
<Button icon={Plus} />
<Button preIcon={Download}>Download</Button>

// Or using string-based icons
<Button icon="fa fa-plus" />  // Font Awesome
<Button icon="ri-add-line" />  // Remix Icons

📦 Available Components

  • Button - Versatile button with variants, sizes, colors, icons, loading states
  • Chip - Compact elements for tags, labels, or selections
  • DatePicker - Date selection with single, multiple, and range modes
  • Divider - Visual separator with optional text
  • Dropdown - Customizable dropdown menus
  • Input - Text input with validation and icons
  • Menu - Navigation and action menus
  • Modal - Dialog overlays with customizable actions
  • Select - Dropdown selection with search
  • Snackbar - Toast notifications with actions
  • Spinner - Loading indicators
  • Table - Data tables with sorting, filtering, and pagination
  • Tooltip - Contextual hints with smart positioning

📚 Documentation

For detailed component documentation, props, and interactive examples, visit our Storybook:

npm run storybook

Or check the live Storybook documentation (coming soon)

🎨 Customization

Theming with CSS Variables

All design tokens are customizable via CSS custom properties:

:root {
  /* Colors */
  --primary-color: #6366f1;
  --secondary-color: #ec4899;
  
  /* Spacing */
  --spacing-md: 1em;
  --spacing-lg: 1.5em;
  
  /* Border radius */
  --border-radius-md: 8px;
}

Dark Mode Example

[data-theme="dark"] {
  --primary-color: #818cf8;
  --background: #1e293b;
  --text-color: #f1f5f9;
}

Override Component Styles

.eidos-button {
  border-radius: 20px;
}

.eidos-button--primary {
  background: linear-gradient(to right, #6366f1, #8b5cf6);
}

💻 TypeScript Support

Full TypeScript support with exported types:

import type { ButtonProps, TooltipProps } from '@pmealha/eidos-ui';

const MyButton: React.FC<ButtonProps> = (props) => {
  return <Button {...props} />;
};

🎯 Icon Support

The library supports multiple icon approaches:

  1. Component Icons (Lucide, MUI, Heroicons) - Recommended for tree-shaking
  2. String-based Icons (Font Awesome, Remix Icons) - Great for dynamic icons
// Component-based (tree-shakeable)
import { Plus } from 'lucide-react';
<Button icon={Plus} />

// String-based (requires icon CSS to be loaded)
<Button icon="fa fa-plus" />

📄 License

MIT

👤 Author

Pedro Mealha


Built with ❤️ using React, TypeScript, SCSS, and Storybook