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

@base-xui/angular-xui

v0.1.1

Published

A comprehensive UI component library for Angular applications

Downloads

0

Readme

Angular XUI

Angular XUI is a comprehensive UI component library for Angular applications, providing a set of reusable, accessible, and customizable components.

Getting Started

Installation

npm install @base-xui/angular-xui
# or
yarn add @base-xui/angular-xui
# or
pnpm add @base-xui/angular-xui

Usage

Import the components you need in your Angular module:

import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { AngularXuiModule } from "@base-xui/angular-xui";

@NgModule({
  imports: [BrowserModule, AngularXuiModule],
  // ...
})
export class AppModule {}

Then use the components in your templates:

<xui-button variant="primary">Click me</xui-button>
<xui-card>
  <xui-card-header>Card Title</xui-card-header>
  <xui-card-content>Card content goes here</xui-card-content>
</xui-card>

Button Examples

Here are some examples of how to use the Button component:

<!-- Primary Button -->
<xui-button variant="primary">Primary Button</xui-button>

<!-- Button with Icon -->
<xui-button variant="primary"> <i class="fas fa-plus"></i> Add Item </xui-button>

<!-- Button with Loading State -->
<xui-button variant="primary" [loading]="true">Loading...</xui-button>

<!-- Button with Custom Size -->
<xui-button variant="primary" size="small">Small Button</xui-button>
<xui-button variant="primary" size="medium">Medium Button</xui-button>
<xui-button variant="primary" size="large">Large Button</xui-button>

Development

Prerequisites

  • Node.js 18.19.1 or higher
  • pnpm 10.2.4 or higher
  • Angular CLI 19.1.6 or higher

Setup

  1. Clone the repository:
git clone https://github.com/base-XUI/angular-xui.git
cd angular-xui
  1. Install dependencies:
pnpm install
  1. Start the development server:
pnpm start
  1. View Storybook documentation:
pnpm run storybook

Building

To build the library:

pnpm run build

The build artifacts will be stored in the dist/ directory.

Testing Locally with yalc

For testing the package in another local project without publishing to npm:

  1. Install yalc globally (if not already installed):

    npm install -g yalc
    # or
    pnpm install -g yalc
  2. When you make changes to the library:

    # In angular-xui directory
    pnpm dev:publish  # For first-time publishing to local yalc store
    # or
    pnpm dev:link     # For subsequent updates to local yalc store
    ```
    Or use watch mode for continuous updates:
    
    ```bash
    # Automatically rebuilds and pushes to local yalc store on changes
    pnpm dev:watch
  3. Link package to local angular app:

    # In your test app directory
    yalc add @base-xui/angular-xui
    pnpm install # or npm install
  4. To remove the yalc link:

    # In your test app directory
    yalc remove @base-xui/angular-xui
    pnpm install # or pnpm install

Available Scripts

  • pnpm storybook - Start Storybook for component development
  • pnpm build:package - Build Package & generate dist folder
  • pnpm build:storybook - Build Storybook for deployment
  • pnpm test:unit - Run components test (unit test)
  • pnpm test:unit:ui - Open Visualized components test interface
  • pnpm test:e2e - Run end to end tests
  • pnpm test:e2e:ui - Open Visualized e2e test interface
  • pnpm lint - Lint code
  • pnpm format - Format code
  • pnpm dev:publish - First-time publishing to local yalc store
  • pnpm dev:link - Update package in local yalc store
  • pnpm dev:watch - Watch for changes and update local yalc store automatically

Project Structure

  • src/app/ - Component source code
  • src/app/components/ - UI components

Testing

Unit Tests

pnpm test:unit

E2E Tests

pnpm test:e2e

Contributing

Please see CONTRIBUTING.md for detailed information about our development workflow, branching strategy, and release process.

License

MIT License

Additional Resources