Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Hugeicons Flux Laravel Package

abduns/hugeicons-flux

Use any Hugeicons icon as a native Flux UI component, with 5,100+ free Stroke Rounded icons bundled and Pro styles generatable from your own licence via abduns/hugeicons-flux.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Icon-system consolidation within Flux UI. If Flux 2 is already the committed design system, this package removes the "which icon set, and how do we wire it" decision entirely: <flux:icon.hugeicons.home-01 /> is just another Flux icon, so sizing, colour, and the icon prop on <flux:button> / <flux:navlist.item> work with no new API to teach anyone. That is a design-consistency win with near-zero adoption cost.
  • A free-tier "yes" with a deferred Pro decision. 5,100+ Stroke Rounded icons ship in vendor/ with a single composer require — no Node, no key, no committed files, no CI change. We can ship the whole product surface on the free set and treat Pro styles as a later, reversible upgrade rather than an upfront procurement ask. The variant prop's graceful fallback to stroke-rounded is what makes that deferral safe: a design asking for solid-rounded today still renders something reasonable instead of breaking a page.
  • Design-system coverage as a feature decision. Icon breadth (5,100+ free, nine Pro styles) is enough to cover empty states, nav, dense data tables, and marketing surfaces without a second icon dependency. That collapses "do we need a second icon library for the gaps?" into a no, which is a real reduction in long-term surface area.
  • Roadmap sequencing for branded/themed work. If the roadmap includes a visual refresh, density work, or a solid/duotone icon language, the Pro generator is the mechanism that delivers it — php artisan hugeicons:build {name} writes a Blade file into our own resources/views/flux path, which Flux resolves before the package. That is a per-icon, committed, reviewable artefact, so icon changes ride our normal PR process instead of a vendor upgrade.
  • Build-vs-buy. Building this ourselves means replicating Flux's component namespace registration plus an icon generator — days of work and an ongoing maintenance tail. Buying is a composer require. The only defensible "build" argument is if we need an icon set Flux doesn't have, which is not this package's problem.
  • Agent-assisted development throughput. The bundled Laravel Boost / Claude Code skill encodes the operational rules (never run a bare hugeicons:build — it dumps ~6,100 files into the repo; resolve names by grepping the vendor directory rather than guessing). That is a genuine onboarding shortcut for AI-assisted work and reduces the single most likely self-inflicted incident with this package.
  • Explicitly not supported: framework- or vendor-independence. This package has zero surface area without Flux UI 2. It is a dependent decision, not an independent one — worth naming plainly so it doesn't get logged as a standalone win.

When to Consider This Package

Consider it when all of the following hold:

  • Flux UI 2 is a committed, funded decision — already in production or firmly on the roadmap. Without it, this package does nothing.
  • The team is standardising on a single icon vocabulary and wants it to travel through Flux's existing icon prop contracts rather than a parallel helper.
  • Free Stroke Rounded coverage (5,100+ icons) is sufficient for v1 of the surface being built. For most internal tools and SaaS UIs, it is.
  • Someone on the team will own the icon naming convention. Icon names are kebab-case derivations of Hugeicons identifiers with no compile-time validation — a typo is a render-time resolution failure, and a missing Pro style fails silently back to stroke-rounded. Silent fallback is reversible but can hide an incomplete production build, so it needs a reviewer, not just a convention.

Look elsewhere — or hold — when any of the following is true:

  • Flux UI 2 is not decided. This is the whole gate. Do not let an icon package become the reason a design system gets chosen.
  • Legal cannot clear the licence. The repository's licence field reads NOASSERTION while the README and LICENSE.md claim MIT, and the package bundles a third-party icon set under that claim. Both need resolution before legal review, not during it. Bundled third-party assets under an ambiguous licence is a stop sign, not a caveat.
  • Vendor risk tolerance is low. 0 stars, 0 dependents, a single maintainer, and future-dated release metadata. We would be the first real dependent — unvalidated by any market adoption. For a critical-path, multi-year product, that concentration deserves a named owner and an exit plan.
  • Pro styles are needed at launch and the pipeline can't carry a new secret. The Pro path is a materially different integration: Node/npm in the build environment, an .npmrc pinning @hugeicons-pro to a private registry, the licence key present at npm install time, and committed generated files. That is a deliberate PHP↔JS toolchain coupling plus a new secret in CI. The README's per-OS shell-profile exports and .env grep guidance assumes no secret manager — fine for a small team, a finding in an audited environment.
  • You need guaranteed, deterministic icon output. Silent fallback and render-time name resolution are ergonomic, not rigorous. If icon fidelity is a brand or accessibility requirement, budget for a verification step or a different approach.
  • PHP/Laravel version constraints are tight. README says PHP 8.2+; the v1.0.5 changelog says 8.2 was dropped and CI references Laravel 13. Treat composer.json as authoritative and verify against our actual matrix before committing — do not plan off the README compatibility table.

Open questions to close before adoption: Who owns the Hugeicons Pro licence (company vs. individual) and how does the key reach CI and developer machines? What is the actual licence of this package and of the bundled free set after legal review? Who reviews committed resources/views/flux/icon/hugeicons/*.blade.php files? And what is our fallback if the maintainer stops shipping?

How to Pitch It (Stakeholders)

For executives — one paragraph: This is a small, cheap adapter that lets our interface use a large, professionally drawn icon library through the UI framework we already have. The free tier covers over five thousand icons and requires a single install line — no new tooling, no new secrets, no committed files, no change to our build pipeline. It reduces cost and complexity by replacing what would otherwise be a bespoke integration or a second icon dependency. The one thing to understand is that it is only useful if we are already committed to Flux UI as our design system — it amplifies that decision, it does not create it. There is also a paid upgrade path for additional icon styles that we can defer until design actually asks for it.

For engineering — the shape of the decision: Free tier is genuinely near-zero friction: composer require, and 5,100+ Stroke Rounded icons render straight from vendor/. A deferred service provider registers them into Flux's own component namespace under a hugeicons prefix, so they resolve through the same path Flux already uses and inherit sizing, colour, and the icon prop contract for free. No parallel API, no wrapper to teach.

Pro styles are the real integration and should be an explicit decision, not an incidental one. That path adds Node/npm to the build environment, an .npmrc pointing @hugeicons-pro at a private registry with a ${HUGEICONS_PRO_LICENSE_KEY} placeholder, the key available at npm install time, and per-icon php artisan hugeicons:build {name} which emits Blade files into our own resources/views/flux path where Flux resolves them ahead of the package. Those generated files are ours — we review and commit them, which is exactly the property we want.

Two operational hazards to encode in the runbook: never run hugeicons:build with no arguments (it dumps ~6,100 files into the repo — the bundled agent skill already documents this), and remember that an uninstalled variant falls back to stroke-rounded silently rather than erroring, so a green build does not prove the Pro set is present.

Recommendation: Adopt on the free tier now, contingent on Flux UI being a settled decision, and treat Pro as a separate, later go/no-go gated on two things: legal clearing the licence ambiguity (NOASSERTION vs. MIT, plus the bundled third-party icon set) and a defined owner for the licence key in CI. Ask for a one-page decision record naming us as first dependent, with an exit plan — swapping back to Flux's native icon set is a find-and-replace on component names, so the risk is bounded and reversible.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk