Reusable Input Components without Livewire, with Livewire

Having reusable input components is great. Knowing how to make them is even better! Follow along to see how we can create a generic TextInput component with a fluent interface that can be reused everywhere with just a few lines of code. While it won’t be a Livewire component, it can still make use of ‘wire:model’ and other Livewire goodies. How is that possible? Read on to find out!

1 Like