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

@mihcm/icons

v0.1.4

Published

Universal Lucide icon wrapper. Same import works in React, Next.js, and React Native.

Readme

@mihcm/icons

Universal Lucide icon exports for MiHCM applications.

The same import path works in React, Next.js, and React Native. Platform resolution selects the correct Lucide implementation.

Current release

Current published version: 0.1.3.

Currently aligned with the @mihcm/[email protected] release train on public npm. Remains the approved icon import surface for web and native components.

Install

pnpm add @mihcm/icons

Install the platform peer you use:

pnpm add lucide-react
# or for native
pnpm add lucide-react-native

Usage

import { Search, Settings, Bell } from '@mihcm/icons';
import { Button } from '@mihcm/ui/Button';

export function Toolbar() {
  return (
    <Button variant="outline" leadingIcon={<Search className="size-4" />}>
      Search
    </Button>
  );
}

Icon-only buttons must provide an accessible name:

import { IconButton } from '@mihcm/ui/Button';
import { Settings } from '@mihcm/icons';

<IconButton aria-label="Open settings">
  <Settings className="size-4" />
</IconButton>;

What is included

  • Named Lucide exports for web.
  • Native-compatible exports through the package react-native condition.
  • A single icon import surface for component docs, Storybook, MCP examples, and consuming applications.

Recent additions and fixes

  • Documentation examples now prefer icon-bearing buttons and icon-only controls where the component pattern calls for them.
  • TopBar, MainSidebar, TransferList, Breadcrumb, Button, Popper, and menu examples use icons through this package instead of inline SVG.

Icon rules

  • Use icons from this package before adding custom SVG.
  • Keep decorative icons aria-hidden.
  • Provide aria-label or visible text for icon-only interactive controls.
  • Use tokenized size classes such as size-4, size-5, or component-provided icon slots.
  • Do not hardcode icon colors unless the component docs explicitly call for a semantic token class.

Maintainer checklist

When updating icon support:

  1. Keep web/native export parity.
  2. Verify package exports still resolve for both bundlers.
  3. Update docs examples that mention new icon patterns.
  4. Add a changeset before publishing.

Build

cd src
pnpm -F @mihcm/icons build
pnpm -F @mihcm/icons typecheck