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

zyra-ng-ui

v3.2.0

Published

ZyraUI – Modern Angular UI Components

Readme

zyra-ng-ui

npm version License: MIT

A dark-mode-first Angular component library built with design tokens, signals, and zero-runtime theming.

Live Playground →


Installation

npm install zyra-ng-ui

Peer dependencies

npm install @fortawesome/angular-fontawesome @fortawesome/fontawesome-svg-core @fortawesome/free-solid-svg-icons

Import styles

In your styles.scss:

@import 'zyra-ng-ui/styles';

Quick Start

import { ZyraButton, ZyraBadge, ZyraCard } from 'zyra-ng-ui';

@Component({
    imports: [ZyraButton, ZyraBadge, ZyraCard],
    template: `
        <zyra-button variant="primary" (clicked)="save()">Save</zyra-button>
        <zyra-badge variant="success" [dot]="true">Online</zyra-badge>
    `,
})
export class AppComponent {}

Components

zyra-button

<zyra-button
    variant="primary"
    size="md"
    [loading]="false"
    [disabled]="false"
    [fullWidth]="false"
    (clicked)="onClick()"
>
    Click me
</zyra-button>

| Input | Type | Default | Description | | ----------- | ------------------------------------------------------------ | --------- | ----------------------- | | variant | primary | secondary | outline | ghost | danger | primary | Visual style | | size | sm | md | lg | md | Button size | | loading | boolean | false | Shows spinner | | disabled | boolean | false | Disables interaction | | fullWidth | boolean | false | Stretches to full width |


zyra-badge

<zyra-badge variant="success" size="md" [dot]="true">Online</zyra-badge>

| Input | Type | Default | Description | | --------- | --------------------------------------------------------------------- | --------- | ---------------- | | variant | success | warning | danger | info | purple | default | default | Color variant | | size | sm | md | lg | md | Badge size | | dot | boolean | false | Shows status dot |


zyra-card

<zyra-card
    variant="default"
    padding="md"
    [hasHeader]="true"
    [hasFooter]="true"
    [clickable]="false"
    (cardClick)="onClick()"
>
    <div slot="header">Header</div>
    Card body content
    <div slot="footer">Footer</div>
</zyra-card>

| Input | Type | Default | Description | | ----------- | ------------------------------------------------ | --------- | -------------------- | | variant | default | elevated | outlined | ghost | default | Card style | | padding | none | sm | md | lg | md | Inner padding | | hasHeader | boolean | false | Enables header slot | | hasFooter | boolean | false | Enables footer slot | | clickable | boolean | false | Adds hover + pointer |


zyra-input

<zyra-input
    label="Email"
    placeholder="[email protected]"
    type="email"
    hint="We'll never share your email"
/>

zyra-spinner

<zyra-spinner size="md" color="accent" />

| Input | Type | Default | Description | | ------- | ---------------------------------------------- | -------- | ------------- | | size | xs | sm | md | lg | md | Spinner size | | color | accent | accent-2 | white | current | accent | Spinner color |


zyra-tooltip

<zyra-tooltip text="Helpful hint" position="top" maxWidth="200px">
    <zyra-button variant="secondary">Hover me</zyra-button>
</zyra-tooltip>

| Input | Type | Default | Description | | ---------- | -------------------------------------- | ------- | ----------------- | | text | string | — | Tooltip content | | position | top | bottom | left | right | top | Tooltip placement | | maxWidth | string | 240px | Max tooltip width |


zyra-avatar

<zyra-avatar name="Arjun Kumar" size="md" variant="teal" [online]="true" />

zyra-toast

import { ZyraToastService } from 'zyra-ng-ui';

export class AppComponent {
    toast = inject(ZyraToastService);

    showToast() {
        this.toast.show({ message: 'Saved!', type: 'success' });
    }
}

Add to your root template:

<zyra-toast-container />

Theming

All design tokens are CSS variables. Override in your global styles:

:root {
    --zyr-accent: #00c9a7;
    --zyr-radius-md: 8px;
    --zyr-font-body: 'Inter', sans-serif;
}

Requirements

  • Angular 17+
  • Node 18+

Links

License

MIT © Rama Jonnada