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

@prival-odc/azure-colored-icons

v1.0.1

Published

Azure SVG color icons packaged for NPM (SVG assets + <azure-icon> web component).

Downloads

77

Readme

@prival-odc/azure-colored-icons

This package ships colored Azure SVG icons as raw .svg files and provides a tiny framework-agnostic Web Component: <azure-icon>.

Install

npm install @prival-odc/azure-colored-icons

Use raw SVG files (assets)

You can reference icons by path via package exports:

import { getIconUrl } from "@prival-odc/azure-colored-icons";

const url = getIconUrl("networking/virtual-networks");
document.querySelector("img").src = url;

Or import a specific icon path (bundler-dependent):

import iconUrl from "@prival-odc/azure-colored-icons/icons/networking/virtual-networks.svg";

Use Web Component

<script type="module">
  import "@prival-odc/azure-colored-icons/web-component";
</script>

<azure-icon name="networking/virtual-networks" size="32" aria-label="Virtual Networks"></azure-icon>

Attributes

  • name: "category/icon-name" (recommended)
  • src: direct URL to an SVG (overrides name if set)
  • size: number (pixels) or CSS size ("24px", "1.5rem", etc.)
  • title: tooltip + fallback alt text
  • aria-label: sets alt for accessibility

List available icons

import { listIcons } from "@prival-odc/azure-colored-icons";
console.log(listIcons()); // ["networking/virtual-networks", ...]

Notes about licensing

These SVGs originate from Microsoft Azure icon sets. Make sure your intended use (especially redistribution) complies with Microsoft licensing/trademark terms. This package was generated from an uploaded icon archive; no license file was included here.

Use (CSS classes)

Import the stylesheet (choose one):

<!-- readable -->
<link rel="stylesheet" href="node_modules/@prival-odc/azure-colored-icons/dist/azure-icons.css">
<!-- or minified -->
<link rel="stylesheet" href="node_modules/@prival-odc/azure-colored-icons/dist/azure-icons.min.css">

Then use icon classes:

<i class="az az-networking-virtual-networks" aria-hidden="true"></i>

CSS Variables (theme / dark mode)

  • --az-size controls width/height (default: 1em)
  • --az-filter lets you apply a CSS filter (default: none)

Example (dark mode):

:root { --az-size: 24px; }

@media (prefers-color-scheme: dark) {
  :root {
    /* Optional: if you want to tweak brightness/contrast in dark mode */
    --az-filter: brightness(1.1) contrast(1.05);
  }
}

You can also use size utility classes:

<i class="az az-networking-virtual-networks az-s-32"></i>

Enterprise notes

  • The package uses explicit exports, so you can import:
    • @prival-odc/azure-colored-icons/styles.css
    • @prival-odc/azure-colored-icons/styles.min.css
  • Icons are referenced with relative URLs (./icons/...) so they work when the dist/ folder is served as-is.