Toasts
Non-intrusive notification messages that auto-dismiss after a few seconds
Trigger Different Toast Types
Static Toast Previews
Model training completed with 97.1% accuracy!
Connection to GPT-4 endpoint failed — retrying.
API rate limit 85% reached. Consider upgrading.
AI weekly report is ready to view and download.
API key copied to clipboard successfully.
Implementation
showToast(type, message, icon, duration)
// Types: success | error | warning | info
showToast('success', 'Saved!', 'circle-check');
showToast('error', 'Failed!', 'x');
showToast('info', 'Loading', 'loader', 8000);