Live Demo

Click the buttons below to trigger real toasts and see inline banners. Toasts appear top-right, stack, auto-dismiss, and can be closed manually.

Toast Notifications

Each toast auto-dismisses after 4–6 seconds. Hover to pause. Click × to dismiss early.

Inline Banners

Inline banners stay visible until the user dismisses them. Use for errors or confirmations that require the user's attention before continuing.

Permission Denied
You do not have permission to edit this project.
Invitation Sent
Invitation sent to john@example.com.

1. When to Use Each Notification Type

Type Use When Duration
Toast Async action completed — create, update, delete, send 4–5 seconds, auto-dismiss
Inline Banner Form-level error from API or permission error on a page Persistent until dismissed or resolved
Persistent Alert Account-level issue requiring attention Persistent, manual dismiss
Field Error Specific form field validation failure Until the field is corrected
Confirmation Dialog Before a destructive action User must respond

2. Toast Notifications

Types

Type When Color/Icon
SuccessAction completedGreen ✓
ErrorAction failedRed ✕
WarningAction completed with caveatAmber ⚠
InfoNeutral informationBlue ℹ









Toast Content






3. Inline Banners

Displayed inside the page or form — not floating. Used for errors that require the user's attention before they can continue.









4. Persistent Alerts





5. Notification Content Standards







6. What Always Triggers a Notification









7. What Never Triggers a Toast

  • Page load / data fetch — no "Data loaded" success toast
  • Navigation between pages
  • Opening a modal
  • Typing in a form field
  • Client-side validation failure — use inline field errors instead
  • Background sync / auto-save — use subtle Saved indicator, not a toast
  • Hover / focus events
Before Marking Done
Create, update, delete, send/invite, and every API failure must produce clear feedback. No async action should complete silently.