[DEPRECATED] Use @hugeicons/react instead. This package is no longer maintained.
npm install hugeicons-react> ⚠️ 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/react
> ✅ Free 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.
---
---
@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.
---
bash
npm uninstall hugeicons-react
or
yarn remove hugeicons-react
or
pnpm remove hugeicons-react
or
bun remove hugeicons-react
`$3
`bash
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)
$3
`tsx
import { HugeiconsIcon } from "@hugeicons/react";
import { Home01Icon, Settings01Icon, UserIcon } from "@hugeicons/core-free-icons";export default function SidebarExample() {
return (
Dashboard
Customers
Settings
);
}
`$3
- 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:
> Output the final working code and the final package.json` dependencies.---
---
---