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

@ngzard/ui

v1.0.0-beta.31

Published

An alternative to shadcn/ui for angular

Downloads

600

Readme

@ngzard/ui

Beautiful Angular components built with TailwindCSS v4. Add modern, accessible components to your Angular apps with a single command.

🚀 Quick Start

# Init the CLI
npx @ngzard/ui@latest init

✨ Features

  • 🎨 Beautiful Components - Modern, accessible UI components
  • TailwindCSS v4 - Latest CSS framework with native cascade layers
  • 🔧 TypeScript First - Built for modern Angular with full type safety
  • 🎯 Angular Focused - Designed specifically for the Angular ecosystem
  • 📱 Responsive - Mobile-first components that work everywhere
  • 🌙 Dark Mode - Built-in dark mode support
  • 🧩 Modular - Add only the components you need

Installation

Use the ngzard to add components to your Angular project:

# Initialize your project
npx @ngzard/ui@latest init

# Add components to your project
npx @ngzard/ui@latest add button
npx @ngzard/ui@latest add button card dialog

# Add all components
npx @ngzard/ui@latest add --all

Commands

init

Initialize your project and install dependencies for ZardUI components.

npx @ngzard/ui@latest init

This will:

  • Install required dependencies (Tailwind CSS v4, class-variance-authority, etc.)
  • Create .postcssrc.json for Tailwind CSS PostCSS plugin
  • Set up src/styles.css with Tailwind configuration and design tokens
  • Configure TypeScript path mappings in tsconfig.json
  • Create utility functions in src/app/shared/utils/

Options:

  • -y, --yes - Skip confirmation prompts
  • -c, --cwd <path> - Specify working directory

add

Add components to your project.

npx @ngzard/ui@latest add [components...]

Examples:

# Add a single component
npx @ngzard/ui@latest add button

# Add multiple components  
npx @ngzard/ui@latest add button card badge

# Add all components
npx @ngzard/ui@latest add --all

# Interactive selection
npx @ngzard/ui@latest add

Options:

  • -y, --yes - Skip confirmation prompts
  • -o, --overwrite - Overwrite existing files
  • -c, --cwd <path> - Specify working directory
  • -a, --all - Add all available components
  • -p, --path <path> - Custom path for components

Available Components

  • accordion - Collapsible content panels
  • alert - Alert messages with variants
  • avatar - User profile pictures with fallbacks
  • badge - Small status indicators
  • breadcrumb - Navigation breadcrumbs
  • button - Interactive buttons with variants
  • card - Content containers
  • checkbox - Form checkboxes
  • dialog - Modal dialogs
  • divider - Visual separators
  • dropdown - Dropdown menus
  • input - Form inputs
  • loader - Loading indicators
  • progress-bar - Progress indicators
  • radio - Radio button inputs
  • select - Select dropdowns
  • slider - Range sliders
  • switch - Toggle switches
  • tabs - Tabbed interfaces
  • toggle - Toggle buttons
  • tooltip - Hover tooltips

Configuration

The CLI stores configuration in components.json:

{
  "style": "css",
  "tailwind": {
    "css": "src/styles.css",
    "baseColor": "slate"
  },
  "baseUrl": "src/app",
  "aliases": {
    "components": "@/shared/components",
    "utils": "@/shared/utils",
    "core": "@/shared/core",
    "services": "@/shared/services"
  }
}

Requirements

  • Angular 19+
  • Node.js 20 or 22
  • TypeScript project

Path Mappings

The CLI automatically configures TypeScript path mappings in your tsconfig.json:

{
  "compilerOptions": {
    "baseUrl": "./",
    "paths": {
      "@/*": ["src/app/*"]
    }
  }
}

This allows you to import components and utilities using clean paths:

import { ZardButtonComponent } from '@/shared/components/button';
import { mergeClasses } from '@/shared/utils/merge-classes';

Tailwind CSS v4 Support

ZardUI CLI is built specifically for Tailwind CSS v4, using the new inline configuration approach:

  • No tailwind.config.js needed
  • Configuration via .postcssrc.json
  • Design tokens defined in CSS with @theme
  • Plugin configuration with @plugin

Troubleshooting

"Configuration not found"

Run npx @ngzard/ui@latest init first to initialize your project.

"Not an Angular project"

Make sure you're in the root directory of an Angular project with a package.json that includes @angular/core.

Rate limiting from GitHub

The CLI fetches components from GitHub. If you encounter rate limiting, wait a few minutes before retrying.

Contributing

This CLI is part of the ZardUI project. Please refer to the main repository for contribution guidelines.

License

MIT © ZardUI