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

@altrugenix/ui

v1.0.0

Published

<div align="center"> <a href="https://altrugenix.js.org/"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://avatars.githubusercontent.com/u/272279351"> <img alt="Altrugenix logo" src="https://avatars.githubuserconte

Readme

An open-source, accessible, and high-performance React component library built with Tailwind CSS and Framer Motion. Designed for building modern, state-of-the-art web applications with ease.

Features

  • 💎 Modern Aesthetic: Modern design with glassmorphism, smooth animations, and curated color palettes.
  • Accessible: Built with accessibility in mind, ensuring your UI is usable by everyone.
  • Performant: Optimized for speed and small bundle sizes.
  • 🎨 Fully Customizable: Deep integration with Tailwind CSS for easy styling and theming.
  • 🌓 Dark Mode Support: Built-in support for dark mode with HSL-based color variables.
  • 🧩 Polymorphic Components: Many components support the as prop for ultimate flexibility.

Installation

Install the package via yarn:

yarn add @altrugenix/ui

[!NOTE] Ensure you have the required peer dependencies installed: framer-motion, react, react-dom, and tailwindcss.

Setup

1. Tailwind CSS Configuration

Update your tailwind.config.js (or .ts) to include the @altrugenix/ui content.

import type { Config } from "tailwindcss";

const config: Config = {
  // Add the package to your content paths
  content: [
    "./src/**/*.{ts,tsx}",
    "./node_modules/@altrugenix/ui/dist/**/*.{js,ts,jsx,tsx}",
  ],
  theme: {
    extend: {
      // The library uses custom HSL variables for colors.
      // Ensure your tailwind config matches the library's expectations.
    },
  },
  plugins: [require("tailwindcss-animate")],
};

export default config;

2. Import Global Styles

Import the library's CSS in your main entry point (e.g., main.tsx or _app.tsx):

import "@altrugenix/ui/dist/index.css";

3. Theme Provider

Wrap your application with the ThemeProvider to enable theme management (Light/Dark mode).

import { ThemeProvider } from "@altrugenix/ui";

function App({ children }) {
  return (
    <ThemeProvider defaultTheme="dark" storageKey="altrugenix-theme">
      {children}
    </ThemeProvider>
  );
}

Basic Usage

import { Button, Card, Heading, Text } from "@altrugenix/ui";

export default function MyComponent() {
  return (
    <Card className="mx-auto max-w-md p-6">
      <Heading level={2} className="mb-4">
        Welcome to Altrugenix
      </Heading>
      <Text variant="muted" className="mb-6">
        This is a premium React component library.
      </Text>
      <div className="flex gap-4">
        <Button variant="primary" onClick={() => console.log("Clicked!")}>
          Get Started
        </Button>
        <Button variant="outline">Learn More</Button>
      </div>
    </Card>
  );
}

Available Components

The library includes a comprehensive set of UI primitives and complex components:

  • General: Button, Heading, Text, Icon, Image, Link
  • Forms: Input, Textarea, Select, Checkbox, Radio, Switch, Slider, DatePicker, FileUpload, Autocomplete, RichTextEditor
  • Data Display: Badge, Avatar, Tag, Table, List, Timeline, Accordion, Card
  • Feedback: Toast, Modal
  • Layout: VirtualList, Kanban
  • Visuals: Charts, CalendarView

Development Scripts

If you're contributing to the library, here are the useful scripts:

  • yarn dev: Start the Vite dev server for component development.
  • yarn storybook: Run Storybook for component documentation and testing.
  • yarn build: Build the library for production.
  • yarn test: Run unit tests with Vitest.
  • yarn lint: Run ESLint for code style checks.

License

MIT © Altrugenix