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

chiperos-ai-components-library

v0.2.10

Published

Chiperos AI Components Library - A modern React component library built with Vite, TypeScript and Tailwind CSS.

Readme

Chiperos AI Components Library

A modern, fully-typed React component library built with Vite, TypeScript, and Tailwind CSS.

npm version License: MIT

🚀 Installation

npm install chiperos-ai-components-library
# or
yarn add chiperos-ai-components-library
# or
pnpm add chiperos-ai-components-library

📖 Live Documentation

View our interactive Storybook with all components, examples, and API documentation:

🔗 https://chiperos-ai-storybook.onrender.com

📦 Components

Cards

  • FeatureCard - Showcase features with icon, title, and description
  • ActionCard - Interactive cards with call-to-action buttons
  • OptionCard - Selectable option cards with radio buttons
  • CardsGrid - Responsive grid container for cards

KPI Components

  • KPICard - Display key performance indicators
  • KPIComparison - Show KPI comparisons with trends
  • OrderCard - Display order status and metrics
  • Custom variants available for all KPI cards

UI Components

  • Button - Versatile button with multiple variants and sizes
  • Loader - Loading indicators (spinner and linear)
  • Toasts - Toast notifications (light and dark)
  • Switcher - Toggle switch component
  • BannerAlerts - Alert banners (warning, information, grey)
  • BrandIcons - Brand logo icons with customization

Other

  • Header - Application header component
  • LanguageSwitcher - Language selection component
  • PaginationLib - Pagination controls

💡 Quick Start

import { CardsGrid, FeatureCard, ActionCard } from 'chiperos-ai-components-library';
import { Lock, Package } from 'lucide-react';

function App() {
  return (
    <CardsGrid columns={3} gap={6}>
      <FeatureCard
        icon={<Lock size={32} color="#00995a" />}
        title="Secure"
        description="Enterprise-grade security for your data"
        iconBackground="#e6f8ef"
      />
      
      <ActionCard
        icon={<Package size={32} color="#d48620" />}
        title="Inventory Management"
        description="Track and manage your inventory efficiently"
        action={{
          label: "View Inventory",
          onClick: () => console.log('Navigate to inventory')
        }}
      />
    </CardsGrid>
  );
}

export default App;

📖 Examples

Cards with Grid

import { CardsGrid, FeatureCard } from 'chiperos-ai-components-library';

<CardsGrid 
  columns={4}           // Desktop: 4 columns
  tabletColumns={2}     // Tablet: 2 columns
  mobileColumns={1}     // Mobile: 1 column
  gap={6}
>
  <FeatureCard {...props} />
  <FeatureCard {...props} />
  <FeatureCard {...props} />
  <FeatureCard {...props} />
</CardsGrid>

KPI Dashboard

import { KPICard } from 'chiperos-ai-components-library';
import { TrendingUp } from 'lucide-react';

<KPICard
  title="Total Sales"
  value={15420}
  unit="USD"
  description="Monthly revenue"
  comparison={{
    percentage: 12.5,
    trend: 'positive',
    label: 'vs last month'
  }}
  icon={<TrendingUp size={32} color="#00995a" />}
  iconColor="brand"
/>

Interactive Components

import { Switcher, Loader, Toasts } from 'chiperos-ai-components-library';
import { useState } from 'react';

function Settings() {
  const [enabled, setEnabled] = useState(false);
  const [loading, setLoading] = useState(false);

  return (
    <>
      <Switcher
        status={enabled}
        onChange={setEnabled}
        disabled={false}
      />
      
      <Loader type="spinner" show={loading} />
      
      <Toasts
        type="light"
        text="Settings updated successfully"
        icon={<CheckCircle />}
        onClose={() => console.log('Toast closed')}
      />
    </>
  );
}

🛠️ Tech Stack

  • React 18 - Modern React with hooks
  • TypeScript - Full type safety
  • Tailwind CSS - Utility-first styling
  • Radix UI - Accessible component primitives
  • Lucide React - Beautiful icons
  • Vite - Fast build tool

🎨 Styling

This library uses Tailwind CSS. Make sure you have Tailwind CSS configured in your project.

Setup Tailwind (if not already installed)

npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p

Update your tailwind.config.js:

/** @type {import('tailwindcss').Config} */
export default {
  content: [
    "./index.html",
    "./src/**/*.{js,ts,jsx,tsx}",
    "./node_modules/chiperos-ai-components-library/dist/**/*.{js,mjs}"
  ],
  theme: {
    extend: {},
  },
  plugins: [],
}

📚 Documentation

For detailed documentation and interactive examples, visit our Live Storybook.

The Storybook includes:

  • 📦 All 17+ components with live demos
  • 🎨 Interactive controls to test props
  • 📖 Complete API documentation
  • 💡 Usage examples and best practices
  • 🎯 100+ stories showcasing different use cases

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📝 License

MIT © Chiper Team

🐛 Issues

Found a bug or have a feature request? Please open an issue on GitHub.

📦 Package Info

  • Bundle Size: ~137 KB (ESM), ~69 KB (CJS)
  • Dependencies: React 18+, React DOM 18+
  • Peer Dependencies: React, React DOM
  • TypeScript: Full type definitions included

🔗 Links


Made with ❤️ by the Chiperos AI Team