Toast

Flexible toast component for notifications and feedback.

TailwindCSS
Alpine.js

Usage

1. Add the script to your page/layout:

// Option A: All components (recommended)
@utils.ComponentScripts()

// Option B: Just Toast
@components.ToastScript()

2. Use the component:

@components.Toast(components.ToastProps{})

Examples

Playground