blade-ui-kit / blade-ui-kit

A set of renderless components to utilise in your Laravel Blade views.
https://blade-ui-kit.com
MIT License
1.49k stars 92 forks source link

Modal #44

Open marbuser opened 4 years ago

marbuser commented 4 years ago

Would be cool to have alpinejs modal components. Especially since jetstream has some modals like this, and it’s definitely a component I dread making when doing new projects because it’s an inconvenience, so I think it would be perfect for Blade UI Kit. Could also get turbocharged by the end user once Laravel 8 comes out and forwarding attributes from component to component becomes a thing! 😊

driesvints commented 4 years ago

Yeah maybe although I'd think it'd be pretty shallow if it was a renderless component with just an alpine statemanager that would close the modal. Also, modals are pretty opinionated and there could be a hundred different ways on how people would tackle them.

We'd need something pretty concrete before continuing or a PR to get this started.