hungnm28/livewire-form
Reusable Blade UI components for Laravel + Livewire: forms, buttons, modals, asides, theme toggle, fullscreen, and icons. Built for Tailwind CSS with Alpine.js interactions. Auto-discovered components under the lf:: prefix.
Pros:
wire:model integration).lf prefix, minimizing namespace collisions and making components easy to adopt incrementally.Cons:
primary-* Tailwind utilities, which may not align with existing color schemes without customization.primary-* utilities may clash with existing themes. Risk reduced by customizing published assets or extending Tailwind config.primary-* Tailwind utilities? If not, what’s the effort to customize?Preparation Phase:
tailwind.config.js to include package views:
content: [
'./resources/**/*.blade.php',
'./vendor/hungnm28/livewire-form/resources/views/**/*.blade.php',
],
Installation:
composer require hungnm28/livewire-form
php artisan vendor:publish --tag=livewire-form-config
php artisan vendor:publish --tag=livewire-form-views
php artisan vendor:publish --tag=livewire-form-assets
// resources/js/app.js
import './vendor/livewire-form/app';
Pilot Phase:
primary-* utilities align with the app’s design system or customize as needed.Rollout Phase:
resources/views/vendor/livewire-form/) for theming or extend components via Blade slots.Optimization Phase:
wire:model, validation, and reactivity.tailwind.config.js or published assets.How can I help you explore Laravel packages today?