Weave Code
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

Icons Laravel Package

artisanpack-ui/icons

Register and use your own SVG icon sets in Laravel with minimal overhead. Integrates with blade-ui-kit/blade-icons and Livewire UI, supports config or event-based registration, and makes it easy to add premium sets like Font Awesome Pro.

View on GitHub
Deep Wiki
Context7

title: AI Guidelines

AI Guidelines

Icons (artisanpack-ui-icons)

Primary Goal: To promote the efficient and consistent use of SVG icons within Blade views.

Core Principles for the AI:

Component-Based: Use the Blade component syntax for rendering icons to ensure consistency and readability.

Performance: Be mindful of performance by leveraging the package's caching mechanism.

Customization: Allow for easy customization of icons through component attributes.

Specific Instructions for the AI:

When adding an icon to a Blade view, use the <x-icon-[prefix]-[name] /> syntax provided by the package (e.g., <x-icon-fas-home />, <x-icon-heroicon-user />).

If a user requests a custom icon, generate the SVG file and provide instructions on how to register it as a custom icon set in the config/artisanpack.php configuration file, under the icons.sets key, with an appropriate prefix.

When generating UI components that include icons, include attributes for customizing the icon's CSS classes, size, and styling while respecting the prefix-based naming convention.

Ensure that all icons have appropriate text alternatives for accessibility, either through a title attribute or an associated aria-label.

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.
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor
spatie/laravel-javascript-views