Experimental #
Our styling/component documentations are experimental and under development. These could change any time without even notice. So, please be careful before you using it.
Error Alert #
Code:
<x-alerts.error :message="Something went wrong, Please try again later !" />
Preview:

Errors Alert – Multiple Error #
Code:
@if ($errors->any())
<x-alerts.errors :errors="$errors" />
@endif
Preview:

External Documents #
We follows Penguion UI’s Alert component. Which is just a styling component using Alpine JS.
Conclusion #
This articles covers how to add / show a simple beautiful alert message in your laravel blade view file. Its super easy using <x-alerts.[type] :message=”” />
You can find the above codes in the resources/view/components/alerts folder if you want to see.