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

@zellavora/icons

v0.1.2

Published

Enterprise-grade Angular SVG icon ecosystem — signal-first, standalone, SSR-safe, tree-shakeable.

Readme

@zellavora/icons

Enterprise-grade Angular SVG icon ecosystem — signal-first, standalone, SSR-safe, and tree-shakeable to the last byte.

CI Angular Zero runtime deps

@zellavora/icons is not just an icon pack. It is a complete, self-maintaining pipeline: drop an SVG into the master folder and the registry, component bindings, TypeScript types, exports, and metadata regenerate automatically — deterministically, with zero hand-editing.


Highlights

| Principle | How it is delivered | | --- | --- | | Signal-first | Every component input is a signal; all derived state is computed. No RxJS. | | Standalone-first | ZvIconComponent is standalone; icons register via provideZvIcons(...). | | SSR-first | Pure in-memory registry, no HTTP, synchronous render → hydration-safe. | | Tree-shakeable | One named export per icon + "sideEffects": false. You bundle only what you import. | | Zero runtime deps | Only @angular/core and @angular/common peers. | | Self-maintaining | A deterministic scan → validate → optimize → normalize → generate pipeline. |


Installation

npm install @zellavora/icons

Peer requirements: Angular >=22.


Quick start

Register only the icons you use, then render them anywhere:

// main.ts
import { bootstrapApplication } from '@angular/platform-browser';
import { provideZvIcons } from '@zellavora/icons';
import { homeOutline, bellOutline, walletFilled } from '@zellavora/icons/generated';
import { App } from './app/app';

bootstrapApplication(App, {
  providers: [provideZvIcons(homeOutline, bellOutline, walletFilled)],
});
// app.ts
import { Component } from '@angular/core';
import { ZvIconComponent } from '@zellavora/icons';

@Component({
  selector: 'app-root',
  standalone: true,
  imports: [ZvIconComponent],
  template: `
    <zv-icon name="home" />
    <zv-icon name="bell" size="32" color="#0f766e" />
    <zv-icon name="wallet" filled />
    <zv-icon name="arrow-right" [spin]="true" title="Loading" />
  `,
})
export class App {}

Because only homeOutline, bellOutline, and walletFilled are imported, only those three icons are bundled. Nothing else ships.


Component API — <zv-icon>

| Input | Type | Default | Description | | --- | --- | --- | --- | | name (required) | string | — | Registered icon name, e.g. "home". | | variant | ZvIconVariant | 'outline' | outline · filled · rounded · sharp · duotone · brand · flag · emoji · animated. | | size | number \| string | '1em' | Shorthand for width + height. Numbers → px. | | width / height | number \| string | size | Per-axis override. | | color | string | inherit | Drives currentColor. | | strokeWidth | number \| string | 2 | Stroke width for stroke-based variants. | | filled | boolean | false | Shortcut for variant="filled". | | rounded | boolean | false | Shortcut for variant="rounded". | | rotate | number | 0 | Degrees of rotation. | | flip | 'horizontal' \| 'vertical' \| 'both' | — | Mirror the icon. | | spin / pulse | boolean | false | CSS animations (respect prefers-reduced-motion). | | title / ariaLabel | string | — | Promotes the icon to role="img" with a <title>. | | class / style | native | — | Standard host bindings. |

Accessibility by default

  • Decorative (no label): aria-hidden="true", focusable="false".
  • Meaningful (title/ariaLabel set): role="img", aria-label, and an SVG <title>.

Theming

Icons render with currentColor, so a single CSS color themes fill and stroke:

.danger zv-icon { color: #dc2626; }

The pipeline

The master SVG folder is the single source of truth:

icons/<variant>/<category>/<name>.svg

Running the generator executes a deterministic, repeatable pipeline:

scan → validate → optimize (SVGO) → normalize attrs → strip inline styles
     → currentColor → normalize stroke width → metadata → emit TS/registry/types

Every unchanged icon set produces byte-identical output — enforced in CI.

Generated artifacts (@zellavora/icons/generated)

  • icons.ts — one tree-shakeable const per icon (homeOutline, walletFilled, …).
  • icon-name.ts — the ZvIconName string-literal union + ZV_ICON_NAMES.
  • registry.ts — ZV_ICON_REGISTRY (full map; opt-in, for galleries).
  • metadata.ts — ZV_ICON_METADATA (name, category, tags) for search.

CLI

zv-icons generate   # run the full pipeline and write generated TypeScript
zv-icons optimize   # alias for generate (optimization is always applied)
zv-icons watch      # regenerate on any add/change/remove — no restart
zv-icons sync       # alias for generate
zv-icons build      # generate, then hint the ng-packagr build
zv-icons validate   # validate every SVG without writing output
zv-icons preview    # generate a searchable icon browser at docs/preview.html
zv-icons doctor     # diagnose toolchain + icon-set health
zv-icons stats      # counts per variant and category

Equivalent npm scripts: icons:generate, icons:watch, icons:validate, icons:preview, icons:doctor, icons:stats.

icons:generate also emits docs/icon-list.json — a machine-readable metadata index for external gallery/search tooling.


Adding an icon

  1. Drop my-icon.svg into icons/outline/navigation/.
  2. npm run icons:watch (or icons:generate once).
  3. Import myIconOutline from @zellavora/icons/generated and register it.

No component, registry, type, or export edits — ever.


Development

npm ci
npm run icons:generate   # produce generated/lib (gitignored)
npm run lint
npm run typecheck
npm test
npm run build            # ng-packagr → dist/

See docs/ for the SSR guide, signals guide, and contributing.


Releasing

Fully automated via Semantic Versioning:

  1. Bump version in package.json.
  2. Tag vX.Y.Z and push.
  3. release.yml verifies the tag, builds, publishes to npm with provenance, and cuts a GitHub Release with an auto-generated changelog.

License

MIT © Zellavora — see LICENSE.