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

@mal-icons/angular

v0.5.9

Published

Angular standalone components for mal-icons.

Readme

@mal-icons/angular

npm License: MIT

Angular adapter for mal-icons — a high-performance, tree-shakeable icon SDK. Each icon is a pre-generated standalone Angular component that renders SVG through Renderer2 with OnPush change detection.

Highlights

  • Standalone components — import an icon directly, no NgModule needed.
  • OnPush — minimal change-detection overhead.
  • Tree-shakeable — every icon is its own component.
  • Themeable — dependency-injection context (ICON_CONTEXT) with per-icon overrides.
  • Accessible — correct role / aria-hidden and optional <title>.

Installation

bun add @mal-icons/angular
# or
npm install @mal-icons/angular

Requires @angular/core 16 or newer (peer dependency). The package ships TypeScript source, so it compiles in your app's Angular version.

Quick start

Import the standalone component and use its selector in a template:

import { Component } from "@angular/core";
import { FiActivity } from "@mal-icons/angular/fi";

@Component({
  standalone: true,
  selector: "app-status",
  imports: [FiActivity],
  template: `<mal-fi-activity [size]="24" title="Status" />`,
})
export class StatusComponent {}

The selector is the kebab-cased icon name prefixed with mal- (e.g. FiActivity<mal-fi-activity>).

App-wide theming

Provide ICON_CONTEXT to set defaults for all descendant icons; per-icon inputs override them:

import { ICON_CONTEXT } from "@mal-icons/angular";

bootstrapApplication(AppComponent, {
  providers: [
    { provide: ICON_CONTEXT, useValue: { size: 20, color: "#3366ff" } },
  ],
});

Inputs

| Input | Type | Description | | ----------- | ------------------ | ------------------------------------ | | size | number \| string | Width and height (defaults to 1em) | | color | string | Overrides currentColor | | title | string | Accessible label | | className | string | Additional class names |

API

import {
  IconBaseComponent,
  ICON_CONTEXT,
  DefaultIconContext,
  ICON_ANIMATIONS_CSS,
  WEIGHT_STROKE_WIDTH,
  animationClass,
} from "@mal-icons/angular";

Icons

The bundled icon sets, their upstream licenses, pinned versions, and counts:

| Icon Library | License | Version | Count | | ---------------------------------------- | --------------------------------------------------------------------------------- | ------- | ----: | | Circum Icons | MPL-2.0 license | 2.0.2 | 288 | | Feather | MIT license | 4.29.0 | 287 | | Ionicons | MIT license | 8.0.13 | 1357 |

Subpath exports

| Import | Contents | | ---------------------------------- | ------------------------------ | | @mal-icons/angular | Base component and context | | @mal-icons/angular/ci | All Circum icon components | | @mal-icons/angular/ci/CiHeart | A single Circum icon component | | @mal-icons/angular/fi | All Feather icon components | | @mal-icons/angular/fi/FiActivity | A single icon component | | @mal-icons/angular/io | All Ionicons components | | @mal-icons/angular/io/IoHeart | A single Ionicons component |

Example

A Vite + Angular 22 gallery (standalone components, signals, NgComponentOutlet) lives in examples/angular.

Repository

https://github.com/mal-icons/mal-icons · package directory packages/angular.

License

MIT © MALDevs