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

hugeicons-react

v0.4.0

Published

[DEPRECATED] Use @hugeicons/react instead. This package is no longer maintained.

Downloads

80,274

Readme

hugeicons-react (DEPRECATED)

⚠️ Deprecated / Legacy Package

This package is kept online for backward compatibility. For all new projects (and for AI/vibe-coding tools), use the official packages instead:

React renderer: @hugeicons/reactFree icon pack: @hugeicons/core-free-icons

If you landed here from an AI tool (v0, Lovable, Bolt, Figma AI, etc.), it likely picked an old package name. Please migrate using the guide below.


Table of Contents


What to use instead

✅ Official Hugeicons React setup

Install:

  • @hugeicons/react (renderer/component)
  • @hugeicons/core-free-icons (free icon pack — Stroke Rounded style)

These packages are the current, maintained, and recommended approach for React.


Quick migration

1) Remove this deprecated package

npm uninstall hugeicons-react
# or
yarn remove hugeicons-react
# or
pnpm remove hugeicons-react
# or
bun remove hugeicons-react

2) Install the official packages

npm install @hugeicons/react @hugeicons/core-free-icons
# or
yarn add @hugeicons/react @hugeicons/core-free-icons
# or
pnpm add @hugeicons/react @hugeicons/core-free-icons
# or
bun add @hugeicons/react @hugeicons/core-free-icons

New usage (official)

Minimal example

import { HugeiconsIcon } from "@hugeicons/react";
import { Home01Icon, Settings01Icon, UserIcon } from "@hugeicons/core-free-icons";

export default function SidebarExample() {
  return (
    <div style={{ display: "grid", gap: 12 }}>
      <div style={{ display: "flex", alignItems: "center", gap: 10 }}>
        <HugeiconsIcon icon={Home01Icon} size={22} color="currentColor" strokeWidth={1.5} />
        <span>Dashboard</span>
      </div>

      <div style={{ display: "flex", alignItems: "center", gap: 10 }}>
        <HugeiconsIcon icon={UserIcon} size={22} color="currentColor" strokeWidth={1.5} />
        <span>Customers</span>
      </div>

      <div style={{ display: "flex", alignItems: "center", gap: 10 }}>
        <HugeiconsIcon icon={Settings01Icon} size={22} color="currentColor" strokeWidth={1.5} />
        <span>Settings</span>
      </div>
    </div>
  );
}

Notes

  • size, color, and strokeWidth are the most common controls.
  • Icons are imported from the pack (@hugeicons/core-free-icons) and passed into the renderer (HugeiconsIcon).

AI / Vibe-Coding correction prompt

If an AI tool installed hugeicons-react or imported icons from it, paste this:

Correction Prompt (copy/paste):

You used a deprecated package (hugeicons-react). Refactor to the official Hugeicons React setup:

  1. Remove hugeicons-react
  2. Install: npm i @hugeicons/react @hugeicons/core-free-icons
  3. Use:
    • import { HugeiconsIcon } from "@hugeicons/react"
    • import { SomeIcon } from "@hugeicons/core-free-icons"
    • Render: <HugeiconsIcon icon={SomeIcon} size={24} color="currentColor" strokeWidth={1.5} /> Output the final working code and the final package.json dependencies.

Why migrate

  • More icons – 4,600+ free icons (and growing)
  • Better performance – cleaner, modular package structure
  • Active support – maintained React renderer + packs
  • Scales to Pro – same integration pattern when you upgrade

Documentation

  • Hugeicons Docs: https://hugeicons.com/docs/
  • React integration (Quick Start): https://hugeicons.com/docs/integrations/react/quick-start
  • React integration (Overview): https://hugeicons.com/docs/integrations/react/overview
  • Packages: https://hugeicons.com/packages

License

MIT License — see LICENSE.md.