reportei/laraground
Just add config in View Component Class
class Button extends Component
{
...
protected $lgDesc = 'Form/Button';
protected $lgView = 'components.form.button';
...
public static function laraground()
{
return [
'attributes' => [
'label' => 'Button',
'type' => 'button',
'color' => 'primary',
'size' => 'md',
],
'slots' => [
'slot' => 'label' // targint label attribute for control binds
],
'model' => '' // wire:model when is input, select or textarea
// see https://laravel-livewire.com/docs/data-binding/
];
}
}
Related Packages
bluestarsystem/aura-ui
Vibrant Depth UI component library for Laravel + Livewire + Alpine.js + Tailwind...
852
5
datalogix/tallkit
A set of components to utilize in your Laravel Blade views using TALL stack.
329
0
leenuxus/jarenui
A Jaren-UI compatible Livewire component library for Laravel — 50+ components, d...
13
0