solar-icons/blade
solar-icons/blade provides Laravel Blade components for rendering Solar icon sets, making it easy to drop scalable SVG icons into your views with simple, expressive tags and minimal setup.
<x-solar-*> components or via svg() emitted a duplicate stroke-width attribute. If your product surfaces icons in multiple densities (dense data tables, marketing headers, mobile nav), this removes per-surface CSS hacks and inconsistent icon weight.stroke-width and render at the SVG default when used standalone. Any roadmap item depending on published assets must budget for an explicit stroke-width at the point of use.Adopt (or stay) when:
<x-solar-*> or svg()) and want stroke width controlled centrally via package config rather than per-call overrides.Look elsewhere or proceed carefully when:
stroke-width and will render thinner than intended at the SVG default. Either keep the previous version pinned for the asset pipeline, or add explicit stroke width at the consumption layer.Adoption criteria: pin the version, run a visual regression pass on both component-rendered and published-asset icons, and confirm every standalone SVG consumer sets stroke width explicitly.
For executives: A small, targeted fix from an actively maintained dependency. It removes a class of icon-rendering bugs caused by duplicate stroke-width attributes and centralizes icon weight in configuration — less custom CSS, fewer visual inconsistencies across the product, lower maintenance cost. Cost is a routine version bump plus a short QA pass.
For engineering: Upgrade to 2.0.1. Stroke width is now applied once, from package config, instead of being baked into every file — fixing the duplicate stroke-width you get when overriding weight on a static <x-solar-*> component or via svg(). Caveat: raw SVGs published as assets no longer carry a baked stroke-width; used standalone they fall back to the SVG default. Audit anything that consumes published SVGs outside Blade and set stroke width explicitly there. Add visual regression coverage for both paths before rollout; expect snapshot updates.
How can I help you explore Laravel packages today?