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.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle