{{-- Toast Container Component ------------------------- A global toast notification system. Place once in your layout (before ). Usage in layout: Trigger from anywhere: $dispatch('toast', { type: 'success', message: 'Contact saved!', duration: 5000 }) $this->dispatch('toast', type: 'error', message: 'Something went wrong.'); session()->flash('success', 'Saved!'); Props on the event: type - success | error | warning | info (default: "info") message - Toast text (required) duration - Auto-dismiss in ms, 0 = sticky (default: 5000) --}}