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

@zcorvus/icons-react

v0.1.7

Published

React components for ZCorvus icons.

Downloads

1,117

Readme

@zcorvus/icons-react

React components for ZCorvus icons.

Browse all available icons at icons.zcorvus.com.

Installation

pnpm add @zcorvus/icons-react

@zcorvus/icons-react installs @zcorvus/icons as a normal dependency. Install @zcorvus/icons directly only when your app also imports raw SVG strings, icon names, or icon types from the core package.

Individual Icons

Use individual icon components for the smallest bundle and best editor autocomplete.

import { MinaCheck, MinaCheckSolid } from '@zcorvus/icons-react';

export function StatusIcon() {
  return (
    <>
      <MinaCheck className="size-4" />
      <MinaCheckSolid size={16} />
    </>
  );
}

The component name format is {Pack}{IconName} for the default light variant and {Pack}{IconName}{Variant} for other variants.

import { CoreSun, NeoSun, MinaSearch, MinaSearchSolid } from '@zcorvus/icons-react';

Direct file imports are also available:

import MinaCheck from '@zcorvus/icons-react/mina-check';

Pack Wrappers

Use pack wrappers when the icon name is dynamic but the pack is known.

import { ZCore, ZMina, ZMinaSolid, ZNeo } from '@zcorvus/icons-react/packs';

export function Icons() {
  return (
    <>
      <ZCore name="sun" />
      <ZNeo name="sun" />
      <ZMina name="search" />
      <ZMinaSolid name="search" />
    </>
  );
}

Pack wrappers load the selected pack/variant dictionary, so individual icon components are still the most optimized option.

Dynamic Icon

Use ZIcon when both the pack and icon name are dynamic.

import { ZIcon } from '@zcorvus/icons-react';

export function DynamicIcon() {
  return <ZIcon type="mina" name="search" variant="solid" />;
}

ZIcon prioritizes ergonomics and can include all supported packs. Prefer individual components or pack wrappers when bundle size is critical.

Custom Dynamic Icons

Use createZIcon when the icon name or pack is dynamic, but you only want to include a controlled subset of icons.

import { createZIcon } from '@zcorvus/icons-react/create';
import {
  CoreAnchor,
  CoreLanguage,
  MinaAnchor,
  MinaAnchorSolid,
  MinaLanguage,
} from '@zcorvus/icons-react';

const AppIcon = createZIcon({
  core: {
    light: {
      anchor: CoreAnchor,
      language: CoreLanguage,
    },
  },
  mina: {
    light: {
      anchor: MinaAnchor,
      language: MinaLanguage,
    },
    solid: {
      anchor: MinaAnchorSolid,
    },
  },
});

export function Example() {
  return <AppIcon type="mina" name="anchor" variant="solid" className="size-4" />;
}

For convenience, generated pack data is available:

import { createZIcon } from '@zcorvus/icons-react/create';
import {
  coreIcons,
  minaIcons,
  minaIconsSolid,
} from '@zcorvus/icons-react/packs-data';

const AppIcon = createZIcon({
  core: {
    light: coreIcons,
  },
  mina: {
    light: minaIcons,
    solid: minaIconsSolid,
  },
});

The exports without a suffix represent the default light variant. Non-default variants add a suffix, matching component names like MinaSearch and MinaSearchSolid.

createZIcon supports controlled fallback behavior:

const AppIcon = createZIcon(registry, {
  defaultVariant: 'light',
  fallbackVariant: 'light',
  fallbackPack: 'core',
  fallbackIcon: CoreAnchor,
  missing: 'warn',
});

missing can be null, warn, or error. By default it is null.

Core Types

Icon name types live in the framework-agnostic core package:

import type { MinaIconName, AllIconNames } from '@zcorvus/icons/types';

Migration

This package replaces the previous React API from @zcorvus/z-icons.

| Old import | New import | | --- | --- | | @zcorvus/z-icons/react/icons | @zcorvus/icons-react | | @zcorvus/z-icons/react/icons/mina-check | @zcorvus/icons-react/mina-check | | @zcorvus/z-icons/react/mina | @zcorvus/icons-react/packs |