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

miahui

v0.1.4

Published

A highly customizable UI component library with CSS/SCSS and Tailwind support

Downloads

11

Readme

Miahui

A highly customizable UI component library with support for CSS, SCSS, and Tailwind CSS.

Features

  • 🎨 Multiple Styling Options: Choose between vanilla CSS, SCSS, or Tailwind CSS
  • Highly Optimized: Lightweight and performant components
  • 🔧 Fully Customizable: Easy to modify and extend
  • 📦 Copy, Don't Install: Components are copied to your project, not installed as dependencies
  • 🚀 TypeScript First: Built with TypeScript for better DX

Installation

npm install -g miahui

Getting Started

Initialize Miahui in your project

miahui init

This will:

  • Create a components.json configuration file
  • Set up the necessary directory structure
  • Let you choose your preferred styling approach (CSS/SCSS/Tailwind)

Add Components

miahui add button
miahui add card
miahui add input

Update Components

miahui update          # Update all components
miahui update button   # Update specific component

List Components

miahui list              # List all components
miahui list --search tab # Search components

Configuration

After initialization, you'll have a components.json file:

{
  "style": "tailwind",
  "rsc": false,
  "tsx": true,
  "tailwind": {
    "config": "tailwind.config.js",
    "css": "src/app/globals.css",
    "baseColor": "slate",
    "cssVariables": true
  },
  "css": {
    "outputDir": "src/styles/components",
    "scss": false
  },
  "aliases": {
    "components": "@/components",
    "utils": "@/lib/utils"
  }
}

Styling Options

Tailwind CSS (Default)

Components use Tailwind utility classes with CSS variables for theming. Supports both Tailwind CSS v3 and v4.

Required dependencies:

npm install clsx tailwind-merge

For Tailwind CSS v4:

  • Use @import "tailwindcss" in your main CSS file instead of @tailwind directives
  • Miahui will automatically detect and inject CSS variables for both v3 and v4 syntax

Vanilla CSS

Components come with standalone CSS files that can be imported directly. No additional dependencies required.

SCSS

Components come with SCSS files for more advanced styling capabilities. Requires a SCSS compiler (usually included in build tools like Vite, Next.js, etc.).

Components

  • Button - Versatile button with multiple variants and sizes
  • Card - Container component with header, content, and footer
  • Input - Styled input component with focus states
  • Textarea - Multi-line text input component
  • Select - Styled select dropdown component
  • Dialog - Modal dialog component
  • Label - Form label component
  • Badge - Small status indicator component
  • Tabs - Tabbed interface component
  • Separator - Visual separator component
  • Avatar - User profile picture component with fallback
  • Image - Optimized image component with Next.js support
  • Alert - Alert/notification component
  • Switch - Toggle switch component
  • Checkbox - Checkbox input component
  • Tooltip - Tooltip component with positioning
  • Accordion - Collapsible content sections
  • Popover - Floating popover panel
  • Progress - Progress bar component
  • Skeleton - Loading skeleton component
  • Dropdown Menu - Dropdown menu with items and separators
  • Radio Group - Radio button group component
  • Slider - Range slider component
  • Toast - Toast notification component
  • Breadcrumb - Breadcrumb navigation component
  • Sheet - Slide-over panel/drawer component

Run miahui list to see all available components, or miahui list --search <term> to search.

Comparison with shadcn/ui

Miahui is inspired by shadcn/ui but offers several advantages:

  • Multiple Styling Options: Choose between Tailwind CSS, vanilla CSS, or SCSS
  • Better Optimization: Components are optimized for each styling approach
  • More Flexible: Easier to customize and extend
  • No Runtime Dependencies: Components are copied, not installed
  • Type-Safe: Full TypeScript support

Contributing

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

License

MIT