hugeicons-pro-package-usage
Hugeicons Pro Package Usage
Use this skill when the task is about Hugeicons' paid package path, especially registry authentication and style-package selection.
Scope
- Hugeicons Pro private-registry setup and authentication
@hugeicons-pro/core-*style-package selection- installing Pro packages alongside the correct framework wrapper
- mixing free and Pro icons in the same codebase
- CI/CD, token handling, and common install failures
- TypeScript and module-resolution issues for modern ESM packages
Routing cues
- Hugeicons Pro, paid Hugeicons,
@hugeicons-pro/core-stroke-rounded,.npmrc,.yarnrc.yml,bunfig.toml, Universal License Key, private registry,npm.hugeicons.com, 404 from npmjs, unauthorized registry, Vercel private registry auth, mixed free and paid icon imports -> use this skill - public free icon setup, wrapper props, or free-package-only work with
@hugeicons/core-free-icons-> usehugeicons-free-package-usage
Workflow
- Read references/private-registry-and-style-packages.md first.
- Add project-level auth for
@hugeicons-prousing.npmrc,.yarnrc.yml, orbunfig.toml, depending on the package manager. - Install the framework wrapper package if it is not already present.
- Install only the Pro style packages the task actually needs.
- Import icons from their exact style package and render them through the framework wrapper component.
- If the task includes CI or install failures, read references/pro-troubleshooting-and-ci.md.
- If the task is mostly about wrapper props, accessibility, or app-level icon abstractions after install is already solved, use
hugeicons-free-package-usageas the companion skill.
Guardrails
- Pro core packages are private-registry packages. Without auth, installs will fall back to npmjs and fail.
- Pro core packages only contain icon assets. You still need the framework wrapper package such as
@hugeicons/reactor@hugeicons/vue. - Keep the Universal License Key out of version control. Prefer environment-variable substitution or local config for shared projects and CI.
- Install one or a few styles intentionally. Do not pull in every style family by default.
- Use named imports instead of wildcard imports for tree-shaking and smaller bundles.
- If you use the same icon name from multiple style packages, alias the imports explicitly.
- Keep free and Pro imports separate so the source of each icon is obvious.
- If TypeScript cannot resolve Pro packages, move to a modern module-resolution mode such as
bundler,node16, ornodenext. - When registry errors appear, check for the exact scope
@hugeicons-pro, project-level config presence, token freshness, and CI availability of the auth file.
Simple usage example
Project auth:
@hugeicons-pro:registry=https://npm.hugeicons.com/
//npm.hugeicons.com/:_authToken=${NPM_TOKEN}
React Pro usage:
import { HugeiconsIcon } from '@hugeicons/react'
import { SearchIcon } from '@hugeicons-pro/core-stroke-rounded'
export function SearchGlyph() {
return <HugeiconsIcon icon={SearchIcon} size={24} color="currentColor" strokeWidth={1.5} />
}
Swap the wrapper package for the target framework, but keep Pro icon imports in the exact @hugeicons-pro/core-* style package you installed.
Canonical packages
@hugeicons-pro/core-stroke-rounded@hugeicons-pro/core-stroke-sharp@hugeicons-pro/core-stroke-standard@hugeicons-pro/core-solid-rounded@hugeicons-pro/core-solid-sharp@hugeicons-pro/core-solid-standard@hugeicons-pro/core-bulk-rounded@hugeicons-pro/core-duotone-rounded@hugeicons-pro/core-duotone-standard@hugeicons-pro/core-twotone-rounded
Maintenance
- Snapshot date: 2026-03-10
- Public wrapper snapshot used by the Pro docs:
@hugeicons/react@1.1.6,@hugeicons/react-native@1.0.13,@hugeicons/vue@1.0.5,@hugeicons/angular@1.0.7,@hugeicons/svelte@1.1.2 - Pro core snapshot: Hugeicons docs currently route Pro installs through
https://npm.hugeicons.com/and the@hugeicons-pro/core-*style families; package versions were not directly verified because the registry requires customer authentication
References
More from dobroslavradosavljevic/skills
base-ui-typescript-surface
Use for Base UI namespace contracts, change event types, generic render types, and wrapper typing patterns.
4base-ui-basic-primitives
Use for simple primitives with low integration complexity (Avatar, Button, Meter, Progress, Scroll Area, Separator).
4base-ui-root-providers
Use for CSP Provider, Direction Provider, and useDirection when wiring Base UI at the app root or across portals.
4base-ui-menus-navigation-and-toast
Use for Menu, Context Menu, Menubar, Navigation Menu, Toolbar, Toast, and shared command-surface patterns such as detached triggers and menu payloads.
4base-ui-forms-and-validation
Use for Base UI Field/Form primitives, validation flows, form controls, and advanced Number Field, Slider, and RadioGroup behavior.
4base-ui-disclosure-and-tabs
Use for stateful visibility components (Accordion, Collapsible) and tab navigation semantics.
4