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

@jamelyassin/shadcn-angular

v1.0.4

Published

Beautifully designed Angular components built with Tailwind CSS v4

Readme

🎨 shadcn-angular

Beautifully designed Angular components built with Tailwind CSS v4, Angular 21+, and modern TypeScript. A comprehensive port of the popular shadcn/ui library.

npm version License: MIT Angular TypeScript Tailwind CSS

🌐 Live Demo📚 Documentation🐛 Report Bug✨ Request Feature


✨ Features

  • 🎨 60+ Components - Complete set of production-ready, accessible UI components

  • ⚡ Angular 21+ - Built for the latest Angular with signals, standalone components, and modern control flow

  • 🎯 Type-Safe - Full TypeScript support with strict type checking and IntelliSense

  • 🌈 Tailwind CSS 4 - Latest Tailwind utilities for responsive, customizable designs

  • 📦 Multiple Install Methods - npm, pnpm, yarn, bun, and ng add support

  • 🤖 AI Integration - MCP (Model Context Protocol) server for AI assistant support

  • ♿ Accessible - WCAG 2.1 AA compliant, keyboard navigation, screen reader support

  • 🌙 Dark Mode - Built-in dark mode support with automatic detection

  • 🎭 Highly Customizable - Easy theming with CSS variables

  • 📱 Responsive - Mobile-first design, fully responsive

  • 🚀 Performance - Optimized for speed with minimal bundle impact

  • 🧩 Copy-Paste Friendly - Copy components directly into your project


🚀 Quick Start

Installation

Choose your package manager:

# Angular CLI (recommended)
ng add @jamelyassin/shadcn-angular
# npm
npm install @jamelyassin/shadcn-angular
# pnpm
pnpm add @jamelyassin/shadcn-angular
# yarn
yarn add @jamelyassin/shadcn-angular
# bun
bun add @jamelyassin/shadcn-angular

Basic Usage

import { Component } from '@angular/core';
import { Button } from '@jamelyassin/button';

@Component({
  selector: 'app-example',
  standalone: true,
  imports: [Button],
  template: `
    <div class="flex gap-4">
      <Button>Default</Button>
      <Button variant="secondary">Secondary</Button>
      <Button variant="destructive">Delete</Button>
      <Button variant="outline">Outline</Button>
      <Button variant="ghost">Ghost</Button>
      <Button disabled>Disabled</Button>
    </div>
  `,
})
export class ExampleComponent {}

📚 Available Components

Form Components

  • Button - Versatile button with multiple variants
  • Input - Text input with validation states
  • Select - Dropdown selection component
  • Checkbox - Accessible checkbox input
  • Radio - Radio button group
  • Switch - Toggle switch
  • Textarea - Multi-line text input
  • Label - Form label component
  • Form - Complete form builder

Layout Components

  • Card - Container with header, content, footer
  • Grid - Responsive grid layout
  • Separator - Visual divider
  • Spacer - Flexible spacing element
  • Stack - Flex-based layout primitive

Navigation Components

  • Navigation Menu - Horizontal navigation bar
  • Tabs - Tabbed content interface
  • Breadcrumb - Navigation trail
  • Pagination - Multi-page navigation

Overlay Components

  • Dialog - Modal dialog box
  • Popover - Floating popover
  • Tooltip - Hover tooltip
  • Alert Dialog - Confirmation dialog
  • Sheet - Side panel/drawer
  • Dropdown Menu - Dropdown menu

Data Display

  • Table - Data table with sorting/filtering
  • Badge - Status badge
  • Avatar - User avatar
  • Progress - Progress bar
  • Skeleton - Loading skeleton
  • Alert - Alert message
  • Chart - Data visualization
  • Code Block - Syntax-highlighted code

And Many More...

See all components →


🎨 Theming

Customize colors and appearance using CSS variables:

// styles.scss
:root {
  --primary: 220 90% 56%;
  --secondary: 210 40% 96%;
  --destructive: 0 84% 60%;
  --success: 142 76% 36%;
  --warning: 38 92% 50%;
  --muted: 210 10% 12%;
  --background: 0 0% 100%;
  --foreground: 220 13% 13%;
  --border: 214 31% 91%;
  --radius: 0.5rem;
}

[data-theme="dark"] {
  --background: 220 13% 13%;
  --foreground: 0 0% 100%;
  // ... override other variables
}

📖 Full theming guide →


🌙 Dark Mode

Enable dark mode support automatically or manually:

import { Component, signal } from '@angular/core';

@Component({
  selector: 'app-root',
  template: `
    <div [attr.data-theme]="isDark() ? 'dark' : 'light'">
      <!-- Your content -->
    </div>
  `,
})
export class AppComponent {
  isDark = signal(false);

  toggleDarkMode() {
    this.isDark.update(value => !value);
  }
}

🤖 AI Integration (MCP Server)

🤖 AI Integration (MCP Server)

Use the included MCP (Model Context Protocol) server to integrate shadcn-angular with AI assistants like Claude:

Setup

  1. Build the MCP server:

    npm run build:mcp
  2. Configure Claude Desktop (~/.config/Claude/claude_desktop_config.json):

    {
      "mcpServers": {
        "shadcn-angular": {
          "command": "node",
          "args": ["/absolute/path/to/dist/mcp-server/index.js"]
        }
      }
    }
  3. Start using AI assistance:

    • Ask Claude about component documentation
    • Get installation commands for specific components
    • Receive code examples and implementation guidance

🤖 MCP Setup Guide →


📖 Documentation


🛠️ Development

Prerequisites

  • Node.js 18+ or higher
  • Angular 21+
  • Tailwind CSS 4+

Local Setup

  1. Clone the repository:

    git clone https://github.com/Tigayon-Innovations/angular-shadcn.git
    cd shadcn-angular
  2. Install dependencies:

    npm install
  3. Start the development server:

    npm start
    # or
    ng serve
  4. Open your browser:

    http://localhost:4200

📋 Building & Testing

Building

# Build for production
ng build

# Build with SSR support
ng build -- --configuration production

# Build only schematics
npm run build:schematics

# Build only MCP server
npm run build:mcp

Testing

# Run tests
npm test

# Run tests with UI
npm run test:ui

# Generate coverage report
npm run test:coverage

🔗 Project Structure

shadcn-angular/
├── src/
│   ├── app/
│   │   ├── components/          # UI components
│   │   │   ├── ui/             # shadcn-angular components
│   │   │   └── ...
│   │   ├── blocks/             # Pre-built component blocks
│   │   ├── lib/                # Utilities and helpers
│   │   └── pages/              # Application pages
│   ├── styles.scss             # Global styles
│   └── main.ts                 # Application entry point
├── mcp-server/                 # MCP server implementation
├── schematics/                 # Angular CLI schematics
├── docs/                       # Documentation
└── package.json

🎓 Learning Resources


📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

Inspired by shadcn/ui by shadcn.


🙏 Contributing

We welcome contributions! Please see our Contributing Guide for details.

Ways to Contribute

  • 🐛 Report bugs and issues
  • ✨ Request new components
  • 📝 Improve documentation
  • 🎨 Suggest design improvements
  • 🚀 Submit pull requests

🤝 Support


📊 Stats

  • 60+ Components
  • 100% Type-Safe
  • WCAG 2.1 AA Compliant
  • 2000+ Hours Development
  • Active Community

⬆ back to top

Made with ❤️ by Tigayon Innovations